Search Issue Tracker

Fixed in 2017.1.X

Votes

0

Found in

5.6.0b6

Issue ID

884544

Regression

Yes

[Android] Particle system causes assert or crash

Shuriken

-

To reproduce:
1. Open attached project
2. Open john.scene
3. Notice the particle systems in the scene.
4. Build & run for android
5. Notice that the app crashes. It happens due to an assert (!ps.usesInitialVelocity)

However, after removing the assert, I get another crash:

02-24 14:03:55.755: D/Unity(29972): #00 DumpCallstackConsole(char const*, char const*, int)
02-24 14:03:55.755: D/Unity(29972): #01 ParticleSystemFloatArray::store(unsigned int, float __vector(4) const&)
02-24 14:03:55.755: D/Unity(29972): #02 ParticleSystem::UpdateProcedural(ParticleSystemUpdateData&, ParticleSystemParticles&)
02-24 14:03:55.755: D/Unity(29972): #03 ParticleSystem::Update1b(ParticleSystemUpdateData&, float, ParticleSystem::UpdateFlags, int)
02-24 14:03:55.755: D/Unity(29972): #04 ParticleSystem::Update(ParticleSystem&, float, ParticleSystem::UpdateFlags, int)
02-24 14:03:55.755: D/Unity(29972): #05 ParticleSystem::Simulate(float, ParticleSystem::SimulateFlags)
02-24 14:03:55.755: D/Unity(29972): #06 ParticleSystem::Play(bool)
02-24 14:03:55.755: D/Unity(29972): #07 ParticleSystem::AwakeFromLoad(AwakeFromLoadMode)
02-24 14:03:55.755: D/Unity(29972): #08 AwakeFromLoadQueue::InvokePersistentManagerAwake(AwakeFromLoadQueue::Item*, unsigned int, AwakeFromLoadMode)
02-24 14:03:55.755: D/Unity(29972): #09 AwakeFromLoadQueue::PersistentManagerAwakeFromLoad()
02-24 14:03:55.755: D/Unity(29972): #10 LoadSceneOperation::CompleteAwakeSequence()
02-24 14:03:55.755: D/Unity(29972): #11 LoadSceneOperation::PlayerLoadSceneFromThread()
02-24 14:03:55.755: D/Unity(29972): #12 LoadSceneOperation::IntegrateMainThread()
02-24 14:03:55.755: D/Unity(29972): #13 PreloadManager::UpdatePreloadingSingleStep(PreloadManager::UpdatePreloadingFlags, int)
02-24 14:03:55.755: D/Unity(29972): #14 PreloadManager::WaitForAllAsyncOperationsToComplete()
02-24 14:03:55.755: D/Unity(29972): #15 UnityPlayerLoop()
02-24 14:03:55.755: D/Unity(29972): #16 nativeRender(_JNIEnv*, _jobject*)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.