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 2D lights not working for a small amount of players

Discussion in '2D' started by dr4, Apr 15, 2023.

  1. dr4

    dr4

    Joined:
    Jan 14, 2015
    Posts:
    106
    We just released our game, we saw on some streams that some players are playing without lights, very few, but we definitely saw that happening, they open the game and none of the 2D lights or shadows are working, and it stays like that scene after scene, one actually contacted us saying that he played for a few hours, closed the game and when he opened the game again he saw that the game was totally different because of lights and shadows, we never saw that happening with anyone in the team or any tester, and we cannot replicate that, at all, is there something we can do to find the reason, or at least prevent it? I'm lost here because I cannot replicate the issue at all.
     
  2. DavidTeo

    DavidTeo

    Unity Technologies

    Joined:
    Apr 1, 2021
    Posts:
    69
    Hello @dr4 , firstly congratulations in releasing your game!
    Will you be able to share the Unity Editor version and URP package version that's used in your game, and maybe possibly share your lighting set up to have somewhere to start with.

    And also, will it be possible to share information about those players which experiences the lighting issue, such as platform and device specs if possible
     
  3. dr4

    dr4

    Joined:
    Jan 14, 2015
    Posts:
    106
    Thanks @DavidTeo! Thank you so much for answering, I tried to gather as much as possible. But isn't URP for 3D, as mentioned this is a 2D game.

    Unity Editor: 2021.2.7f1
    Universal RP: Version 12.1.2
    Players are having light issues on PC, I can't see them doing anything special, just starting the game like anyone else but with no lights.

    a user sent us an screenshot playing with the lights issues and without the lights issue, the problem seems to solve itself when they start another game, but many play for hours thinking the game just looks like that:

    upload_2023-4-18_20-40-46.png
    upload_2023-4-18_20-41-24.png
     

    Attached Files:

  4. DavidTeo

    DavidTeo

    Unity Technologies

    Joined:
    Apr 1, 2021
    Posts:
    69
    Thank you for the additional information @dr4

    I've notified the team, but while we will keep a lookout on this we still don't have much information for repro steps nor to start investigation on it.
    If you are able to provide more relevant information on this, it will be helpful.
     
  5. dr4

    dr4

    Joined:
    Jan 14, 2015
    Posts:
    106
    unfortunately I'm quite clueless as to why this is happening, we never had any issue at all and we have been using lights since they came out 4 years ago (or so, I can't remember but we added day as soon as they were released), they have been working totally fine for everyone in the team and all the testers, so I have no idea what I should be looking for, I guess I would like to know if there is a way to prevent it somehow, is there a way to refresh lights on each scene for example? So If they start the game without lights it would only affect the main screen
     
  6. karderos

    karderos

    Joined:
    Mar 28, 2023
    Posts:
    376
    i think you need to ask the players who suffer from this bug to send their system specifications so the bug can be reproduced otherwise its just guesswork

    or otherwise you should implement a bug report system that allows your game to print logs and the players can send the logs to you so you can try to see why the lights are off
     
  7. cwy_ek

    cwy_ek

    Joined:
    Dec 14, 2017
    Posts:
    4
    @DavidTeo
    is this problem solved?
    Our team found a same problem in Android (Unity 2021.3.15f1 / URP version 12.1.8)
    Reported device: Infinix X688B / OPPO RENO3 CPH2043 / Vivo Y12 1904
     
    Last edited: Oct 13, 2023
  8. JustinNaicker

    JustinNaicker

    Joined:
    Jan 4, 2023
    Posts:
    47
    I know this is rather off topic, but would you be able to tell me the name of the game?
     
  9. DavidTeo

    DavidTeo

    Unity Technologies

    Joined:
    Apr 1, 2021
    Posts:
    69

    Hello, unfortunately we still haven't found any leads nor solid repro steps on this issue. Do post any more details if any which can prove useful