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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment