Search Issue Tracker

Fixed

Fixed in 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.