Search Issue Tracker
Not Reproducible
Votes
6
Found in
2019.1.0a10
2019.1.1f1
2019.2.0a1
2019.3.0a1
Issue ID
1169886
Regression
Yes
[iOS] App crashes with IL2CPP initialization failed error when launching if allowRedirectBundlePath is set to false
To reproduce:
1. Open attached project "size-test.zip"
2. Open "myscene.unity" scene
3. In the top menu bar press Build > Build iOS framework
4. After the build is finished, in finder open size-test > Builds > iOS > framework-test > framework-test.xcodeproj
5. Deploy the Xcode project to iOS device (make sure to sign in Debug mode)
6. Observe as the app crashes while opening, getting this in the Xcode console:
"ERROR: Could not open /var/containers/Bundle/Application/80902588-79FF-417D-AEFB-96791593D3DF/framework-test.app/Data/Managed/Metadata/global-metadata.dat
IL2CPP initialization failed"
7. In finder open size-test > Builds > iOS > framework-test > framework-test > ViewController.m
8. On line 24 change from BOOL allowRedirectBundlePath = NO; to BOOL allowRedirectBundlePath = YES;
9. Repeat step 4 - 5
10 Observe as the app is opened
Expected: the app is opened without allowing bundle path redirection
Actual: if the bundle path redirection is not allowed then the app crashes while opening
Reproduced on:
2019.1.0a10 2019.1.12f1 2019.2.0f1 2019.3.0a11
Not reproduced on:
2018.4.5f1 2019.1.0a9
Regression introduced in:
2019.1.0a10
Device reproduced on:
iPhone 7 iOS 10.2
iPad Mini 4 iOS 11.4.1
iPad Air 2 iOS 12.3.1
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