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
- "Shader error in 'Shader Graphs/Master': invalid subscript 'texCoord6' at /(243) (on d3d11)" error thrown when UV2-UV7 is connected to Base Color In Fullscreen Shader Graph
- [Linux] Navigating Prefab Components in Overrides window shows rendering artifacts in the Editor
- Prefab Overrides window cuts-off Component labels across multiple Components
- Opening Memory Settings documentation from Project Settings window opens missing page
- Animated GameObjects ignore Shader keywords when running on VisionOS Player with Polyspatial
Add comment