Search Unity

Removing shadows in editor, but shadows return in playmode

Discussion in 'General Discussion' started by moltke, Sep 17, 2022.

  1. moltke

    moltke

    Joined:
    Apr 28, 2019
    Posts:
    109
    this video shows that i remove the shadows from the lightsource but the shadows return in playmode.



    any way i can get around this?
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    5,882
    Is there maybe a script running when entering playmode that changes light shadow settings?
     
  3. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    10,139
    Did you remember to rebake your lightmaps? That's a baked light.
     
    IllTemperedTunas likes this.
  4. moltke

    moltke

    Joined:
    Apr 28, 2019
    Posts:
    109
    it was realtime, i changed it to bake to see if it would stop it from happening
     
  5. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,822
    What quality setting are you on in the editor? And what quality setting is your game using at runtime?
    Lower quality settings usually have shadows turned off.