facebook-sdk-for-unity
facebook-sdk-for-unity copied to clipboard
IL2CPP error for method 'System.Void Facebook.Unity.CodelessUIInteractEvent::Update()' in assembly
Checklist
- [ √] I've updated to the latest released version of the SDK
- [ √] I've searched for existing GitHub issues
- [√ ] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- [ √] I've read the Code of Conduct
- [√ ] This issue is not security related and can safely be disclosed publicly on GitHub
Environment
Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
- Unity Editor Version:
2019.4.17f1
- Unity SDK Version:
12.0.0
- Installation Platform & Verison:
[iOS|Android|WebGL]
versionAndroid
Goals
What do you want to achieve? build apk
Expected Results
What do you expect to happen? build success
Actual Results
What actually happened? Can you provide a stack trace? build failed
IL2CPP error for method 'System.Void Facebook.Unity.CodelessUIInteractEvent::Update()' in assembly '/Users/avidly/Desktop/projects/test/testmssdk/TestFB/Temp/StagingArea/assets/bin/Data/Managed/Facebook.Unity.dll' Additional information: Object reference not set to an instance of an object.
Exception: /Applications/Unity/Hub/Editor/2019.4.17f1/Unity.app/Contents/il2cpp/build/deploy/il2cppcore/il2cppcore.dll did not run properly!
Steps to Reproduce
What are the steps necessary to reproduce this issue?
build failed with IL2CPP
Code Samples & Details
Please provide a code sample, as well as any additional details, to help us track down the issue. If you can provide a link to a test project that allows us to reproduce the issue, this helps us immensely in both the speed and quality of the fix.
Note: Remember to format your code for readability:
// INSERT YOUR CODE HERE
I am encountering the same error in Unity 2019.2.2f1
I am encountering the same error in Unity 2019.4.36f1 when building xcode project.
are there any solutions?
same error, Unity 2020.3.39f1
Same here. No fixes? This whole plugin is just a mess.
I am encountering the same error in Unity 2019.4.36f1 when building xcode project.
Upgraded Facebook SDK from version 12 to 13.2, this error disappeared.