Search Issue Tracker
By Design
Votes
0
Found in
2021.3.35f1
2022.3.19f1
2023.2.9f1
7000.0.0a1
Issue ID
UUM-62689
Regression
Yes
[iOS] UnityPluginLoad fails to acquire the IUnityInterfaces pointer when starting the app
How to reproduce:
1. Build the user’s attached “iOSPluginLoadTimingIssue.zip” project for iOS platform
2. Open Xcode project and put a breakpoint at <Xcode project root>/Classes/UnityAppController.mm line 120 (UnityAppController > startUnity: > UnityInitApplicationGraphics)
3. Put a second breakpoint at <Xcode project root>/Libraries/Plugins/iOS/NativeFunctions.mm line 10. (Anywhere inside the UnityPluginLoad function)
4. Run the project on an iOS device and observe the result
Expected result: UnityPluginLoad is happening before startUnity
Actual result: startUnity is happening before UnityPluginLoad
Reproducible with: 2021.3.32f1, 2021.3.35f1, 2022.3.19f1, 2023.2.9f1
Not reproducible with: 2021.3.31f1
Could not test with: 2023.3.0b6 (Xcode errors after project upgrade)
Reproduced on:
VLNQA00494 - iPhone 14 Pro Max, 16.3.1 iOS
VLNQA00358 - iPhone 12, 14.1 iOS
VLNQA00392 - iPad (9th generation), 15.0 iOS
VLNQA00310 - iPad Pro 12.9", 13.4.1 iOS
Not reproducible on: No other environment tested
Notes:
- not reproducible with “Development Build” enabled
- ”cout” can be added in the code near breakpoints to see the result better
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
Plugin loading timing works as designed. In our tests IUnityInterfaces pointer is acquired successfully, so we are unable to reproduce the issue.