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
Comments (1)
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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
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