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

Graphics Jobs - Real-time lights disappear?

Discussion in 'General Graphics' started by xDavidLeon, Aug 5, 2016.

  1. xDavidLeon

    xDavidLeon

    Joined:
    Jun 9, 2014
    Posts:
    123
    Hi everyone,

    I upgraded to 5.4 and noticed that when Graphics Jobs was enabled, all real-time pointlights in the scene became invisible.

    It only happens in builds. Tested it on Windows x64 and PlayStation 4 builds.

    Is this a known issue?

    I'ma attaching a screenshot of graphic jobs enabled vs disabled. Notice the candle on the right and the far away lights.
     

    Attached Files:

  2. JaredMerritt

    JaredMerritt

    Joined:
    Oct 8, 2012
    Posts:
    53
    Check your dynamic light settings for your default quality. It may be that you haven't got enough dynamic lights in the scene.

    Your project looks great by the way! Got a website or facebook page I can check out?
     
  3. xDavidLeon

    xDavidLeon

    Joined:
    Jun 9, 2014
    Posts:
    123
    Hey man! Thanks, the game is Aragami, you can just follow my twitter or the studio's twitter to follow updates.

    I can't find the 'dynamic light settings', and the 'pixel light count' is only used in Forward Rendering as far as I know. Also, it only happens on builds, but not in the editor.
     
  4. JaredMerritt

    JaredMerritt

    Joined:
    Oct 8, 2012
    Posts:
    53
    Can you take a picture of your quality settings for me? Might be able to help out!
     
  5. xDavidLeon

    xDavidLeon

    Joined:
    Jun 9, 2014
    Posts:
    123
    Sure thing!
     

    Attached Files:

    • test.PNG
      test.PNG
      File size:
      96.8 KB
      Views:
      1,357
  6. JaredMerritt

    JaredMerritt

    Joined:
    Oct 8, 2012
    Posts:
    53
    Your pixel light count should be higher just in case, try increasing that to fix the issue. If it doesn't work, make sure that you have quality settings for all builds.
     
  7. xDavidLeon

    xDavidLeon

    Joined:
    Jun 9, 2014
    Posts:
    123
    Managed to reproduce it. Just create a group of point lights, go to Player Settings -> Enable Graphics Jobs and Deferred rendering. Make build and run it. Notice how it only shows 1 of the lights.

    Attaching the full project (just 1 Mb). Just tested it with an empty project and Unity 5.4.0f3.

    Also, bug report: https://fogbugz.unity3d.com/default.asp?821028_j34k6f755f5ra3e1
     

    Attached Files:

  8. xDavidLeon

    xDavidLeon

    Joined:
    Jun 9, 2014
    Posts:
    123
    Just noticed that if you remove the real-time shadows from ALL the point lights they get rendered properly. Will continue investigating.
     
  9. Silent8Strike

    Silent8Strike

    Joined:
    Mar 10, 2014
    Posts:
    29
    I had the same issue and had a hell of a time narrowing it down to graphics jobs. One thing I noticed is that any spotlights in the scene will work fine, even though all the point lights are gone.
     
  10. DoubleIsLoveDoubleIsLife

    DoubleIsLoveDoubleIsLife

    Joined:
    Nov 29, 2014
    Posts:
    31
    I'm having this issue as well. It's amazing that so few people have noticed this. Graphics jobs is entirely useless for me with this bug.
     
  11. xDavidLeon

    xDavidLeon

    Joined:
    Jun 9, 2014
    Posts:
    123
    I guess nobody uses Graphics Jobs? Which is a shame, really, as I feel we need a way to bump up performance on some systems.
     
  12. DoubleIsLoveDoubleIsLife

    DoubleIsLoveDoubleIsLife

    Joined:
    Nov 29, 2014
    Posts:
    31
    If unity fixes this graphics jobs bug the performance would be much better. It seems graphics jobs is pretty good with lighting since I get a good 10-15 fps increase with it on in the editor, with six lights rendering in deferred rendering. But this bug needs to be fixed asap, I mean, who isn't going to have a realtime light in their game?
     
  13. xDavidLeon

    xDavidLeon

    Joined:
    Jun 9, 2014
    Posts:
    123
  14. DoubleIsLoveDoubleIsLife

    DoubleIsLoveDoubleIsLife

    Joined:
    Nov 29, 2014
    Posts:
    31
    Can't wait until I can actually use graphics jobs.
     
  15. xDavidLeon

    xDavidLeon

    Joined:
    Jun 9, 2014
    Posts:
    123
    Working now as of 5.4.3p1