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

Package: Entity Component System (ECS)

-

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

  1. Resolution Note:

    This is expected behavior. ICleanupComponentData components are not and have never been serialized; they are intended to be a purely runtime feature.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.