Copyright © 2026 Unity Technologies
Physics: Resolved a NullReferenceException error in the Ragdoll Builder Window that occurred when clicking the 'Create' or 'Cancel' buttons.
Physics: Resolved a NullReferenceException error in the Ragdoll Builder Window that occurred when clicking the 'Create' or 'Cancel' buttons.
This PR fixes the NullReferenceException console error for Ragdoll window builder when clicking on 'Create' or 'Cancel' buttons. Adding return; ensures that no more logic runs after the window is scheduled to close.
This PR fixes the NullReferenceException console error for Ragdoll window builder when clicking on 'Create' or 'Cancel' buttons. Adding return ensures that no more logic runs after the window is scheduled to close.
How to reproduce:
1. Open the “Ragdol_test.zip“ project
2. Open the “SampleScene”
3. Right-click in the Hierarchy, then press 3D Object → Ragdoll
4. In the opened window, assign the “unitychan“ GameObject to the Animator field, then press the “Auto-Fill“ button
5. Press the “Create“ button
6. Observe the Console
Expected result: No errors are thrown in the Console
Actual result: A “NullReferenceException“ error is thrown in the Console
Reproducible in: 6000.0.50f1, 6000.0.54f1, 6000.1.13f1, 6000.2.0b11, 6000.3.0a3
Not reproducible in: 6000.0.49f1
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Notes:
Issues you vote on will appear here