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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment