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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Question Certain objects not recieving shadows on build

Discussion in 'Global Illumination' started by Panos2, Mar 6, 2023.

  1. Panos2

    Panos2

    Joined:
    Sep 25, 2022
    Posts:
    9
    I have created a scene with directional light. In the scene, I made a small terrain that contains trees, vegetation, and water. In the editor, everything receives real-time lighting from the directional light correctly, but in build the grass and the water plane does not. The terrain and trees create and receive shadows. I am not sure if the shaders that the grass and the water have is the issue here or if I a missing some crucial settings here.
     

    Attached Files:

  2. juniormagalhaes

    juniormagalhaes

    Joined:
    Mar 2, 2021
    Posts:
    2
    I'm having the same problem.
     
  3. Panos2

    Panos2

    Joined:
    Sep 25, 2022
    Posts:
    9
    After hours and hours of trial and error, I managed to solve it. It turns out that in Project Settings > Quality, I had to temporarily disallow low and medium Fidelities except for the High to be used in the build
     

    Attached Files:

  4. juniormagalhaes

    juniormagalhaes

    Joined:
    Mar 2, 2021
    Posts:
    2
    I fixed the email, it was just putting the Cascade in the shadow if there is only one Cascade this error happens.