Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2019.1.0a14
2019.4
2019.4.1f1
2020.1
2020.2
Issue ID
1259502
Regression
Yes
MissingReferenceException and GUI errors are thrown when removing collider component while editting collider bounds
Reproduction steps:
1. Create or open any Unity project
2. Set the Layout to "Default"
3. Create a new GameObject in the Hierarchy4
4. Add Coillder component (Sphere, Box, Capsule)
5. Edit collider bounds
6. While still in the bound edit mode, remove the collider component through the Inspector
Expected: No errors are thrown
Actual: 'MissingReferenceException' and GUI errors are thrown
Reproducible with: 2019.1.0a14, 2019.4.2f1, 2020.1.0b14, 2020.2.0a16
Not reproducible with: 2018.4.23f1, 2019.1.0a13
Notes:
1. Errors can be cleared from the console and do not seem to affect the project in any way
2. Reproduced with collider components: Box, Sphere, Capsule
3. Does not reproduce with collider components: Box2D, Circle2D, Capsule2D, Edge2D, Polygon2D
4. The issue only reproduces when using the Default Layout.
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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Resolution Note (fix version 2021.2):
Fixed in - Unity 2021.2.0a11