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
- CSS is not applied when using USS type selector "GridBackground"
- Player .exe remains open as a background task after closing it when Active Input Handling is set to "Input System Package (New)"
- Exception block is being rewritten to throw an incorrect number of exceptions when running a project built using IL2CPP Scripting Backend
- [Android] [Vulkan] Warning "AndroidPlayer "<device>" VULKAN: GENERAL WARNING: The following warning was triggered: VKDBGUTILWARN003." spammed every frame when the application is actively running on a device
- Skinning Editor missing tooltips
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