Search Issue Tracker
Not Reproducible
Votes
0
Found in
5.0.1p1
Issue ID
690768
Regression
No
SceneView/GameView repaint is delayed when any of Auto Layout Components are used
Steps to reproduce:
1. Open the attached project
2. Open 'Canvas Repaint Repro' scene
3. Select the 'TextMeshPro Text' game object in the hierarchy
4. Modify it's font style using the 'Text Mesh pro UGUI' component
5. Notice it does not change immediately, but changes if you somehow interact with the editor after a change (Click anything, drag any window, etc. See this video: https://www.youtube.com/watch?v=ivAY1j0Qff4)
6. If you remove 'Vertical Layout Group' and 'Content Size Fitter' components from 'Button' GO, everything works as expected
Workaround: Force the RepaintAllViews() in the editor mode by adding this piece of code to 'TMPro_UGUI_Private.cs' script:
#if UNITY_EDITOR
UnityEditorInternal.InternalEditorUtility.RepaintAllViews();
#endif
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment