- Home /
UI images and text tearing and deforming
After upgrading my project to 2019.3.0 UI images and text get deformed and torn across the screen for a single frame after doing things like setting the value of a text field, scaling a transform in the canvas, or setting a gameobject inside the canvas active/inactive. Here is what this looks like:
This only occurs in a build with graphics jobs enabled. The UI behaves normally in the editor. Upgrading from 2019.3.1 did not fix the issue and it did not occur on the projects previous version 2019.2.9.
The issue occurs only for the canvas the previously mentioned triggers take place on. Changing text fields and scaling objects more rapidly seems to trigger it more often. It sometimes takes a while for the issue to begin occurring.
The specific process I use to cause the issue is quickly dragging my mouse back and forth over transforms that use a custom script to scale to a larger size or set a text field when the cursor passes over them. For example, the map in the bottom middle of the screen has a text field at the bottom that is set to the name of the island the cursor hovers over.
This is happening for multiple other people using the same build and is not only occurring on my machine.
I'm wondering if anyone knows a fix or workaround for this issue besides disabling graphics jobs. Thank you very much, I hope I have given enough detail.
Answer by Bronze_Johnson · Feb 14, 2020 at 08:12 PM
I dove back into it again and it seems like disabling "Dynamic Batching" in the player settings also fixes the issue. This is an acceptable work around for me as the performance impact of disabling this setting was negligible.
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Survival Shooter Tutorial: UI Does Not Display In Build 1 Answer
Problem with build version 1 Answer
Text Appearance Glitch in Unity UI 5.3 3 Answers
Only particle shaders are visible after building for Android 0 Answers