2

(In Unity Editor) After calling FB.Login and being presented with the User Access Token popup if I login or Cancel and the popup goes away I will be hit with an endless barrage of NullReferenceExceptions:

NullReferenceException: Object reference not set to an instance of an object UnityEngine.GUI.CallWindowDelegate (UnityEngine.WindowFunction func, Int32 id, UnityEngine.GUISkin _skin, Int32 forceRect, Single width, Single height, UnityEngine.GUIStyle style)

There is no further callstack.

Is this a known problem with Unity beta or is it something I can avoid?

hey-ben
  • 61
  • 2

1 Answers1

1

I am using Unity 4.6.09b right now and I am experimenting the same issue. The only thing that helped was this Unable to verify assembly data; you must provide an authorization key when loading this assembly but it was to fix another issue.

Community
  • 1
  • 1
  • Yeah - I found the issue went away after a while then came back some time later. I sidestepped the issue by creating an auto-login step in the Facebook code so the access token window never showed up. – hey-ben Jun 10 '14 at 18:32
  • @hey-ben can you answer your solution and mark it as accepted? How did you create an auto-login step? – Victor Maia Aldecôa Sep 15 '15 at 14:31