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

Android

-

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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.