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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment