Search Issue Tracker

Fixed in 5.0.X

Votes

0

Found in

4.5.1f3

Issue ID

618560

Regression

No

Creating an asset produces an error and crashes the editor

Assets Management

-

Open the Example1.scene; the repro steps are:
- Drag and drop the "Dict" script on top of the "Dict" object.
- Press Ctrl-S to save the scene.

At this stage the status is:
- One Dict asset has been created.
- The scene has been saved.

Also there are now one weird thing and several problems:
Weird thing
- Simple click on the "Dict" asset in the project explorer.
- In the inspector, expand the Values field and notice that it correctly contains an element.
- Click on the "GameObject (Transform)" field for this element.
- Notice that this highlights the "Dict/GameObject" object of the scene, indicating that the element is actually a reference to this object in the scene. This is pretty bizarre.

Error are shown:
- Note that this error message did appear in the console when/or-after saving: "Persistent object inconsistency".

Steps to crash the editor:
- In the editor, open Example1.scene and press Ctrl-S several times in a row.
- This will crash the Editor without fail.
- Upon re-opening, several errors will be visible:
- "Asset is in assets but has no assettimestamp".
- Clicking on "Resources/dict" in the Project shows this error message in the inspector: "The associated script can not be loaded []".
- Re-Opening the "Example1" scene will show this error message: "CheckConsistency: Transform child cant be loaded".

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.