- Home /
No Shadows present when switching build mode to Android
I've started a new project in Unity, and set up a simple scene. The shadows work fine.
However, when I switch the platform to Android, all the shadows disappear, like they've been turned off.
Things I've checked/done:
Increased the shadow distance for Android in Quality Settings. No effect.
Changed Graphics Emulation to No Emulation. No effect.
Checked that all Lights and Objects are casting and receiving shadows.
Switching back to PC platform shows shadows. Switching back to Android has no effect.
Tried building and running the project on Android, shadows are still not present.
I am starting to wonder if this is a bug. Is there anything else that I have not tried that could be the cause?
Have you checked the quality settings? Lower quality settings will disable the shadows and I remember that when I started development I was astonished to learn that Unity automatically sets the lowest quality by default for mobile devices.
Hi, I've checked that as well, even when I change quality there is no difference.
Answer by iamtomhewitt · Sep 11, 2017 at 08:16 AM
So, in the end I just exported everything into a blank new project, and shadows seem to appearing.
No idea what the problem was, so I'd guess this was done down to some sort of bug?
Answer by N00MKRAD · Sep 11, 2017 at 07:17 AM
Have you tried both deferred and forward rendering?
Also, keep in mind that realtime shadows are expensive on mobile.