Search Issue Tracker
By Design
Votes
0
Found in
2022.3.11f1
2023.1.17f1
Issue ID
UUM-56537
Regression
No
Custom Render Pass increases memory usage when in Play Mode
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/Empty.unity” Scene
3. Enter the Play Mode
4. Observe memory usage with Task Manager or another app
Expected result: Memory usage stops increasing when in Play Mode and releases after exiting
Actual result: Memory usage increases when in Play Mode and does not release after exiting the Play Mode
Reproducible with: 2022.3.11f1, 2023.1.17f1, 2023.2.0b13, 2023.2.2f1, 2023.3.a15
Could not test with: 2021.3.32f1 (Assets\Shaders\KawaseBlur\KawaseBlur.cs(160,26): error CS0115: 'KawaseBlur.SetupRenderPasses(ScriptableRenderer, in RenderingData)': no suitable method found to override)
Reproducible on: Windows 10 Enterprise 21H2, Mac M1 Pro
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
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
Resolution Note:
BlurredLayerTextureScriptableFeature's OnCameraCleanup(CommandBuffer cmd) function sets RTHandles to null without releasing them causing the memory leak