Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

New 2D global light is working but point light don't

Discussion in '2D' started by franfox, Aug 17, 2019.

  1. franfox

    franfox

    Joined:
    Jul 13, 2017
    Posts:
    3
    Hi,

    I'm following this tutorial to use the new 2D lighting system on 2019.2 but when I put a point light or freeform light I can see it in the scene window but not in the game, however global light it's working. Any suggestion?

    Thanks
     

    Attached Files:

  2. AntonTsirov

    AntonTsirov

    Joined:
    Aug 14, 2019
    Posts:
    3
    Helloooo,

    I am quite new to Unity and just started trying stuff with 2D Lights as well.
    I am not really sure about your problem, if you try to set the point light Z position to >0?
    Or maybe just delete it and create it again? If you have touched something that is making the problem.
     
  3. franfox

    franfox

    Joined:
    Jul 13, 2017
    Posts:
    3
    Z Position was the solution... Thanks!

    Is weird that when I create a new 2D light starts in Z position -6315.875
     
  4. AntonTsirov

    AntonTsirov

    Joined:
    Aug 14, 2019
    Posts:
    3
    Yeaah, I don't know. Maybe when you started the project you made some changes and now every new objects is created there by default.
     
  5. ed_s

    ed_s

    Unity Technologies

    Joined:
    Apr 17, 2015
    Posts:
    115
unityunity