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

LWRP rendering is too dark on some mobile devices

Discussion in 'General Graphics' started by almosr, Apr 28, 2019.

  1. almosr

    almosr

    Joined:
    Jul 16, 2017
    Posts:
    14
    I have just upgraded to Unity 2019.1 and pleasantly discovered that LWRP is now production ready (I am using 5.13.0). After upgrading our test project I was shocked by the massive speed improvement on some Android devices. Two thumbs up!

    However...
    There is a big difference in the lighting on some Android devices. Here is a scene rendered correctly on Samsung Tab A 10.5:
    samsung_tab_a_10_5.jpg
    And the same scene on Pixel 3 which is way too dark:
    pixel3.png

    As you can see the UI elements are rendered correctly (button, properties at the bottom), while everything which is 3D rendered was just not lit properly. There is only one directional light in the scene which is slightly rotated, plus ambient lighting is set to color (#B4B4B4).
    There are no post-processing effects set up.

    Any idea why does this happen?
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,857
    Hi!
    A fix is coming soon :)
    I'll drop a line when it's there.
     
    almosr and Tartiflette like this.
  3. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,857
    2019.1.4f1 will have a fix for this.
     
    almosr likes this.
  4. almosr

    almosr

    Joined:
    Jul 16, 2017
    Posts:
    14
    Thank you for the update, looking forward to it.
     
  5. almosr

    almosr

    Joined:
    Jul 16, 2017
    Posts:
    14
    I can confirm that this issue has been fixed.
    There are new issues now, but that is a different question. :)
     
  6. Temka_193

    Temka_193

    Joined:
    Oct 24, 2015
    Posts:
    45
    I have the same problem on Unity 2019.2.0f1 and Unity 2019.3.0a11 (color space - linear)

    Editor:
    1.png

    Android:
    2.png
     
  7. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,857
    Temka_193 likes this.
  8. Temka_193

    Temka_193

    Joined:
    Oct 24, 2015
    Posts:
    45
  9. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,857
  10. Flindt

    Flindt

    Joined:
    Dec 28, 2016
    Posts:
    78
    @aleksandrk i have the same issue on IOS 12.4.1 and Unity 2019.2.0f1 - is it fixed in 2019.2.x?
    Same question - what can i do to make it go away?
    It does not seems to be present in other projects or scenes?
     
  11. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,857
    @Flindt iOS does things very differently, so it's a different bug, I guess. Can you please submit a bug report?
     
  12. Temka_193

    Temka_193

    Joined:
    Oct 24, 2015
    Posts:
    45
  13. Temka_193

    Temka_193

    Joined:
    Oct 24, 2015
    Posts:
    45
    You can help me?
     
  14. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,857
  15. angel1st

    angel1st

    Joined:
    Nov 16, 2019
    Posts:
    35
    @aleksandrk - I am on Unity 2019.2.14f1, LWPR with standard post processing stack and I have experienced the very same issue as described above on Android devices. Does it mean the issue has regressed?
     
  16. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,857
    @angel1st no, it's still not fixed on 2019.2.
     
  17. angel1st

    angel1st

    Joined:
    Nov 16, 2019
    Posts:
    35
    @aleksandrk - Any planned timeframe on that? Or at least can I have a link to the issue, so I can monitor and see when / if it will be fixed?
     
  18. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,857
    @angel1st the link is a couple of messages above :)
     
  19. angel1st

    angel1st

    Joined:
    Nov 16, 2019
    Posts:
    35
    Correct for the link, I assume the time for fix is not estimated?
     
  20. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,857
    That's correct.
    I will take a look soon, though :)
     
  21. angel1st

    angel1st

    Joined:
    Nov 16, 2019
    Posts:
    35
    @almosr, @aleksandrk - while waiting for the fix, what would be possible workaround solution, applicable for 2019.2? Apart from the most obvious one to disable post processing?
     
  22. BattleAngelAlita

    BattleAngelAlita

    Joined:
    Nov 20, 2016
    Posts:
    400
    angel1st likes this.
  23. sajjadgameactor

    sajjadgameactor

    Joined:
    May 27, 2015
    Posts:
    8
    I had same problem and I fix it by changing color space from linear to gamma

     
    Sanjay112000 likes this.
  24. Sanjay112000

    Sanjay112000

    Joined:
    Nov 9, 2020
    Posts:
    10
    Thank you it helped me