Search Issue Tracker
Fixed
Fixed in 2023.1.X, 2023.1.0a16
Votes
0
Found in
2023.1.0a8
Issue ID
UUM-12414
Regression
Yes
RenderTexture objects duplicate when recompiling scripts
Reproduction steps:
1. Open the user’s attached project
2. Open the “Assets/Scenes/SampleScene.unity” scene
3. Click Window > Analysis > Memory profiler
4. Capture a memory snapshot and open it
5. Click Unity Objects > RenderTexture
7. Observe the number of “_BlendTexture” and “_EdgeColorTexture” objects
8. Open the “Assets/Scripts/CameraTest.cs” script file, make new lines or comments and save it
9. Click Window > Analysis > Memory profiler
10. Capture a memory snapshot and open it
11. Click “Show Potential Duplicates Only”
12. Observe the number of “_BlendTexture” and “_EdgeColorTexture” objects
Expected result: The number of “_BlendTexture” and “_EdgeColorTexture” objects is constant
Actual result: The number of “_BlendTexture” and “_EdgeColorTexture” objects is increased after every recompile
Reproducible with: 2023.1.0a1, 2023.1.0a8
Not reproducible with: 2021.1.14f1, 2022.2.0b6
Couldn't test with: 2020.3.38f1, 2021.3.8f1 (couldn’t downgrade)
Reproducible on: Windows 10 Pro 21H2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment