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

Bug Lens Flare in VR problem

Discussion in 'VR' started by SirEugen, Jun 26, 2023.

  1. SirEugen

    SirEugen

    Joined:
    Aug 4, 2020
    Posts:
    4
    Greetings.
    I wanna to use Lens Flare(SRP) in my VR project (Oculus 2) and stuck with next problem. When I start apk on device - sems like lens flare starts from incorrect position an this position shift when I move. From this problem I get another - Lens Flare Occlusion works incorrectly - looks pics below.
    upload_2023-6-26_11-29-14.png upload_2023-6-26_11-29-26.png


    But when I start play mode - all is fine and works correctly.
    upload_2023-6-26_11-29-40.png upload_2023-6-26_11-29-49.png

    Thanks for help)

    P.S. Unity 2022.3.3, URP 14.0.8
     
    Last edited: Jun 26, 2023
  2. EdBlais

    EdBlais

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    303
    Could you file a bug report and post the bug ID here so that I can assign this to the proper channels?
     
  3. Unifikation

    Unifikation

    Joined:
    Jan 4, 2023
    Posts:
    1,026
    Could you just fix it?

    This is a long standing problem, and widely known about:

    https://forum.unity.com/threads/lensflare-srp-does-not-work-properly-in-vr-and-urp.1249408/

    If it's a slightly different problem, all the more reasons for Unity to do internal reasoning about why it's not working in multiple instances, and begin looking into this. VisionOS round the corner, time to get VR working very, very well, please!
     
  4. SirEugen

    SirEugen

    Joined:
    Aug 4, 2020
    Posts:
    4
    Hi.
    Bug report id - IN-45666
     
    Last edited: Jun 29, 2023
  5. thep3000

    thep3000

    Unity Technologies

    Joined:
    Aug 9, 2013
    Posts:
    399