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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
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