Search Issue Tracker
Fixed in 5.3.6
Votes
0
Found in
5.4.0b14
Issue ID
795429
Regression
No
Render Textures are leaking through scenes (Reflection probes)
Steps to reproduce:
1. Open attached project "AssetBundleBuildScene.zip"
2. Open build settings and set build mode to developement with "Autoconnect profiler" enabled
3. Build and run project
4. In profiler, grab snapshot of detailed memory. Under "Not Saved" inspect Materials and RenderTexture
5. Get back to built exe and change scene by clicking left mouse button
6. Get back to profiler and grab another snapshot
7. Notice that number of materials is increased although scenes are identical. Also, although scene two is loaded, there are reflection probes that reference the first scene
Note: On each scene change, number of materials is increased and after a number of scene changes there can accumulate as many as 100 of them
Reproduced with: 5.4.0b14, 5.4.0b18
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment