Search Issue Tracker
Active
Under Consideration for 6000.6.X
Votes
0
Found in
6000.5.0a8
6000.6.0a1
Issue ID
UUM-136309
Regression
Yes
Crash on ClearPerMaterialCustomProperties when undoing the addition of Visual Effects Component to the GameObject for a few times
How to reproduce:
1. Create a new Unity project and install the VFX package
2. In the Project window, right-click -> Create -> Visual Effects -> Visual Effect Graph -> Any VFX Graph
3. In the Hierarchy, create an Empty GameObject
4. Drag the created VGX Graph from the Assets to the created GameObject Inspector to add the Component
5. Press "Ctrl + Z"/"Command + Z" to undo the action
6. Repeat the 4-5 steps for a few times and observe the results
Expected results: The Editor doesn't crash
Actual results: Editor crashes
Reproducible with: 6000.5.0a5, 6000.5.0a8
Not reproducible with: 6000.0.69f1, 6000.3.10f1, 6000.4.0b11, 6000.5.0a4
Reproducible on: Ubuntu 24, macOS Tahoe 26
Not reproducible on: No other environment tested
Notes:
- Sometimes the crash happens after one "undo" action but it consistently crashes after repeating the steps 4-5 at least 3-5 times
- After the crash, the Editor can't be closed even via Activity Monitor despite the fact that it is not displayed as opened
First lines of stacktrace:
#0 0x00000103186560 in Renderer::ClearPerMaterialCustomProperties(int)
#1 0x00000102723418 in VisualEffect::DestroyBatchInstance()
#2 0x00000102722890 in VisualEffect::DestroyData(bool, bool)
#3 0x00000102f1d084 in delete_object_internal_step1(Object*)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
- Entities Hierarchy window allows Cyclic nesting and throws an “ArgumentException: Cyclic nesting detected” error when dragging a Prefab onto the same Prefab in the Entities Hierarchy
- EnterPlayModeOptions doesn't take effect if user manually modifies m_EnterPlayModeOptionsEnabled to 0
Add comment