Search Issue Tracker
Fixed in 5.5.2
Votes
0
Found in
5.5.0f3
Issue ID
862897
Regression
Yes
Unity crashes when trying to use ParticleSystem.Emit() when not in play mode at ParticleSystemParticles::CopyFromArrayAOS
Steps to reproduce:
1. Open the attached project (NastenkaLWP.zip)
2. Open the Assets/Assets/Scenes/Main.unity scene
3. Select "Heart Particle System" object in the Hierarchy
4. Observe the crash
Expected result: Editor should not crash
Actual result: Editor crashes
Note:
HeartParticleSpawner.cs:35 - > ParticleSystem.Emit(emitParams, 1); causes the crash
Script executes in edit mode
Reproduced with: 5.5.0a5, 5.5.0f3, 5.5.0p3, 5.6.0b2
Not reproduced with: 5.3.7p3, 5.4.3p4, 5.5.0a4
Regression introduced in 5.5.0a5
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
wanglidong
Jan 04, 2017 08:44
8 com.unity3d.UnityEditor5.x 0x0000000101cbffcc ParticleSystem::Emit(ParticleSystem&, SubEmitterEmitCommand const&) + 1052
9 com.unity3d.UnityEditor5.x 0x0000000101cc10a6 ParticleSystem::PlaybackSubEmitterCommandBuffer(ParticleSystem const&, ParticleSystemState&, bool) + 278
10 com.unity3d.UnityEditor5.x 0x0000000101cbdc53 ParticleSystem::Update2(ParticleSystem&, ParticleSystemReadOnlyState const&, ParticleSystemState&, ParticleSystem::UpdateFlags) + 147
11 com.unity3d.UnityEditor5.x 0x0000000101cbdb16 ParticleSystem::SyncJobs(bool) + 166
12 com.unity3d.UnityEditor5.x 0x0000000101cbd986 ParticleSystem::Deactivate(DeactivateOperation) + 22
13 com.unity3d.UnityEditor5.x 0x00000001015f6281 GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&) + 1009
14 com.unity3d.UnityEditor5.x 0x00000001015f6089 GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&) + 505
15 com.unity3d.UnityEditor5.x 0x00000001015f6089 GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&) + 505
16 com.unity3d.UnityEditor5.x 0x00000001015f70a1 GameObject::Deactivate(DeactivateOperation) + 129