Search Issue Tracker

Fixed in preview.30 - 0.0.12

Votes

0

Found in [Package]

preview.28 - 0.0.12

Issue ID

1140955

Regression

Yes

[Entities] Inspector window of the selected GameObject becomes empty when deleting attached Script from a Project

Package: Entity Component System (ECS)

-

Steps to reproduce:
1. Open the attached project "Case_1140955"
2. Navigate to Project -> Assets -> Scenes and open SampleScene
3. Delete "TestRemoval" Script from Project -> Assets
4. In the Hierarchy window select "Cube"
5. Notice the Inspector window

Expected results: In the Inspector window, under the (Script) Component an error "The associated script cannot be loaded" is displayed
Actual results: Inspector Window becomes empty

Reproducible with: 2019.1.0b5, 2019.1.0b9, 2019.2.0a10
Not reproducible with: 2018.3.11f1

Reproducible with Package version: preview.28 - 0.0.12, preview.29 - 0.0.12
Not Reproducible with Package version: preview.2 - 0.0.12, preview.27 - 0.0.12
Package Regression: preview.28 - 0.0.12

Notes: Error is thrown "ArgumentException: Getting control 0's position in a group with only 0 controls when doing repaint". The Inspector becomes empty for few seconds when creating a Script Component in the GameObject

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.