Search Issue Tracker
Fixed in 2018.4.X
Fixed in 2019.1.X, 2019.2.X
Votes
0
Found in
2018.1.0a1
2018.2.3f1
2018.3.0a1
2019.1.0a1
Issue ID
1094084
Regression
No
Taking Editor sample adds up released render textures memory usage
How to reproduce:
1. Open the "RenderTexture Test.zip" project
2. Open the "SampleScene.unity" scene
3. Open Profiler
4. Select Memory tab
5. Select Detailed view
6. Press "Take Sample Editor"
7. Check the "RenderTexture" memory usage under the "Scene Memory"
8. Select "Main Camera" in the Hierarchy
9. Disable/Enable the camera for a few times (Check the console to see how script creates/releases render textures)
10. Take Editor sample again
Actual result: The sample's RenderTexture count and memory used is increasing.
Reproducible with: 2019.1.0a13, 2018.3.1f1, 2018.2.20f1, 2018.1.9f2, 2017.4.17f1.
Notes:
Entering play mode resets the memory used by Render Textures.
The issue is a cosmetic issue since the ram is not actually used.
------------
Fixed in 2019.3.0a3, 2019.2.0b4, 2019.1.8f1, 2018.4.2f1.
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
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
Resolution Note (fix version 2018.4):
The memory usage is fixed, but RenderTexture should be destroyed with Destroy() or DestroyImmediate() to clear the render textures count.