Search Unity

Question 2D lights are not appearing in Android build

Discussion in '2D' started by imranmollajoy, Sep 29, 2020.

  1. imranmollajoy

    imranmollajoy

    Joined:
    Apr 28, 2020
    Posts:
    3
    Hello, I am using the experimental 2d lights feature in URP. In the scene there is a Global Light 2D, and some Point Light 2D.

    In the Scene view, Game view and Preview via unity Remote, Point Light 2Ds are working just as intended. However when I deploy an Android app, the Point Lights are not appearing or not rendering.
    What should I do, Am I missing anything?
    Thanks.
     
  2. Krishnan97

    Krishnan97

    Joined:
    Oct 7, 2019
    Posts:
    1
    I have the same issue. Need help
     
  3. imranmollajoy

    imranmollajoy

    Joined:
    Apr 28, 2020
    Posts:
    3
    Maybe It's a bug, though other types of 2D light are still working.
    But I am getting very low FPS while using the 2D lights. No matter if I reduce the quality of lights. Any idea how to solve this?
     
    cloud02468 likes this.
  4. Rupross

    Rupross

    Joined:
    Mar 12, 2021
    Posts:
    1
    I also have a problem with point light. In editor it shows, in PC build it shows, but whenever I build on android, it disappears.
     
  5. chrisrmorgan2

    chrisrmorgan2

    Joined:
    Dec 21, 2017
    Posts:
    1
    I have the same issue. The experimental 2D point lights work fine for me when debugging and even when I deploy to a Samsung Galaxy S20 but they don't work on a Lenovo Tab M10 at all. When I deploy to the Lenovo it's as if there are no point lights in the scene at all. I tried changing the Project Quality settings from Medium to Ultra and I tried changing the per pixel object limit in the URP Asset settings from 4 to 8 but neither setting made any difference.
     
  6. Ted_Wikman

    Ted_Wikman

    Unity Technologies

    Joined:
    Oct 7, 2019
    Posts:
    916
    Hello you all,
    Please create a bug report for this issue so that we can look into it closer.
    Thanks!
     
  7. akgamerpro20

    akgamerpro20

    Joined:
    Dec 27, 2020
    Posts:
    1
    I have the same issue. Need help
     
  8. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,492
    Did you see the post immediatley above yours?
     
  9. nicolasplacido_unity

    nicolasplacido_unity

    Joined:
    Aug 24, 2021
    Posts:
    1
    I read this somewhere else and it worked in my case:
    Project settings> Player> Other settings> shader precision model> use full sampler precision by default...