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