Crash iOS when Facebook post event (DEF-3397)(SOLVED)

When in facebook.post_event in params argument will be boolean value, the game will instantly crash on iOS

*** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘*** +[NSString stringWithCString:encoding:]: NULL cString’

(On android and desktop all ok)

Code to reproduce:

	local name = "Anystring"
    local value = 1
    local params = {
    	int_value = 1,
    	bool_value = false
    }
    facebook.post_event(name, value, params)

It is was very hard to find :smiley:

4 Likes

Wow, thanks for the report! Created an issue: DEF-3397

1 Like