No shadows on Android

Has anyone experienced any issue with real time lighting for Android projects? I have tried the following

Direction Light with : Hard Shadows, Very High Resolution, default everything else

Project Settings/ Quality : Hard and soft shadows, Very High resolution, shadow distance = 50, default everything else

All settings in Lighting as default (except changing environment source to colour)

Cast and receive shadows is on for every object

Phone : Samsung S7

And the damn thing still won’t work, any ideas

Hi!
Which version of Unity do you use?
Which graphics API?

1 Like

Hi! Thanks for the quick reply!

2017.1.0f3, and how do I did find the graphics API?

1 Like

Edit → Project settings → Player
Select “Android” tab
There’s a checkbox “Auto graphics API”.
If it’s checked, try unchecking and moving the APIs around.

I have unchecked the box and tried with OpenGLES3/ OpenGLES2 and Vulkan taking the top spot but with no change unfortunately

Bumping this, really need a solution

1 Like

Which quality level did you edit?
The default one is highlighted with green.

6 Likes

That was it! I didn’t realize each one had a separated options section. Changed the shadow settings and it’s all good!

Thank you so much, that has been a head scratcher for a while!

You’re welcome :slight_smile:

3 Likes

Thank you! I’ve been tearing my hair out over this for a couple of days. I’d built a small test app that had an identical setup to my very big main app. Both were set for performance. I could not understand why my main app had no shadows. This fixed it.

Now that I have it working, should I really be using something like the “Dynamic Shadow Projector” on mobiles?

Thank you for this, worked for me, though took me a couple minutes to realise it is the matrix of check boxes at the top and selecting the droplist to fine tune.

Very happpy now thanks.

1 Like

The quality settings, IT WORKED!

Edit: I was dumb, because i set the quality to very low and the shadows didn’t work well haha.