Search Issue Tracker
By Design
Votes
0
Found in
2022.3.11f1
2023.1.16f1
2023.2.0b13
2023.3.0a9
Issue ID
UUM-53136
Regression
No
RTHandle does not scale down when scaled up
How to reproduce:
1. Open the attached project "Custom Post Processing.zip"
2. In the Game view window change the Display resolution to "Full HD"
Expected results: Fog aligns objects in the Game view
Actual results: Fog is misaligned with the objects
Reproducible with: 2022.3.11f1, 2023.1.16f1, 2023.2.0b13, 2023.3.0a9
Could not test with: 2021.3.31f1 (the Scene is rendered pink)
Reproducible on: Windows 11 22H2
Not reproducible on: No other environment tested
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
The issue the user is seeing is because they are not using the right APIs to achieve what they want with Custom Post Processes.
- HDUtils.DrawFullScreen should be used instead of CommandBuffer.Blit to make sure the destination viewport is the right one.
- In the Shader Graph, the input color should be retrieved from the "HD Sample Buffer" node using the Post Process source (this will scale the UVs according to the current RTHandle scale).
By doing this, all scaling issues should be fixed in this use case.
More info in the Documentation: https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@17.0/manual/Custom-Post-Process.html