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
- Can’t delete gradient keys with Mac keyboard or context menu options
- Editor freezes for a few minutes when closing or switching a VFX window that was opened in a previous project
- UI Overlaps when switching Render Pipeline Asset for different Quality Levels in Quality Project Settings
- Ray Tracing Shader link to the documentation isn’t working
- Warning "BatchRendererGroups currently don't support override shaders" is spammed in Play mode when using H-Trace WSGI with BatchRenderGroups
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.