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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.