I'm dabbling with a native plugin in unity 2019, for Mac OS. So far I've got a native NSAlert modal dialog box to appear but when it does Unity freezes, I was expecting Unity to freeze until pressing the NSALERT ok button but when you press the ok button it doesn't dismiss the dialog box and Unity hangs. My code: in the .mm file the only thing i do is:- NSRunAlertPanel(@"Title", @"This is your message.", @"OK", nil, nil); Any ideas?