Search Issue Tracker
By Design
Votes
0
Found in [Package]
7.0.0
Issue ID
1201058
Regression
No
[URP][Mac] Reflection Probe produces lighting onto geometry when the Reflection Probe has a Cubemap of the Skybox's HDR image
How to reproduce:
1. Open the "Relfection probes bug" Scene in the user-supplied project
2. Observe the Scene view
Expected result: the Reflection Probe with a Cubemap does not produce light onto the Scene geometry
Actual result: the Reflection Probe with a Cubemap produces different lighting than the Baked Reflection Probe and the Skybox (see screenshot)
Reproducible with: 2019.3.0f1 (URP version 7.1.5), 2020.1.0a15 (URP version 7.1.5)
Could not test with: 2017.4.35f1, 2018.4.13f1, 2019.2.14f1
Note:
1. Reproducible when the "Armory Floor" GameObject's Material Shader is set to Universal Render Pipeline/Lit
2. Reproducible when the Scene geometry has a Mesh Renderer Component with the Reflection Probes property not set to "Off"
3. Could not reproduce in streams 2017.4, 2018.4 and 2019.2 due to URP being unavailable
4. Switching to LWRP on 2019.2.14f1 produces a pink material on the "Armory Floor" GameObjects, unable to test on LWRP
5. Not reproducible on standalone build target, reproduced on the iOS build target
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note:
The issue there is due to the custom cubemap texture having very high values. When baking the baked reflection probes with iOS build target, the cubemap values are converted to double LDR which is the cubemap encoding specific to mobiles. The color range is clamped to [0,2] and rescaled to [0,1]