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
- Changing "PreWarm" parameters on VFX Graph leads to significant performance drops and freeze
- Player display resolution changes to the native resolution of the monitor when Player becomes unresponsive
- [Quest] Game View is no longer rendered in the HMD if it's hidden in the Editor when using Meta Link
- Unity auto-generates code it can't compile when classes are renamed
- Terrain's "Grass Tint" Color picker has Alpha 0 by default
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