- Home /
Android Shadows Degrade over time
Hi, I'm having trouble with shadows on my android. The last time I made a build was more than 8 months ago, and before then I didn't have a shadow problem. This is what happens. It starts up looking nice and sharp, and with time the shadows degrade and I get weird unwanted shadows on the ground and cube. I've tried messing around a bit with the lighting settings but I have no idea what is going on.
Thank you very much,
Here are the two pictures:
really not familiar with android but i'll try a shot.
Is your red cube moving ? Or is it the level that moves backward and gives the illusion that the red cube is moving ? (the second option is the best)
If the red cube is moving, then it may be because of the high position values of your cube. For example, when you start the game, the cube's positions are 0,0,0, and unity easily calculates the shadows. After 5mn, let's say your red cube's positions are > 10000,0,0, then unity might have some troubles to render shadows.
It is just an idea, but take a look on this !
Currently, I'm moving the red cube. The numbers displayed are highscore and current distance. So it is only at a position of 736 along the z, do you think that this still has an impact? What is strange is that I never had this problem before. I updated unity recently and made a new build and now I have this problem.
Could be a lot of things... Assu$$anonymous$$g that smartphones needs cheap graphics, and your small updates could have impacted a bit the perfs too.. Again this is only an idea so i might be far from the problem's nature. 736 looks indeed pretty low to get that kind of bug. Did you try the game on other smartphones ?
But whatever the problem is, i'd advice you to move the level and not the cube. It's a cleaner way to do a runner and it might solve your problem indirectly.
Answer by Meuktwo · Dec 21, 2017 at 05:53 PM
I solved the problem by adjusting the Graphics setting and setting "Cascaded Shadows" on for all tiers!
Your answer
Follow this Question
Related Questions
Android project, RT shadows not working in editor anymore. 4 Answers
Android baked shadows not appearing 1 Answer
Sluggish performance on Samsung Galaxy Note Pro 12.2 and problems with shaders un Android 1 Answer
AssetBundles don't load to scene on Android device. 3 Answers
Is there a Unity 5 Bug affecting tags with Android builds? 2 Answers