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
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
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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 :)
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.
dmgmyza
Sep 20, 2016 18:55
Also have this problem with Unity 5.4.1(Android Platform)!