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

Rendering issue Unity 5, Assigning the sun light manually!

Discussion in 'Editor & General Support' started by RealAspireGames, Jan 20, 2016.

  1. RealAspireGames

    RealAspireGames

    Joined:
    Dec 24, 2013
    Posts:
    265
    Hello!

    Just have a quick question regarding the rendering settings. Is there anyway to assign the sun light object in the render settings on run time? I am currently making a multiplayer survival game and each player has their own weather/day&night cycle prefab and I need to be able to assign the sun in the render settings to the directional light in the scene when the player spawns in.

    Any support would be greatly appreciated.

    Thank you.
     
  2. Jordi-Bonastre

    Jordi-Bonastre

    Unity Technologies

    Joined:
    Jul 6, 2015
    Posts:
    102
  3. RealAspireGames

    RealAspireGames

    Joined:
    Dec 24, 2013
    Posts:
    265
    Yea, so it looks like this is not supported at this time. Which is extremely disappointing.
     
  4. RealAspireGames

    RealAspireGames

    Joined:
    Dec 24, 2013
    Posts:
    265
    Just wondering if this was added in 5.3.1?