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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Add comment