|
"UpdateParticle system should not happen on disabled GO" error message spams every frame from the moment I run my game. Even when I am in the menu. No particle systems are instantiated or have ever been. I have particle systems attached to non-instantiated prefabs. These particle systems function perfectly, there is no effect on any game behaviour I can see. But having an error every frame is bad so how can I make it go away?
(comments are locked)
|
|
This message occurs when you edit a Shuriken particle system in the particle editor ( clicking Open Editor... in the inspector ) and then click the Simulate toolbar button. If you start getting spammed with this message, you can click on the message in the console and find out which particle system it is, open it back up in the particle editor, and click Stop. Alternatively you can restart Unity :) This is the right answer, and incredibly simple. Thanks MrScary!
Apr 16 at 07:10 AM
the_greenlig
(comments are locked)
|
|
Looks like someone else on the Unity forums reported a similar issue a few months ago. Not sure if their solution will work for you, but it might be useful.
Possibly an important detail: if the prefabs aren't in your scene, how do you know the particle systems function perfectly? those statements were all about the starting game state, which is when the error starts spamming. Later as the game progresses they are used (explosions for destroyed units). Instantiating those objects and destroying them after the effect completes has no effect on the error, which just spams away happily regardless. Luckily though it has stopped happening now. Must have been one of those weird intermittent unity issues that go away when you restart.
Apr 11 '12 at 01:11 AM
Dunkhan
Same Problem ? Please help
Dec 28 '12 at 10:21 AM
anilgautam
(comments are locked)
|
|
This happened to me recently and this is how I solved it: This error occured when I try to Play a particle system attached to one of my objects. I had the particle system prefabed since I wanted to use it somewhere else as well. In a hurry I accidently dragged the prefab to the inspector rather than dragging the particle system I attached to the object(both had the same name). So I think this problem occurs when you have already a particle system attached to the object and you try to play the prefab one. So I simply removed the prefab one and dragged the particle system I had on my object to the inspector to solve the problem. I think I explained it a bit bad but hope it helps you :) Excuse me, but can you please explain it again? :D
May 30 '12 at 09:28 AM
brain56
(comments are locked)
|
|
I had this same problem after I clicked on a prefab of a particle system in the Project section in unity, and created a script, then dragged that script onto the prefab. It's as if somehow doing that confused Unity into thinking that that script should be run even if the prefab hasn't been instantiated - hence the error. My guess is that clicking on the prefab and creating the script from there (there by creating it as a sort of static component of the prefab?) is what caused the problem. I tried removing the script component from the prefab, but that didn't fix the problem! Here's what I did to fix it (it may be much more than necessary):
Problem gone, prefab works, etc. For me, as I said, removing the script from the prefab didn't fix it. I had to delete the script, sync, clean and rebuild. Once the problem was gone, I was able to add the script back in and use the Component menu, rather than dragging the script, to add it to the prefab. I was able to resolve this by following some of Shavais' steps:
this worked for, and was pretty quick to do.
Oct 27 '12 at 06:29 PM
Nels83
(comments are locked)
|
