Search Issue Tracker
Fixed
Votes
1
Found in [Package]
1.0.0-preview.16
Issue ID
1359661
Regression
No
[UI Toolkit] Text object doesn't render instantly after setting display property to flex at Runtime through C#
How to reproduce:
1. Open the attached "1359661" project
2. Open the "SampleScene" Scene and enter the Play mode
3. Press the "Set display: flex inline" button
4. Observe the grey area in the Game window
Expected result: "Text to Show/Hide" text appears instantly
Actual result: "Text to Show/Hide" text appears only after pressing the "Redraw UIDocument" button
Reproducible with: 1.0.0-preview.16 (2020.3.17f1, 2021.1.18f1), 2021.2.0b9, 2022.1.0a6
Couldn't test with: 2019.4.29f1 (UI Toolkit not supported)
Notes:
- In 2020.3.17f1 and 2021.1.18f1 versions, "Text to Show/Hide" text appears after moving the cursor to the right or to the bottom out of the grey area
- After downgrading to 2020.3.17f1 or 2021.1.18f1 install the UI Toolkit package and recreate the UIDocument object to reproduce
- Deleting the "position: relative" in the .box block in the test (bug).uss file fixes the issue
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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note:
Fixed in 2022.1.0a12
Resolution Note:
Fixed in 2021.2.0b16