Search Issue Tracker
By Design
Votes
8
Found in
2020.3
2021.2
2022.1
2022.1.0b8
2022.2
Issue ID
1403774
Regression
No
[HDRP] 120KB of GC and slow performance when calling Camera.Render()
Reproduction steps:
1. Open the user's attached project
2. Select File > Build and Run
3. Open Window > Analysis > Profiler
4. Observe ScriptRunBehaviourUpdate
Expected result: ScriptRunBehaviourUpdate doesn't take up a lot of CPU
Actual result: ScriptRunBehaviourUpdate takes up around 30-60% of the total CPU
Reproduced with: 2020.3.31f1, 2021.2.15f1, 2022.1.0a11, 2022.2.0a8
Could not test with: 2019.4.36f1 (errors in the build)
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
Camera.Render() isn't supported by HDRP
AOV documentation for HDRP:
https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@14.0/manual/AOVs.html