Copyright © 2026 Unity Technologies
Using the attached BoxColliderCtx.cs script, do:
1. Execute "DEBUG/Create GO and add comp" menu item.
2. Notice there's a GO with BoxCollider now in the hierarchy.
3. Enter "BoxCollider Context" context.
4. Right click in SV more than once so the menu's shown at least 2 times (you should see a contextual menu with "SomeMenuItem" entry - don't click it!).
5. Undo - the GO should be gone from the hierarchy.
6. Redo - GO should return but have no BoxCollider attached.
7. Hit "p" to trigger `SomeMenuItem` menu item (if it conflicts, go to shortcut manager and unbind p from everything else other than SomeMenuItem. Then repeat the steps from scratch.)
8. Editor crashes
Expected result: Action is Completed
Actual result: Editor crashes
Reproducible with: 6000.0.0f1 (6.0.1), 6000.0.40f1 (6.0.4)
Reproducible on: macOS, Windows 10, Windows 11
Not reproducible on: No other environment tested
Notes: CQA could not reproduce the issue locally
First few lines of stack traces:
0x00007FFB185845D1 (Unity) Scripting::ScriptingWrapperFor 0x00007FFB194AC91D (Unity) ScriptCommands::Validate 0x00007FFB199209E1 (Unity) ValidateSubmenu 0x00007FFB1993B945 (Unity) ContainerPlatform::ContainerWndProc 0x00007FFBC23383F1 (USER32) DispatchMessageW
0x00007FF819FA4C48 (Unity) ScriptableBatchRenderer::RenderMultipleMeshes 0x00007FF819F9F7FA (Unity) ScriptableBatchRenderer::Flush 0x00007FF81B50C8A2 (Unity) BRGPickingDrawLoop 0x00007FF81B50C008 (Unity) BRGInvocationRenderDrawCommand 0x00007FF81B50C28A (Unity) BRGInvocationRenderRootNode
0x00007FFBEF0E7E71 (Unity) Scripting::ScriptingWrapperFor 0x00007FFBF001163D (Unity) ScriptCommands::Validate 0x00007FFBEFCAFAFD (Unity) MenuController::ExecuteMenuItem 0x00007FFBEFCAF21D (Unity) MenuController::ExecuteMainMenuItem 0x00007FFBEE6286A5 (Unity) EditorApplication_CUSTOM_ExecuteMenuItemInternal
Issues you vote on will appear here