I created a mobile game and I use directional light with shadows. On the editor everything works good but when I create a mobile build (Android or IOS) the shadows not visible.
I try to add graphics setting to switch between the quality setting but did not help.
When you build the player do you have an SRP assigned in the Graphics settings? It uses this to figure out what should be stripped so if there is none there it might strip the shaders you intend to use. We have this being tested in our automation so we kknow shadows work on players.
If this is set up properly can you log a bug as we have not seen this.
I changed the SRP to the highest on Graphics settings and after that, I build … and voila!
Thanks for the tip! Now I can change the quality of my game!