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
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
- Crash on mono_array_length when building a project
- "StackOverflowException" error when changing spline curve type from "Bezier" to "Auto" in the "Element Inspector"
Add comment