Search Issue Tracker
Fixed in 4.6.X
Votes
0
Found in
4.6.0b3
Issue ID
595160
Regression
No
Add RectConstraint to a gui object produces nullReferenceException
1. in an empty 2D scene, create a button
2. add component RectConstraint
Result: console responds with
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.UI.RectConstraints.Update () (at C:/BuildAgent/work/afa2580bf6048259/Extensions/guisystem/guisystem/UI/Core/Layout/RectConstraints.cs:46)
Note: Repro on Version 4.5.0b4 (d145c738d936)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Linux] Cannot reorder GameObjects in the Hierarchy when the AI Assistant package is installed
- [iOS] Text Input field stops receiving changes when the "Cancel" button is used on the soft keyboard
- [WebGPU] URP RenderGraph RenderPass doesn't clear textures
- Query Builder items display raw code style names instead of human readable labels in search field
- “+” button does nothing and has no functionality when clicked in Human Template "Bone Template" list
Add comment