Reproduction steps:
1. Open the attached “IN-55505_HDRP Probe NRE.zip“ project
2. Open the “LaunchScene”
3. Go to File > Build Settings…
4. Make sure the “LaunchScene” is the first one (index 0) in the Scenes In Build pane and the “OutdoorsScene” is the second one (index 1)
5. Click on “Build And Run” (select the folder of your own choosing)
6. In the Player, press the “space” key to load the “OutdoorsScene” (might take a while sometimes)
7. Observe the “Reflection Probe” GameObject producing a very bright white reflection on the “Cube” GameObject
8. Press the “escape” key to unload the “OutdoorsScene”
9. Press the “space” key again to load the “OutdoorsScene” once more
Expected result: There is a very bright white reflection on the “Cube” GameObject (just like after the 7th step)
Actual result: There is no bright white reflection on the “Cube” GameObject and a couple of NullReferenceExceptions are thrown
Reproducible with: 2021.3.31f1, 2022.3.10f1, 2023.1.16f1, 2023.2.0b12, 2023.3.0a8
Reproduced on: Windows 11 Pro (22H2)
Not reproduced on: No other environment tested
Notes:
- NullReferenceExceptions can be seen in the internally attached “Player.log” file
- To open your own “Player.log” file, select the “Open Player Log“ option in the Console window’s More Items (⋮) menu
- Reproducible only in the Player
- Reproducible in a new project
- Reproducible with D3D11, D3D12, and Vulkan Graphics APIs (other APIs are not supported by the HDRP)
- Not reproducible with the Built-in and Universal RPs