Search Issue Tracker
Fixed
Fixed in 2021.3.X, 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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment