Search Issue Tracker
Fixed
Fixed in 2021.3.22f1
Votes
0
Found in
2021.3.14f1
Issue ID
UUM-21093
Regression
No
Unity crashes on: "VFXParticleSystem::ResetEventCountCommand(VFXSystem const*, void*)" when playing a VisualEffect component inside a VisualEffect Event callback
Reproduction steps:
1. Open the attached “VFXCrash.zip“ project
2. Open “SampleScene” scene
3. Enter Play Mode and wait for a few seconds
Expected result: Nothing of note happens
Actual result: Unity crashes
Reproducible with: 2021.3.14f1, 2022.1.8f1
Not reproducible with: 2022.1.9f1, 2022.1.23f1, 2022.2.0b16, 2023.1.0a20
Could not test with: 2020.3.42f1 (Error CS1061: 'Dictionary<string, GameObject>' does not contain a definition for 'EnsureCapacity')
Reproduced on: macOS Monterey 12.6 (Intel)
Note: Not reproducible in Build
First few lines from the stack trace:
#0 0x00000104e5da60 in VFXParticleSystem::ResetEventCountCommand(VFXSystem const*, void*)
#1 0x00000104e08a88 in VFXManager::ProcessCommandList(VFXFrameData&)
#2 0x00000104e08f33 in VFXManager::Update()
#3 0x00000104e04f54 in VFXManager::InitializeClass()::PostLateUpdateVFXUpdateRegistrator::Forward()
#4 0x00000104191b0d in ExecutePlayerLoop(NativePlayerLoopSystem*)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Objects are trying to be loaded during a domain backup." errors on entering Playmode
- Transform Node does not have outputs when it is created
- Changing the Default Icon does not change the executable's icon when re-building the project
- Texture is stored upside down when using Blit
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
Add comment