Search Issue Tracker


Under Consideration for 1.1.X



Found in [Package]

1.1.0-exp.1 - Entities

Issue ID




Entity reference is set to random value when the reference is declared in a Dictionary

Package: Entity Component System (ECS)


Reproduction steps:
1. Open the attached project “EntityRemapDictionary”
2. Open the “Assets/Bug” Scene
3. In the Hierarchy window enable the “BugSubscene” SubScene for editing
4. In the Hierarchy window select the “BugSubscene/CorruptedReference” GameObject
5. Change the Inspector mode to “Runtime”
6. Observe the values of the “Ref” and “Ref2” fields in the “Corrupted Entity” component

Expected result: The “Ref” value is the same as the “Ref2” value
Actual result: The “Ref” value is set to some other random value

Reproducible with: 1.0.8 (2022.3.10f1), 1.0.16 (2022.3.10f1, 2023.1.14f1, 2023.2.0b10, 2023.3.0a5)

Reproducible on: macOS 13.5.2
Not reproducible on: No other environment tested

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.