--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/63819467-4141-4d0d-a0b1-f159ec1a2351%40googlegroups.com.
Hi folks,We don't have a solution for this yet, it's in our queue. For the moment, your workaround of disabling IL2CPP on Android is the way to go.Cheers,Stewart
On Tue, Nov 15, 2016 at 2:48 PM, <c.santa...@brbent.com> wrote:
Same issue here. I have been trying to integrate Firebase into a project and finally figured out it was due to IL2CPP. Turned it to Mono2 and it worked immediately.Anybody know what can be done to get this to work with IL2CPP?
On Monday, November 14, 2016 at 7:10:02 AM UTC-8, pikachu wrote:Hello,
I checked out the messaging sample app (https://github.com/firebase/quickstart-unity/tree/master/messaging/testapp), and try to build for Android platform. With the scripting backend option is Mono2x, everything is working ok on device, but with option IL2CPP, the Android logcat shows following errors on Firebase initialize method:
11-14 10:31:17.233: E/Unity(5088): Couldn't open /data/app-lib/com.firebase.testfcm-1/libApp.so, error: Cannot load library:
11-14 10:31:17.233: E/Unity(5088): System.Threading.Tasks.<Post>c__AnonStorey0:<>m__0(Object)
11-14 10:31:17.233: E/Unity(5088): [ line 125]
11-14 10:31:17.233: E/Unity(5088): (Filename: Line: 125)
11-14 10:31:17.253: I/Unity(5088): DllNotFoundException: Unable to load DLL 'App': The specified module could not be found.
11-14 10:31:17.253: I/Unity(5088): at Firebase.AppUtilPINVOKE+SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_AppUtil (Firebase.ExceptionDelegate applicationDelegate, Firebase.ExceptionDelegate arithmeticDelegate, Firebase.ExceptionDelegate divideByZeroDelegate, Firebase.ExceptionDelegate indexOutOfRangeDelegate, Firebase.ExceptionDelegate invalidCastDelegate, Firebase.ExceptionDelegate invalidOperationDelegate, Firebase.ExceptionDelegate ioDelegate, Firebase.ExceptionDelegate nullReferenceDelegate, Firebase.ExceptionDelegate outOfMemoryDelegate, Firebase.ExceptionDelegate overflowDelegate, Firebase.ExceptionDelegate systemExceptionDelegate) [0x00000] in <filename unknown>:0
11-14 10:31:17.253: I/Unity(5088): at Firebase.AppUtilPINVOKE+SWIGExceptionHelper..cctor () [0x00000] in <filename unknown>:0
11-14 10:31:17.253: I/Unity(5088): at System.Collections.Generic.Dictionary`2+Transform`1[TKey,TValue,TRet].EndInvoke (IAsyncResult result) [0x00000] in <filename unknown>:0
11-14 10:31:17.253: I/Unity(5088): at System.Threading.Tasks.TaskScheduler+<
Has anyone have same problems?
Thank you.
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/8062d1bb-5614-491e-9f5a-6f8750311bee%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/321eccbb-ad02-4512-80e1-dcbf644104cb%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/c36f6756-4be4-4e1b-98b8-45029f83ad7c%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/c36f6756-4be4-4e1b-98b8-45029f83ad7c%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/FYOrunc5rZ4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/CANJbYvB9gpnLK7NP5C3mB%3DGk5%3DiQNFZLcNEA4Jvkc4zRyQPsLw%40mail.gmail.com.
True, the typical use case for the Unity/Firebase user probably won't be too CPU intensive... but there are a few of us out there doing things in Unity that are a bit higher performance ;)
The IL2CPP runtime does run JIT for GC and whatnot, but all of the user defined scripts are compiled AOT into native libraries.
Java running in the Dalvik VM directly has somewhat comparable performance to native code, but when you throw the fact that Unity is running Scripts in Mono and running Mono in Dalvik the script performance tends to get pretty bad. IL2CPP cuts out mono, which Nets a surprisingly meaningful performance boost despite Dalvik still being there as a performance bottleneck on memory allocation and whatnot.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.--To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/c36f6756-4be4-4e1b-98b8-45029f83ad7c%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/FYOrunc5rZ4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/CANJbYvB9gpnLK7NP5C3mB%3DGk5%3DiQNFZLcNEA4Jvkc4zRyQPsLw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/CAH-f0V%3DoxQzi9vc26CZDOLcuK3r8_Uod_xWRd95hAxvEE0WeXg%40mail.gmail.com.
BTW We applied your suggested patch and it looks like it's working just need to validate with all services before we publish.w.r.t perf, the rough way it goes is this..Dalvik (whatever JVM) runs as a native process, the code running under the process is JIT'd to machine code which has ok performance at the potential expense of portability unless you're using Java-->Obj-C etc.Mono is running as a native thread (i.e not under the JVM, though the JVM will exist in the same process). IL (generated from your C#) runs in Mono which will also JIT to machine code generating pretty good performance.When you use IL2CPP you'll end up with C/C++ that's compiled directly to machine code reducing startup times (due to JIT) and potentially resulting in slightly more perf gains when compared to JIT due to heaps of time engineers have spent optimizing GCC, Clang etc. Like I said before, this does result in a larger package if you're targeting multiple architectures as the compilation is ahead of time so you need to ship a separate binary for each arch.IL2CPP is not a panacea for perf problems it's merely a tool that could help squeeze some additional performance gains out of your app, but really you need to profile and see where your bottlenecks are.Cheers,Stewart
On Wed, Nov 16, 2016 at 4:12 PM, Chance Santana-Wees <c.santa...@brbent.com> wrote:
True, the typical use case for the Unity/Firebase user probably won't be too CPU intensive... but there are a few of us out there doing things in Unity that are a bit higher performance ;)
The IL2CPP runtime does run JIT for GC and whatnot, but all of the user defined scripts are compiled AOT into native libraries.
Java running in the Dalvik VM directly has somewhat comparable performance to native code, but when you throw the fact that Unity is running Scripts in Mono and running Mono in Dalvik the script performance tends to get pretty bad. IL2CPP cuts out mono, which Nets a surprisingly meaningful performance boost despite Dalvik still being there as a performance bottleneck on memory allocation and whatnot.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/c36f6756-4be4-4e1b-98b8-45029f83ad7c%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/FYOrunc5rZ4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/CANJbYvB9gpnLK7NP5C3mB%3DGk5%3DiQNFZLcNEA4Jvkc4zRyQPsLw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
BTW We applied your suggested patch and it looks like it's working just need to validate with all services before we publish.w.r.t perf, the rough way it goes is this..Dalvik (whatever JVM) runs as a native process, the code running under the process is JIT'd to machine code which has ok performance at the potential expense of portability unless you're using Java-->Obj-C etc.Mono is running as a native thread (i.e not under the JVM, though the JVM will exist in the same process). IL (generated from your C#) runs in Mono which will also JIT to machine code generating pretty good performance.When you use IL2CPP you'll end up with C/C++ that's compiled directly to machine code reducing startup times (due to JIT) and potentially resulting in slightly more perf gains when compared to JIT due to heaps of time engineers have spent optimizing GCC, Clang etc. Like I said before, this does result in a larger package if you're targeting multiple architectures as the compilation is ahead of time so you need to ship a separate binary for each arch.IL2CPP is not a panacea for perf problems it's merely a tool that could help squeeze some additional performance gains out of your app, but really you need to profile and see where your bottlenecks are.Cheers,StewartOn Wed, Nov 16, 2016 at 4:12 PM, Chance Santana-Wees <c.santa...@brbent.com> wrote:
True, the typical use case for the Unity/Firebase user probably won't be too CPU intensive... but there are a few of us out there doing things in Unity that are a bit higher performance ;)
The IL2CPP runtime does run JIT for GC and whatnot, but all of the user defined scripts are compiled AOT into native libraries.
Java running in the Dalvik VM directly has somewhat comparable performance to native code, but when you throw the fact that Unity is running Scripts in Mono and running Mono in Dalvik the script performance tends to get pretty bad. IL2CPP cuts out mono, which Nets a surprisingly meaningful performance boost despite Dalvik still being there as a performance bottleneck on memory allocation and whatnot.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/c36f6756-4be4-4e1b-98b8-45029f83ad7c%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/FYOrunc5rZ4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/CANJbYvB9gpnLK7NP5C3mB%3DGk5%3DiQNFZLcNEA4Jvkc4zRyQPsLw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/CAH-f0V%3DoxQzi9vc26CZDOLcuK3r8_Uod_xWRd95hAxvEE0WeXg%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/FYOrunc5rZ4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/CANJbYvC8Ujn0AtrwVObjq%2BDYScmHOwbwFG4ceAhzg9UHERtKwQ%40mail.gmail.com.