Mobile Dynamic shadows suddenly stopped working

So as the title says, My android project had working dynamic shadows(from the directional light) on the packaged game. After that, I started making the missions system and the main menu, But I didn’t change anything related to lighting or rendering. And now the shadows are not working.



^ in the editor (The packaged game also had shadows that looked exactly like this)

The old version with working shadows : [Link](SimplePirate-armv7.apk - Google Drive)

New version (shadows not working) : [Link](SimplePirate-Android-Shipping-armv7.apk - Google Drive)

What could be the problem? I have a backup of the project folder which has working shadows. I tried copying the content folder into an old project folder but that didn’t do anything either.

Is there any way to fake dynamic shadows on mobile? (if there’s no solution to this) I really need shadows otherwise the game looks terrible. I can’t use baked static shadows because I need the Day-Night cycle.

if you lower the camera distance, do they appear? If so you need to switch the distance of shadow draw distance in your default.ini file.

r.Shadow.RadiusThreshold

  • Default Value: 0.03
  • A lower value of 0.02 or 0.01 greatly increases shadow visibility at far camera distances

No, I tried all of the settings that I knew. it’s not about Threshold. There’s no shadows. I mean when the shadows were working, I got less than 50 fps. But now the game is running at 70+ fps. That means that the shadows are not working at all.