Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.3.10 - Entities
Issue ID
ECSB-1582
Regression
No
A Script Component added with Baker is not preserved when the SubScene containing it is open
How to reproduce:
1. Open the “EntityComponentBug.zip“ project
2. Open the “SampleScene“
3. Enable (Open) the “SubScene” in the Hierarchy
4. Enter Play Mode
5. Observe the Console
Expected result: “Entity retained chunk component“ Log is displayed
Actual result: “Entity lost chunk component“ LogError is displayed
Reproducible in: 1.3.10 (2022.3.59f1, 6000.0.41f1, 6000.1.0b9, 6000.2.0a6)
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Note: In a closed SubScene, the Component is preserved
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
- Render Graph Viewer Capture button plays the click animation but does not do anything when the Capture button is pressed with the “Enter” key on the keyboard
- UI Builder Scrollview is unable to scroll all the way down when the window is downsized vertically
- Celestial bodies order remains unchanged when the Distance setting is modified
- A memory leak occurs with massive terrain when camera position changes occur.
- No valid hits are returned when using RaycastCommand
Resolution Note:
It is unfortunately not intuitive and also not well documented (we'll improve the documentation) but it's currently working as intended.
During live baking (open subscene), the chunk layout keeps on changing and isn't reliable. In that context, chunk components make no sense and caused a lot of trouble so it was decided that they would be explicitly filtered out during live baking.
In order to deal with that situation, a workaround is to have the system in charge of adding those chunk components running both during baking and at runtime. When the scene is baked to disk and background imported (closed subscene), it will directly load with the chunk components and thus that system won't run. But during live baking, the system will ensure proper operation.