Search Issue Tracker

Not Reproducible

Votes

0

Found in

2017.2.0f3

Issue ID

1097904

Regression

No

[iOS] Memory leak when invoking typeof(float[]).IsEnum

iOS

-

To reproduce:

1. Download attached project "Dbase_Test.rar" and open in Unity
2. Open "0" scene
3. Build for iOS
4. Deploy the Xcode project to the iOS device
5. Check Xcode Memory Info

Expected results: Memory will stay fixed every time when invoking typeof(float[]).IsEnum
Actual results: Memory will increase every time when invoking typeof(float[]).IsEnum

Notes:
- This issue does not reproduce on Windows Standalone, macOS Standalone, and Android (both mono and il2cpp)
- If You change typeof(float[]).IsEnum to typeof(float).IsEnum Memory will not increase

Tested with:
- iPhone SE, iOS: 11.4.1 - Reproduced
- iPhone 7s Plus, iOS: 12.0 - Reproduced
- iPhone X, iOS: 12.1 - Reproduced

Reproduced on Unity 2017.4.0f1, 2017.4.14f1, 2018.1.9f2, 2018.2.15f1, 2018.3.0b9 and 2019.1.0a8

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.