Unity 5 Cloth crash all time

Hi, i use Unity 5 cloth for animate 2 simple flags but the console show hundreds of red messages like this:
[Physics.PhysX] Call to PxCloth::setExternalAcceleration() not allowed while simulation is running.
[Physics.PhysX] Call to PxCloth::getWorldBounds() not allowed while simulation is running.
and then in few seconds Unity crash, i try with many versions and beta versions but the problem remains, i not found information about this problem, thanks for your help.

1 Like

with unity 5.6 beta i have this problem too

1 Like

Yeah I’ve got this too on the 5.6 beta, I’m building for iOS.

possibly is a error only in the 5.6 beta, I cant use now the 5.5 version because i am using the new HDR cam effect, I hope that in the 5.6 final version the problem will be solved but is worrying that this and other problem like de bad update of the motion vectors in moving objetcs looks that have low priority to fix by Unity.

Hi, in the Unity beta 5.6.0f1 published yesterday (i not understand the letter F in the beta version, looks like a RC or final version) the problem (in my case) is complety solved, thanks.

I’ll test it. Thanks

If i compile it doesn’t work… it crashes the game :frowning:

still throws Call to PxCloth::setExternalAcceleration() not allowed while simulation is running on 5.6 release.

When I try to destroy gameobject wit cloth component (or if any of its children contains cloth component) it leads to crash.
It happens all the time. Even if I create a new project and add there empty object with cloth component and try to destroy it in script.
Absolutely unusable. Shame on you, Unity Team.

Unity 5.6
I had to roll back to 5.5.2

I made a bug report hope it will be fixed.

in my case in the 5.6f02 (beta) “PxCloth::setExternalAcceleration() not allowed” problem dissapear but when a cloth have more than 30 the value in Solver Frecuency the game crash, in 5.6f03 (final) all problems dissapear in my game, when i know that some problems have relation with prefabs i use cloth objects duplicated and not use more prefabs for this.

2 Likes

Confirmed: setting the resolver frequency below 30 fixed it for me as well. (this was in 5.6.0f3)

1 Like

With 5.6.0f3 i have the similar problem, the editor just stuck when clicking play.

To sum up:

5.4 → 5.5 : Cloth can no longer be scaled.
5.5 → 5.6 : Cloth crashes.

I see improvement here!

1 Like

Yeah I can confirm this aswell. You can’t have more than one object with cloth without several crashes, also, using the solver below 30 does not make much sense since the simlation is very strange and buggy (at least on my end)
Well, anyone knows if there is hope? I’m obsessed =[

This was reported in the beta, and is still as issue as of 5.6.0p1. Is this on the radar for Unity?

I’m still using Unity version 5.5.1f1, the exact issue is happening to me as well. Could this crash have been in the program this whole time? Kind of frustrating… and I’d like to actually use Cloths. Would a fix be rolled back to 5.5 as well?

Sadly in last version 5.6f3 p02 the problem appear again in my project, i am uninstalling this version and installing a old 5.6 version, is really annoying that after many versions this problem continue, and now i have a new problem with the cloth modifier, cloth constrains editor fail and is impossible edit this, constrains points appear and dissapear all time, possibly i need reinstall v5.5 to edit constrains, the Cloth system of Unity make me waste hours and hours that i might use in other things.

3049372--228762--image.png

I’m using version 5.6.0f3 and I can no longer play my game (In-editor) without crashing right after I stop. If I don’t stop, the PC freezes because this the editor creates around 10k errors in seconds.

Should I downgrade to another version?

Have the same problem and I have submited at least three bug reports to unity. Can unity technologies give us a reply on when will you fix the bug. The 5.6.0p3 still have the problem. In what version this bug will be fixed?

Unity Team doesn’t look interested …