Search Issue Tracker

Fixed in 2019.1.X

Votes

0

Found in

2019.1.0a10

Issue ID

1102102

Regression

Yes

[Win10] Removing prefab instance's component throws exception in console and Inspector window is broken

UI Toolkit

-

Steps:
1. Add Cube GameObject to the Hierarchy
2. Drag it to the Project Browser to make a prefab out of it
3. Select Cube prefab instance in Hierarchy
4. Remove any component (e.g. BoxCollider)
==>
"ArgumentException: You can only call GUI functions from inside OnGUI." error appears in console
Inspector window is broken (no Add Component button)

Take a look into attached movie for details

Note: Windows related, cannot repro on Mac

Not repro on Version 2019.1.0a9 (0acd256790e8)

It looks like was introduced by this PR https://ono.unity3d.com/unity/unity/pull-request/76515/_/ui-elements/inspector/staging

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.