Reputation: 437
I've been using unity for quite some time. But I downloaded the latest version 2017.2.1f1
and started a new project. Everything is running fine in the game and scene view. Playing the game in the editor is working fine as well. However, when I build it to my android device (API Level 19). The Canvas and all of the UI elements are not visible. The Render Mode for the Canvas is set to Screen Space Camera
and UI Scale is Scale with screen size
. I tried looking around but I'm not able to find a fix that works in my case scenario. Any help will be much appreciated.
Please note that I'm working on a 2D game so the environment is set to 2D, if that helps in any way
Upvotes: 2
Views: 4589
Reputation: 437
Let's say you are porting your project from an older version of unity. OR Unity crashed while you were actually building the project. Under these scenarios. Unity might not include all the required shaders and in some cases Classes for some reason. However there is a really easy work-around over this. Just follow the steps as listed:
Project Settings
Folder. (It might delete some editor settings but as far as your project is concerned nothing is going to change.)Upvotes: 2