Search Issue Tracker

Fixed

Votes

0

Found in

4.6.0b8

Issue ID

609005

Regression

No

Add empty child to canvas and remove rect transform results in error spam

UI

-

1. create and add empty child to canvas
2. in the inspector of the child object right click on the rect transform component and select remove component

result: rect transform is removed but produces error spam of:

Reset has not been called 'GameObject' (Transform). Figure out where the object gets created and call Reset correctly.

Note: of you do this for toggle you get additional error spam of

NullReferenceException: Object reference not set to an instance of an object
UnityEngine.UI.Selectable.GetPointOnRectEdge (UnityEngine.RectTransform rect, Vector2 dir)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.