Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Virtual Reality VR in Unity VR Setup HTC Vive Setup

PxCloth::setExternalAcceleration() not allowed

When I hit play in Unity, Unity freezes and I get the following error (2x) in the console:

[Physics.PhysX] Call to PxCloth::setExternalAcceleration() not allowed while simulation is running.

I'm running this on an HTC Vive which runs games successfully. Odd behavior: it consistently happens on a cold start (~4x fails) - when I open SteamVR and then hit play it fails every time. However, when I already had SteamVR open and try, it worked (1x success).

I'm using Unity version 5.6.0f3 Personal - I found a thread suggesting there's a problem with 5.6:

https://forum.unity3d.com/threads/unity-5-cloth-crash-all-time.455395/

I'll see if I can't use 5.5.

3 Answers

Downgrading from version 5.6 to 5.5 of Unity seems to have done it.

Alec Justice
Alec Justice
14,089 Points

Running into the same issue even after Unity's recent patch that was supposed to fix it. Installing 5.5 this afternoon to try it out.