Search Issue Tracker
Fixed in 7.2.0
Votes
0
Found in [Package]
7.1.8
Issue ID
1207408
Regression
No
[HDRP] Ambient occlusion effect does not work correctly with dynamic resolution
1. To repro, extract the zipped unity project (AmbientOcclusionBug.zip), play the SampleScene
How I made this project:
Downloaded HDRP package, set up HDRP asset
Enabled dynamic resolution on Camera
Enabled dynamic resolution on HDRP asset
Add Volume component with Ambient Occlusion module
Added ChangeDynamicResPeriodically script to scene (every 1 second, decrease the resolution by 10% until reached minimum value, then increase res by 10% until reached maximum value)
2. I expect to see ambient occlusion on the cube to stay in the correct position (CaptureGood.png)
3. Instead, I see the ambient occlusion "falling down" towards the bottom of the frame as the resolution decreases. As the resolution increases, the ambient occlusion dark areas return to their correct position. (CaptureBad.png)
Notes:
If I disable Direct Lighting Strength on the Volume then the error does not occur, but I also don't see any ambient occlusion dark areas at all I assume because they have 0 strength.
This project is using 2019.3.0f3 and HDRP 7.1.7
I also saw this behaviour in 2019.2.13f1 with HDRP 6.9.2, which caused us to attempt an upgrade to see if this behaviour was fixed
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment