Search Issue Tracker
Fixed
Fixed in 1.0.0-preview.16
Votes
0
Found in [Package]
1.0.0-preview.14
Issue ID
1335602
Regression
No
Wrong element positioning after changing VisualElement.resolvedStyle.display from DisplayStyle.None to DisplayStyle.Flex
How to reproduce:
1. Open the attached project
2. Open SampleScene
3. Click Play
4. Click the button in the top left corner of the Game View
5. Click the button again
Expected result: The elements return to their original positions
Actual result: The elements are overlapping
Reproducible with: 1.0.0-preview.3 - 1.0.0-preview.14 (2020.3.8f1, 2021.1.8f1), 2021.2.0a4
Not reproducible with: 2021.2.0a5, 2021.2.0a17
Could not test with: 2018.4.34f1, 2019.4.26f1 (UI Toolkit not supported)
Note:
1. In 2021.2.0a4 the issue fixes itself after hovering the mouse above the elements
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
- Errors "InvalidOperationException: Trying to use a texture (_InternalGradingLut)..." and “Render Graph Execution error” shown and Scene turns black when 16 or more Render Objects are used
- GameObjects in the Game View are rendered differently than in the Scene View when the Rendering Path is set to "Deferred" and Screen Space Shadows Renderer Feature is added
- Errors “InvalidOperationException: Trying to use a texture (_CameraDepthTexture)...” and “Render Graph Execution error” shown when selecting GameObjects with Mesh Renderer from the Hierarchy
- macOS stutters in a minimal project
- [Usability] HDRP Wizard calls for VR fixes when opening the HDRP Wizard a second time after they have already been applied and the Wizard has finished checking
Resolution Note:
Does no longer reproduce with: 2021.2.0a5
Resolution Note (fix version 1.0.0-preview.16):
Fixed in UI Toolkit 1.0.0-preview.16