Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2020.3
2021.1
2021.1.9f1
2021.2
Issue ID
1341601
Regression
No
Using UsageHints.DynamicTransform disables rendering of VisualElement in the Play Mode
Reproduction steps:
1. Open attached project "1341601.zip"
2. Open "SampleScene" Scene
3. Enter Play Mode
4. Notice how the health bars appear above GameObjects in the Scene
5. Exit Play Mode and open the "WorldSpaceUI.cs" script for editing
6. Find row 53 that holds commented out "//container.usageHints = UsageHints.DynamicTransform;" and uncomment it
7. Save the script and enter the Play Mode once again
Expected result: Health bars appear both when UsageHints.DynamicTransform is used and when it's not
Actual result: Health bars only appear when UsageHints.DynamicTransform is not used, and are not visible when using it
Reproducible with: 1.0.0-preview.14 (2020.3.12f1, 2021.1.11f1), 2021.2.0a21 (UI Toolkit is integrated into the editor itself)
Couldn't test with: 2018.4, 2019.4 (UI Toolkit package is not available)
Comments (1)
-
masterreviews
Aug 12, 2024 05:29
I've encountered similar issues with UsageHints.Dot.DynamicTransform affecting the rendering of VisualElement in play mode. This bug can significantly hinder development, especially when dynamic UI elements are essential for real-time updates. It's great to see this issue being tracked, and I appreciate the Unity team's efforts to address it.
For anyone struggling with UI rendering issues, I found that checking for updates on various related bugs and fixes can be useful. Additionally, exploring forums and resources that delve into these specific issues can offer insights and potential workarounds.
In my own development experience, I've often relied on comprehensive reviews and tips to manage such challenges. If you're interested in exploring more about optimizing UI and managing similar issues, you might find helpful resources on Reviews-Master.com.
Looking forward to an update on this issue and hoping for a swift resolution. Thanks to the Unity team and the community for the ongoing support and collaboration!
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
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
Resolution Note (fix version 2021.2):
Fixed in: 2022.1.0a7