- Home /
Question by
kwikdev · Nov 16, 2018 at 04:30 PM ·
facebooksdknull reference exception
Facebook SDK 7.14 causes Unity GUI to repeat 'NullReferenceException: Object reference not set to an instance of an object' in Unity Editor 2018.2
When using Facebook SDK in Unity Editor, this side effect is present in Facebook SDK 7.13 and 7.14, when using Unity 2018 (and previously 2017).
Repro steps:
Install Facebook SDK 7.14 in Unity 2018.2
Activate the Facebook dialog in Unity Editor (GUI debug window)
Press Send Cancel button
Result:
Console fires the NullReferenceException event, repeatedly.
Does not go away if playback stopped.
List item
Have to restart Unity Editor to clear it.
Problem:
The Console is filled with useless error lines, making debugging tedious for Facebook related development in Unity.
Questions:
Are others seeing this same issue?
Any workarounds? Seems the bug originates deep in the SDK.
screen-shot-2018-11-16-at-82313-am.png
(29.7 kB)
screen-shot-2018-11-16-at-82320-am.png
(89.9 kB)
Comment