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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
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)!