Search Unity

Resolved Mixed Lighting: Non-static shadows not casting on baked objects in build

Discussion in 'Global Illumination' started by MonoFlux, Dec 2, 2022.

  1. MonoFlux

    MonoFlux

    Joined:
    Jun 13, 2015
    Posts:
    39
    Hi, I am trying to make shadows of real-time objects fall on light map baked-static objects. My understanding is that mixed lighting accomplishes this.

    It seems to work perfectly in the editor's game mode but not in the build. Any suggestions?

    Thanks
     

    Attached Files:

  2. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    Please verify your Project Settings, and pay close attention to the settings used by the target platform. Perhaps realtime shadows are disabled for the platform you are deploying to?

    It would be useful if you could provide some more details, such as editor version, render pipeline used, lighting settings, etc.
     
  3. MonoFlux

    MonoFlux

    Joined:
    Jun 13, 2015
    Posts:
    39
    Thank you. It looks like real time shadows were not enabled on the build, but worked in the editor's game view.

    Thanks, was a silly mistake.
     
    kristijonas_unity likes this.