Search Issue Tracker

Fixed

Votes

0

Found in [Package]

0.14.0-preview.19

Issue ID

1287034

Regression

No

Entities are not converted with all Components when Namespace is changed

Package: Entity Component System (ECS)

-

Reproduction steps:
1. Open user's attached project
2. Open scene "SampleScene"
3. From the Project window, open " MyAuthoringBehaviour.cs"
4. Change the namespace, e.g. by adding ".test" at the end of it
5. Increase the ConverterVersion by one
6. Go back to the editor and look at the Entity information in the Entity Debugger, or observe Logs\AssetImportWorker0.log

Expected result: Entities are converted with the "MyData" Component attached
Actual result: "MyData" Component is not attached, no warnings can be seen in the editor (except 2021.1 where a warning is thrown)

Reproducible with: 0.14.0-preview.19 (2020.1.11f1, 2020.2.0b9, 2021.1.0a3)
Not reproducible with: 0.14.0-preview.19 (2021.1.0a4)
Could not test with: 0.11.2-preview.1 (2018.4.28f1, 2019.4.13f1 because of errors)

Note:
-In older versions than 2021.1, this error is printed in the "AssetImportWorker0.log":
The referenced script is missing on GameObject
-In 2021.1, this error is throw in the editor:
[Worker0] The referenced script is missing on GameObject

Workaround:
Changing the Namespace, restarting the editor, and increasing the ConverterVersion

  1. Resolution Note:

    Fixed in 2020.2.0b13, 2021.1.0a4

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.