Search Issue Tracker
By Design
Votes
0
Found in [Package]
13.1.1
Issue ID
1377272
Regression
No
[HDRP] When entering the "Physically Based Sky" GameObject area the FPS is dropping
How to reproduce:
1. Open attached project "U - BUGREPORT.zip"
2. In the Game window open the Stats window
3. Enter the Play Mode and look at the FPS
4. Go straight towards "Volume sky faded" GameObject and observe the FPS when you're in the "Volume sky faded" GameObject area
Expected result: FPS is stable
Actual result: FPS is dropping (From 140 to 10)
Reproducible with: 12.1.0 (2021.2.1f1), 13.1.1 (2022.1.0a16)
Could not test with: 7.7.1 (2019.4.32f1), 10.7.0 (2020.3.24f1) (Error: "Metal: Error creating pipeline state (Hidden/HDRP/ScreenSpaceShadows): fragment shader color output does not have enough components for the pixel format (MTLPixelFormatRGBA16Float) (null)")
Notes:
- Issue is reproducible in the Editor and in the Build
- If standing still in the "Volume sky faded" GameObject area the FPS is not dropping
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
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
Resolution Note:
To be useable in realtime, the Physically Based Sky relies on very heavy precomputation that depends on a subset of its parameters. Once precomputation is done, changes in sun direction can be simulated at no additional cost.
For this reason, interpolating any of those parameters that participate in precomputation using the volume system is not recommended as it will cause a very big hit on the framerate.
The recommended use case is to decide on a fixed set of parameters to represent a particular sky in the scene and then only use the directional light to simulate different lighting conditions.
More information has been added in the doc in this PR https://github.com/Unity-Technologies/Graphics/pull/6498