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
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
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.