I’ve been developing a game for iphone and ipad. 95% of the test on iphone but every once in a while I will test on ipad as well. It’s worked fine on ipad until now. The current version of game builds and runs fine on iphone but I get an error (and freeze) when trying to build and run on ipad. I do not know how to find out where this null ref exception is originated so I am reaching out for help.
ERROR:
NullReferenceException: Object reference not set to an instance of an object.
It seems to be something to do with Facebook SDK since that is the area code it was at most recently as the log indicates…
in testFBfetch set FBloggedIN = true
now assigning aToken = facebook.unity.accesstoken.currentaccesstoken next
after assigning aToken = facebook.unity.accesstoken.currentaccesstoken next
NullReferenceException: Object reference not set to an instance of an object.
If I click the yellow caution icon and look at the last reported item in Xcode it shows this… (not positive this is related but perhaps?)
FBSDKURL *parsedUrl = [FBSDKURL URLWithInboundURL:url sourceApplication:nil]; (THEN ERROR… NULL PASSED TO A CALLEE THAT REQUIRES A NON NULL ARGUMENT
(screenshot attached)
Any help would be appreciated!