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

Bug An error occurred in the light sort in Forward plus

Discussion in 'Universal Render Pipeline' started by amadios2445, Mar 31, 2023.

  1. amadios2445

    amadios2445

    Joined:
    Feb 10, 2020
    Posts:
    2
    Unity 2022.2, ReorderJob.cs , using the wrong "new index" for output ?
    output[newIndex] = input[index] => output[index] = input[newIndex] ?
     
  2. peterbay

    peterbay

    Unity Technologies

    Joined:
    Nov 2, 2017
    Posts:
    100
    The lights are no longer sorted on the C# side in 2022.2. Which version are you seeing this on? This change landed in 2022.2.0b16
     
  3. amadios2445

    amadios2445

    Joined:
    Feb 10, 2020
    Posts:
    2
    I tried to implement forward plus in Unity 2019.4, using the reference code from Unity 2022.2.0B8. This caused the lighting in my project to be out of order.
     
  4. peterbay

    peterbay

    Unity Technologies

    Joined:
    Nov 2, 2017
    Posts:
    100
    Ahh okay. I would recommend doing this with the latest code instead. It also adds support for reflection probes, and contains a number of bug fixes.