- Home /
The question is answered, right answer was accepted
Android - Shadow on mobile, not on PC. *SOLVED*
Hello everyone, TitleByte here.
I'm currently working on a game for iOS and Android and have noticed a problem that I have not been able to solve.
When I play my game on Android, there is a shadow going through the entirety of the middle of the screen as a horizon, blackening half of the screen. When I play the game a bit, I also see a strange lighting effect that is not present when I simply test the game in Unity.
I'm getting the strong feeling that there's some kind of settings that the Android APK builder is importing that I cannot find anywhere nor have created myself. In the hopes of trying to fix it, I have fiddled a lot with all different options in the Quality settings. I have also tried fiddling with my lighting in the game as well as the game's camera.
Does anyone know how to fix my problem? I'm out of ideas.
Pictures: (Left is PC, Right is Android)
So on the right, there is a shadow going through the middle. (This is not because of bad lighting in my house or something else external) The light stroke on the Android version showed up because I used another older phone to take a picture of the android version.
Any help is highly appreciated.
-Luke (TitleByte) van Wensveen
Answer by PixelSpartan · Jul 10, 2015 at 12:32 PM
I noticed this bug in Unity 5 too. I tested and i discovered whats the problem.
1.Click on Window (from file menu) and then click on Lighting.
2.Now select Ambient Source (From Lighting) to Color or Gradient BUT NOT TO SKYBOX!
3.Change Reflection Source(From Lighting too) to custom BUT NOT TO SKYBOX!
4.Do this for every scene you have.
Hope I helped : D
It works! Thanks a lot for helping me with this problem, PixelSpartan!
-Luke (TitleByte) van Wensveen