-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: NullReferenceException on OnPreprocessBuild for iOS #2698
Comments
Hey, thanks for the report. Looking at the stacktrace, it appears we're failing to find one of our native frameworks: realm-dotnet/Realm/Realm.UnityWeaver/UnityWeaver.cs Lines 314 to 322 in 7a4f0df
My guess is that the plugin importer is unable to find either the simulator or the device framework. Both paths are relative to your Unity root folder - can you double check that they exist in your project? |
You are right, I installed it NOT from the package manager but the 'old' way. This is why the path was wrong. Thanks! |
Thanks for confirming! I'll reopen this ticket though as we want to improve the DX here - either by being more lenient at figuring out the plugin location or by emitting a more meaningful error message. |
What happened?
Export From Unity to XCode in order to build iOS
Repro steps
Import plugin -> Export to iOS
Version
10.6.0
What SDK flavour are you using?
MongoDB Realm (i.e. Sync, auth, functions)
What type of application is this?
Unity
Client OS and version
macOS
Code snippets
No response
Stacktrace of the exception/crash you're getting
Relevant log output
The text was updated successfully, but these errors were encountered: