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
- Inspector scroll area stretches when using components with nested serialized arrays on FBX model prefab instances
- Crash on ConstraintProjectionTree::projectionTreeBuildStep when ConfigurableJoint uses JointProjectionMode.PositionAndRotation and connected Rigidbody switches from kinematic to non-kinematic
- ScriptableObject asset is accessed during the lookup of Build Profiles when opening the Build Profiles Window
- [Multiplayer TPS Sample] Grenade launcher explosion misses the Player when the Collider count exceeds HitColliderBuffer
- OS Notification Documentation is missing when following hyperlink in Notifications Settings in Hub
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