Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Strange shadow/not a shadow in Android Build but not in Editor

Discussion in 'Android' started by Idual, Mar 6, 2024.

  1. Idual

    Idual

    Joined:
    Mar 11, 2015
    Posts:
    14
    I have a peculiar glitch when building for Android. My moving vehicle appears to enter a shadow and leave it again despite there being no shadow. This only occurs on the Android build not in the editor or Window stand alone.

    The videos below show it happening.

    First in the editor without the glitch:



    Second on the phone with the glitch:



    Has anyone seen anything like this before?
    Where should I be looking to try to resolve this?
    Should this be considered a bug in Unity?
     
    Last edited: Mar 6, 2024
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,139
    Do you use different graphics tiers?
     
  3. Idual

    Idual

    Joined:
    Mar 11, 2015
    Posts:
    14
    No. Same Graphics tiers. Same settings in Graphics and Quality.
    I was using the standard shader and I've just changed it to Mobile/BumpedSpecular. That has solved it but I'd still like to know what was causing it and how to prevent it in future.
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,139
    If it breaks again with the standard shader, make a bug report. Then it is a compilation error.
    Of course make sure unity is updated.
    And BiRP is not updated much, maybe give URP a shot :p