Unity runtime: UI API called from background thread: -[NSApplication isActive] must be used from main thread only code example
Example: UI API called on a background thread
DispatchQueue.main.async {
//Do UI Code here.
//Call Google maps methods.
}