Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2018.4.X, 2019.3.X, 2020.1.X
Votes
1
Found in
2018.3.0a1
2018.4
2019.3.0f1
2020.1
Issue ID
1211643
Regression
Yes
Enum.HasFlag allocates memory when called
How to reproduce:
1. Open attached project
2. Open the Profiler window
4. Enter Playmode
3. In the Profiler window select the CPU Usage section and enable Hierarchy view
5. Expand (PlayerLoop > Update.ScriptRunBehaviourUpdate > BehaviourUpdate)
Expected result: The EnumTest scripts Update function doesn't allocate any memory
Actual result: The EnumTest scripts Update function allocates memory
Reproducible with: 2018.3.0a1, 2018.4.17f1, 2019.2.20f1, 2019.3.0f6, 2020.1.0a22
Not Reproducible with: 2017.4.36f1, 2018.2.21f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a5
Resolution Note (fix version 2020.1):
Fixed in 2020.1.0b6
Resolution Note (fix version 2019.3):
Fixed in 2019.3.10f1
Resolution Note (fix version 2018.4):
Fixed in 2018.4.24f1