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
- Economy package throws a CS0619 error in the Console when installed together with Deployment package
- “Screen position out of view frustum” errors are thrown when zooming out in the Scene view with Rect Tool selected
- Only one [UnityOneTimeSetUp] method runs when there are 2 of them in different classes
- Crash with multiple stack traces when Sprites with a high resolution get Sliced to a Grid with a small cell size in the Sprite Editor
- The UI Builder's Data Source Object picker cannot be navigated after triggering a circular dependency dialog box
Add comment