Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

New version of Unity is causing rather weird problems on Galaxy S device. The GUI starts to flicker, tear and disappear altogether at random in different screens. But this only happens on the second launch. The first launch after full uninstall works perfectly.

Normal(first launch):

Normal

Screenshot of the flickering(after first launch) Flickering

There are no errors in LogCat that clarifies the problem and this does not affect functionality of the app, only the GUI goes bananas. This happens on other Galaxy S devices too, not just mine. This also happens in my other projects, one which is smaller and one which is larger. But on other devices like Galaxy S2 and Motorola Xoom, there are no issues.

What could be the issue here?

P.S I have contacted Unity support, but have not heard from them

share|improve this question
    
are u using some libraries for GUI (like Ngui or Ez)? –  DannoEterno May 24 '13 at 12:45
    
@DannoEterno No I use the built-in GUI functions. –  Esa May 29 '13 at 8:32
add comment

1 Answer

up vote 2 down vote accepted

Apparently there is a driver bug in some PowerVR GPUs due to Unity caching the compiled shaders. Calling Handheld.ClearShaderCache() before a level is loaded (Awake/Start of any script) will fix this issue.

More info here.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.