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

Question Random light underneath object

Discussion in 'Global Illumination' started by SimRuJ, Dec 15, 2021.

  1. SimRuJ

    SimRuJ

    Joined:
    Apr 7, 2016
    Posts:
    247
    Hello everyone,

    I downloaded a model from sketchfab (fbx, no extra texture files) and imported it into my scene (Unity 2021.1.24f1). The object itself looks fine but there's one weird problem:

    If you look at the object from the front or back, then you can see a weird light coming from below and when the object's positioned on the ground you can only see the light from a flat angle (probably less than 45°) - see screenshots below.

    There's only a single point light in my scene, the rest is coming form the skybox. Trying to get rid of it I changed multiple things:
    • Disable the point light
    • Set the Environment Lighting to "Color" and turn down the Intensity Multiplier
    • Give the object a different material, including Unity's "Default Material"
    The light only disappeared once I used one of my own materials and changed the shader to an "Unlit" one. As soon as I set the shader back to "Default" the light is back. The model didn't come with an extra texture file, so I have to use the provided material.

    What could be causing this and how do I fix it?

    Here are two screenshots, including the (light) settings:



     
  2. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,366
    SimRuJ likes this.
  3. SimRuJ

    SimRuJ

    Joined:
    Apr 7, 2016
    Posts:
    247
    @KEngelsoft
    Thanks for your reply!
    My settings are fine then, correct? Is there anything I can do in the meantime? Any ETA for the 2021.2 fix yet?
     
  4. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,366
    I don't have an ETA for the back port, sorry. You can keep an eye on the issue tracker. Meanwhile you can try 2022.2 to verify that it fixes your issue.
     
  5. SimRuJ

    SimRuJ

    Joined:
    Apr 7, 2016
    Posts:
    247
    @KEngelstoft
    Sorry, were you talking about 2022.2 or 2021.2? I just updated to the latter (latest available for me):
    The exact object in the images is inside a room with a single point light and it now doesn't show the weird light sphere anymore.
    But I now also use 10 more of the same object (prepared one, then ctrl-d-ed and changed name+position, so same material,...) in another room with 3 point lights lined up and 6 of these objects have that light sphere, 4 don't. I moved objects around (re-baked the lightmaps multiple times) and it looks like the position doesn't matter - once an object is affected, it can even switch position with one that isn't but it'll still show the same light after re-baking.
    Getting rid of the lightmaps ("Clear Baked Data") also gets rid of the light spheres.
     
  6. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,366
    The fix has landed and has been verified in 2022.2.0a1. The backport to 2021.2 hasn't landed yet.
     
  7. SimRuJ

    SimRuJ

    Joined:
    Apr 7, 2016
    Posts:
    247
    @KEngelstoft
    Thanks for the update! So it was 2022.2 (not 2021.2) after all. I can't use alpha versions for this project, so I'll just keep updating whenever a new version is released.
     
    KEngelstoft likes this.