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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment