GithubHelp home page GithubHelp logo

Comments (4)

joshpeterson avatar joshpeterson commented on April 20, 2024 1

Hey @bblpny, I'm a developer working on IL2CPP at Unity. Can you submit a bug report to Unity about this? I'm not quite sure where the problem lies, but the Android player should not be crashing like this in IL2CPP.

from facebook-sdk-for-unity.

bblpny avatar bblpny commented on April 20, 2024 1

hey @joshpeterson , yea I can put together a report on a fresh project. For what its worth, that crash happens when trying to bring up the login screen on device. By alterning facebooks implementation to not use reflection (and use AndroidJavaClass directly) results in no crash. I'll put together a blank project with the original 7.8.0 facebook sdk for unity that brings up the login screen and submit it.

from facebook-sdk-for-unity.

bblpny avatar bblpny commented on April 20, 2024 1

@joshpeterson I've submitted two reports just now. Each are in the same project I just created that consists of a button that when pressed calls the function that causes the crash.

The first (case 838241) is demonstrating how Android IL2CPP and projects with Facebook SDK cannot compile due to __Internal P/Invoke stuff that is unlinkable. While I don't know that this would be considered a Unity bug, I thought to share it just in case.

The second (case 838259) is using a modified version of Facebook.Unity.dll that cuts out all of the troubled iOS p/Invoke stuck in it, then disabled Facebook.Unity.IOS.dll (which is enabled for all platforms for some reason by default). This report does build and does crash, I ensured this, Even though it does not have a valid facebook app id; it crashes just fine.

If you have any follow up questions, let me know with the email i sent the reports with. Sorry for the delay in response to your github post.

from facebook-sdk-for-unity.

swiese avatar swiese commented on April 20, 2024

This should be fixed in 7.9.0 but please report bugs to https://developers.facebook.com/bugs

from facebook-sdk-for-unity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.