facebook-sdk-for-unity icon indicating copy to clipboard operation
facebook-sdk-for-unity copied to clipboard

IL2CPP error for method 'System.Void Facebook.Unity.CodelessUIInteractEvent::Update()' in assembly

Open miaotaoii opened this issue 2 years ago • 6 comments

Checklist

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] version Android

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

image

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

miaotaoii avatar Aug 25 '22 02:08 miaotaoii

I am encountering the same error in Unity 2019.2.2f1

skhirosh avatar Sep 21 '22 23:09 skhirosh

I am encountering the same error in Unity 2019.4.36f1 when building xcode project.

lymancao avatar Oct 25 '22 02:10 lymancao

are there any solutions?

grapherfmy avatar Nov 01 '22 10:11 grapherfmy

same error, Unity 2020.3.39f1

danielebanovaz avatar Dec 16 '22 14:12 danielebanovaz

Same here. No fixes? This whole plugin is just a mess.

derwaldgeist avatar Jan 22 '23 18:01 derwaldgeist

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.

lymancao avatar Feb 01 '23 10:02 lymancao