Unity Issue Tracker - UI VisuaElement not updating when the scene is reloaded in Play Mode
Closed
UUM-76588
UI VisuaElement not updating when the scene is reloaded in Play Mode
Unity: UI Toolkit Framework
As Designed
6.0.X
2022.3.X
When the level result screen doesn't show up, the UI Toolkit Debugger shows that the screen element is present, but with "display: none". So it seems there's a game logic that doesn't turns the display back to "flex" once the game is won.
Reproduction steps:
1. Open the “ReproProject“ project
2. Enter Play Mode
3. Select “Level 1” by pressing the green up and down arrows in the Simulator view
4. Click on the identical items until the level is complete
5. Click the “Continue” button in the level won screen
6. Skip the dialogue by clicking the “Continue” button
7. Pause the game by clicking the pause icon at the top right
8. Press the “Quit” button twice
9. Repeat steps 3, 4
10. Observe the Simulator view
Expected result: The level won screen is shown again
Actual result: The level won screen is not visible
Reproducible with: 2022.3.38f1, 6000.0.11f1
Couldn’t test with: 2021.3.41f1 (due to compilation errors)
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested
Prioritise and Follow this issue
Have a workaround or additional info about this issue?