Search Unity

Facebook SDK 7.11.0 throws error on start with CodelessIAPAutoLog

Discussion in 'Editor & General Support' started by Baraphor, Mar 7, 2018.

  1. Baraphor

    Baraphor

    Joined:
    Nov 16, 2016
    Posts:
    32
    Hello,

    We just updated to the Facebook SDK 7.11.0, through the Facebook page and not the asset store.

    And when we run the game we get this error below, it does not break the editor but it does break WebGL, we are not sure why this is happening and it is behind a DLL.


    ReflectionTypeLoadException: The classes in the module cannot be loaded.
    System.Reflection.Assembly.GetTypes () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/Assembly.cs:371)
    Facebook.Unity.CodelessIAPAutoLog.FindTypeInAssemblies (System.String typeName, System.String nameSpace)
    Facebook.Unity.CodelessIAPAutoLog.FindObjectsOfTypeByName (System.String typeName, System.String nameSpace)
    Facebook.Unity.CodelessIAPAutoLog.addListenerToIAPButtons (System.Object listenerObject)
    Facebook.Unity.Editor.EditorFacebookGameObject.OnAwake ()
    Facebook.Unity.FacebookGameObject.Awake ()
    UnityEngine.GameObject:AddComponent()
    Facebook.Unity.ComponentFactory:GetComponent(IfNotExist)
    Facebook.Unity.Editor.EditorFacebookLoader:get_FBGameObject()
    Facebook.Unity.CompiledFacebookLoader:Start()
     
  2. HaakonL

    HaakonL

    Joined:
    Mar 13, 2014
    Posts:
    123
    Same issue in 7.11.1

    ReflectionTypeLoadException: The classes in the module cannot be loaded.
     
  3. vhagharvhaghar

    vhagharvhaghar

    Joined:
    Feb 19, 2015
    Posts:
    16
    Same issue here in 7.11.1, anyone found a solution to this yet ?
     
  4. Mukabr

    Mukabr

    Joined:
    Jun 10, 2013
    Posts:
    61
    Did anyone find a solution to this problem? I'm using Unity 2017.3.1p4 and Facebook SDK 7.13.0
     
    ArthurAulicino likes this.