- Home /
iOS game crashes instead of showing an ad after Unity Ads package was updated to the latest version (3.7.1 as of writing)
Basically, it says in log output in Xcode:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** +[NSString stringWithUTF8String:]: NULL cString' terminating with uncaught exception of type NSException
I have no idea what to do here. Anyone had similar situation? I don't know how to fix it. Everything works well with older Unity Ads version, it shows ads and all.
Answer by AshwinMods · Apr 29, 2021 at 08:03 AM
Hi @spilat12
I was facing exactly the same issue, this worked for me.
I suggest that you try the solution by this Angel right here ( @JindoBlu )
(SOLUTION)
" changed Advertisment.Show() to Advertisment.Show("video") "
or whatever the override you were using, just use the one with "AdPlacementID"
ref : https://forum.unity.com/threads/calling-video-ad-crashes-the-app.1092520/