Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

il2cpp error with google's FireBase plugin

Discussion in '2018.1 Beta' started by z000z, Apr 19, 2018.

  1. z000z

    z000z

    Joined:
    Dec 31, 2014
    Posts:
    96
    Trying to use the Firebase plugin in my project but it looks like il2cpp doesn't like something about it, when using .net 4.x and il2cpp in iOS or Android if you try to make a build you get:

    IL2CPP error for method 'System.Boolean Firebase.Unity.UnitySynchronizationContext/SynchronizationContextBehavoir/<Start>c__Iterator0::MoveNext()' in assembly '.../Temp/StagingArea/assets/bin/Data/Managed/Firebase.Platform.dll'

    I sent a bug report in, just an empty project with the firebase plugin to keep it as simple as possible, it's Case 1028052.
     
  2. z000z

    z000z

    Joined:
    Dec 31, 2014
    Posts:
    96
    Just tried out 2018.2.0b1 and it looks like this has already been addressed there.
     
  3. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,937
    Thanks for submitting this bug report. We are investigating it now, and hope to back port the fix to a 2018.1 patch release.
     
  4. MadeFromPolygons

    MadeFromPolygons

    Joined:
    Oct 5, 2013
    Posts:
    3,982
    EDIT: Ignore me. I didnt read "backport".
     
  5. z000z

    z000z

    Joined:
    Dec 31, 2014
    Posts:
    96
    Thanks for the update!