Search Issue Tracker
Duplicate
Votes
1
Found in
5.3.5p6
Issue ID
814109
Regression
No
[Android] View is briefly corrupted after rotating device if main thread is busy
Reproduction steps
-------------------------
1) Open user's project
2) Build and run
3) Rotate from portrait to landscape
--- For a brief moment the view will become corrupted (see attached image)
--- Looks different with GLES2 and GLES3, but the same issue is present
This happens because the following function is called on Update:
void SimulateWork()
{
float dt = 0f;
float prev = Time.realtimeSinceStartup;
while (dt < 2f)
{
dt += Time.realtimeSinceStartup - prev;
prev = Time.realtimeSinceStartup;
}
}
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
- 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
This is a duplicate of issue #785610