Hi there. When I call SocialService.LinkUserFacebookAccount method it throws an error which you can see below
Invalid function pointer called with signature 'iii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)
It only happens in a webgl build.
Also here is full text of the error
So how do I fix this?