Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

shadows on planes not working

Discussion in 'AR' started by edwon, Aug 1, 2018.

  1. edwon

    edwon

    Joined:
    Apr 24, 2011
    Posts:
    260
    I'm completely baffled, I can't get shadows to render on planes. I followed the guide in SCENES.txt and the example.

    In fact even the UnityARShadows example scene does not work when built.

    Am I missing an important project setting of some kind?
     
  2. oleyb

    oleyb

    Joined:
    Nov 8, 2012
    Posts:
    15
    Make sure the "Shadow Type" on your Directional Light isn't set to "No Shadows". I had the same problem and that was the solution.
     
  3. edwon

    edwon

    Joined:
    Apr 24, 2011
    Posts:
    260
    I had already checked it, I'm stil not sure what the cause was exactly, but I believe it was in the project settings somewhere.

    I ended up just copying all the project settings files from the Unity ARKit plugin on BitBucket into my project. That fixed the shadows.