Search Issue Tracker
Not Reproducible
Votes
1
Found in
2018.4
2019.4
2019.4.26f1c1
2020.3
Issue ID
1335916
Regression
No
UnityEngine.UI.ListPool<Mask> retains a reference to a Mask object after loading a new scene
How to reproduce:
1. Open the attached project
2. Open Launch Scene
3. Click Play
4. Click Go To Next Scene in the Game View
Expected result: Nothing is logged to the Console
Actual result: Memory Leak is logged to the Console
Reproducible with: 2018.4.34f1, 2019.4.26f1, 2020.3.9f1
Could not test with: 2021.1.8f1, 2021.2.0a17 (typeof(Mask).Assembly.GetTypes() does not contain ListPool)
Note:
1. The count of List<Mask> is zero, but the first element of the list is not null, but a Mask object.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Add comment