Search Issue Tracker
Fixed in 5.4.0
Votes
1
Found in
5.3.1p2
Issue ID
765509
Regression
Yes
[Build] Closing built application throws NullReferenceException at UnityEngine.Joint:get_connectedBody ()
Steps to reproduce:
1. Open attached project "765509.zip"
2. Build project
3. Run built project
4. Wait until scene appears
5. Close built project
6. Open 'output_log.txt" found in Data folder of built project
7. Notice NullReferenceException:
NullReferenceException
at (wrapper managed-to-native) UnityEngine.Joint:get_connectedBody ()
at JointTest.OnDisable () [0x00000] in <filename unknown>:0
Note1: Doesn't happen in editor
Note2: NullReferenceException is thrown when accessing a Joint's connectedBody in an OnDisable
Not reproducible with: 5.2.4p1
Reproducible with: 5.3.0a1, 5.3.2p1, 5.4.0b4
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment