Search Issue Tracker
Fixed
Fixed in 6000.0.55f1, 6000.1.15f1, 6000.2.0b13, 6000.3.0a4
Votes
0
Found in
6000.0.54f1
6000.1.13f1
6000.2.0b11
6000.3.0a3
Issue ID
UUM-112209
Regression
Yes
NullReferenceException error is thrown when creating a Ragdoll
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:
- The first line of the error reads: “NullReferenceException: Object reference not set to an instance of an object”
- When “Auto-fill“ is pressed, the correct bone transforms are assigned in the “Advanced Bone Setup“, so this error is only visual (and regards the Ragdoll Builder window)
- The Character Joints are created successfully (at least they show up in the Inspector)
- In 6000.0.49f1 and previous versions, the Auto-Fill functionality was not introduced yet
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Resolution Note (fix version 6000.3.0a4):
Physics: Resolved a NullReferenceException error in the Ragdoll Builder Window that occurred when clicking the 'Create' or 'Cancel' buttons.
Resolution Note (fix version 6000.2.0b13):
Physics: Resolved a NullReferenceException error in the Ragdoll Builder Window that occurred when clicking the 'Create' or 'Cancel' buttons.
Resolution Note (fix version 6000.1.15f1):
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.
Resolution Note (fix version 6000.0.55f1):
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.