- Home /
CRASH on Random Gradient Particle System on iOS
I just tried loading a build of my game onto my iPhone and it crashed on the menu screen. While looking through Xcode's crash messages, I noticed that it was crashing on "EvaluateRandomGradient", so I took out the one particle game object that used random gradients and voila, it stopped crashing. Then, to make sure it wasn't an isolated issue, I tried creating another particle with random gradient, in another part of my game, and after loading the build on my phone, the game crashed when that particle's game object was set to activate as well.
This crash does not occur while testing in engine when set for iOS platform, and the only thing I could possibly fathom that's new since the original particle worked on my phone was that I upgraded to Unity 4.6.2 from 4.6.1. Is there anything that changed in the engine that could have caused this crash that I can adjust for? Is this perhaps just a bug in Unity?
Thanks!
Answer by Robert-Castle · Feb 20, 2015 at 10:31 AM
I have also just run into this issue.
It appears to be a bug in 4.6.2. Downgrading to 4.6.1 or upgrading to 4.6.3 solves it.