Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.0.X - Entities
1.2.X
1.3.X - Entities
7000.0.0a1
Issue ID
ECSB-577
Regression
No
Reference to an element is missing when a structure inherits the ICleanupComponentData
Reproduction steps:
1. Open the attached “ASDQWE” project
2. Open the “Assets/Scenes/GameScene/LevelOne.unity” Scene
3. In the Entities Hierarchy Window select “Grid-0-0” Entity
4. In the Inspector Window Observe the “TileComponent” element
Expected result: The Entity has a reference to the element
Actual result: The Enity does not have a reference to the element
Reproducible with: 1.0.11 (2022.3.6f1)
Could not test with: 1.0.0 (2022.3.6f1 (package has dependant packages preventing from downgrading))
Reproducible on: Intel macOS 13.5
Notes:
* Removing the “ICleanupComponentData” inheritance from TileComponent.cs Script yields the expected results
* The issue is visible on any “Grid-” Entity
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
- Spots of bad lighting appear on assets when the lighting is generated in a Scene
- Static Editor Flags dropdown list is cut off when Inspector Window is docked to the very right and UI Scaling is set to a higher value
- visionOS Players are minimized when Guided Access is turned on
- Licensing Client fails to launch when opening Unity Hub
- Sprite Atlas Inspector preview disappears when entering Play mode unless SpriteAtlasMode is set to "Sprite Atlas V2 - Enabled"
Resolution Note:
This is expected behavior. ICleanupComponentData components are not and have never been serialized; they are intended to be a purely runtime feature.