Search Issue Tracker
By Design
Votes
0
Found in [Package]
0.1.1
Issue ID
1194144
Regression
No
GameObjects in Subscenes are converted to Entities when EditorOnly tag is applied
How to reproduce:
1. Open the user-submitted project's SampleScene
2. Select SubScene in the Hierarchy
3. Press Rebuild Entity Cache in the Inspector
Expected result: Cube (1) GameObject is not converted to an Entity
Actual result: Cube (1) GameObject is converted to an Entity
Reproducible with: 2019.2.12f1 (Entities 0.0.12-preview.33, 0.1.1), 2019.3.0b10 (Entities 0.1.1), 2020.1.0a12 (Entities 0.1.1)
Notes:
Converting Subscene GameObjects to Entities did not work on Entities 0.0.12-preview.32 and below because Hash128.Equals method was not implemented.
Unity versions 2018.4.12f1 and below do not support affected package versions, therefore the issue is not reproducible.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
The EditorOnly tag should not be used to opt-out of conversion. Conversion also happens in the editor, so using the EditorOnly tag for that is bound to create confusion. We have plans for providing a way to opt-out of conversion per GameObject that will land before the package goes out of preview.