Search Issue Tracker
Not Reproducible
Votes
1
Found in
6000.0.50f1
6000.1.0b15
6000.2.0a10
Issue ID
UUM-108368
Regression
No
Addressables Image set in .uss loses reference when reloading additional Scenes with UIDocument in the Player
Reproduction steps:
1. Open the attached “IN-98151.zip” project
2. Build and Run the project
3. In the Player, with WASD keys walk next to a Cube
4. Hold E key to load an additional Scene
5. Press E again to unload the Scene
6. Repeat 4th step
7. Observe the buttons on the loaded Scene
Expected result: Both buttons have background images
Actual result: The button on the left (with the letter “E”) does not have a background image, only a solid color
Reproducible with: 2.2.2 (6000.0.45f1, 6000.1.0b11, 6000.2.0a7), 2.4.2 (6000.0.45f1, 6000.1.0b11, 6000.2.0a7)
Couldn’t test with: 1.22.3 (2022.3.61f1) (error CS0246: The type or namespace name 'UxmlElement' could not be found)
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Notes:
- Does not reproduce in the Editor
- Also reproduces in WebGL Player
- Does not reproduce if the image is set directly as an inline style (button on the right)
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
- Project Auditor Analysis is not marked dirty when the save file is deleted even after reopening the Project Auditor window
- “Shader Graphs” text in the blackboard is hard to see
- "NullReferenceException" error is thrown when changing input field focus via script with custom validation
- The Tables in the Project Auditor’s Assemblies, and Precompiled Assemblies tabs does not scale with the Project Auditor window size which leads to unused empty space and bigger scrollbars in the tables
- Tile Palette button with longer Palette name is misaligned and cut-off when Tile Palette Clipboard overlay is resized
Resolution Note:
Could not reproduce in 6000.2.0f1. Tried isolating the problem by loading and unloading scenes with a USS reference to a png addressable.