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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
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