Comments (4)
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.
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.
@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.
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)
- FacebookSDK generates excessive permanent GC memory
- HideUnityDelegate not used on Android?
- InvalidCastException : Unable to cast object of type ‘EditorFacebook’ to type ‘AndroidFacebook’
- [Android] Auto-Logging Purchase Issue after upgrading to Play Billing Library 5 HOT 3
- DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead HOT 4
- Feature Request: Remove BOM from info.plist
- Library Conflict In unity
- Fetching profile picture results in empty texture2d HOT 1
- Exception: Too many receivers, total of 1000 HOT 1
- AndroidJavaException: java.lang.NoSuchMethodError: no static method with name='setIsUnityInit'
- FBUnityLoginActivity crash int java.lang.Enum.ordinal()' HOT 2
- Feature Request: Support App Privacy Manifest HOT 26
- missing Microsoft Xbox's build targets (using in 2020.3.x and higher) HOT 1
- [IOS] Unity Crashes on Startup with Deep Link Launch EXC_BAD_ACCESS (code=1, address=0x378) HOT 21
- Android 34 / FB SDK - can't build ( A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade ) HOT 7
- Login from developer account
- Feature Request: Request Newest Facebook SDKv17.0.0 for unity HOT 9
- Facebook SDK does not work with Unity 2023
- Feature Request: malloc deallocate buffer in iOS SDK
- iOS Graph API Calls using FB.API Fail in 17.0.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facebook-sdk-for-unity.