Search Issue Tracker

Fixed in 5.3.7

Votes

4

Found in

5.3.5f1

Issue ID

798653

Regression

Yes

[Android/UI]UI Buttons become black after repeated switching platforms and building without restarting Unity on Android

Android

-

To reproduce:
1) Open attached project
2) Go to Builds / Builder Window
3) Click Open MainScene button
4) Click "Reset to S.." button
5) Click Set BuildPath button and set it to an empty folder somewhere
6) Click Key from Assets root button
7) Click Build Both button (could not get repro if repeatedly building just Android builds)
8) Open console/terminal in builds folder
9) Use adb to install the app to device (adb install -r "appname.apk")
10) After loading the app, tap top left corner to open menu
11) Tap "Settings"
12) Tap either "Cancel Downloads" or "Clear Cache"
13) Notice that UI buttons are white
14) Repeat steps 7-12 - now the UI buttons are black

DUT: Google Nexus 5 (Android 6.0.1)

Not reproduced in iOS or WinStandalone

Comments (3)

  1. Kotasan

    Jan 30, 2017 16:10

    Hello,

    I had the same problem in Unity 5.4.0f3 on Nexus 5 5.1.1
    Try to "Reimport All".
    [Assets > Reimport All]

    It work for me :)

  2. swhays

    Jan 23, 2017 14:29

    I'm still having this issue in 5.4.4f1 on Android. I plan on testing on 5.5.0f3 soon.

    My app's target platforms are Windows and Android. Every time I switch platform to Windows and back to Android I have to Reimport All or else I have ugly black UI elements.

    This eats up a lot of time when creating builds or even just testing different platforms.

  3. dmgmyza

    Sep 20, 2016 18:55

    Also have this problem with Unity 5.4.1(Android Platform)!

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.