Siri crashes Unity on ios7?

[EDIT]
As JobeLloyd points out below, there is a ticket for this at the Unity Issue Tracker:

At the moment of this writing it is marked as fixed, but not yet released.
[/EDIT]

Just posting to see if anyone has experience with this. We have a Unity3D app on ios that opens the keyboard and uses the results of what the user types. So far so good. But if the user hits the Siri key (the microphone on the keyboard), the app will crash. If I’m connected to XCode I get a EXC_BAD_ACCESS in SkinnedMeshRenderer.

As a workaround, I’ve tried calling down to the native layer and invoking PauseUnity(true), adding a handler and then PauseUnity(false) when the keyboard resigns, like so:

- (void)pauseUnityForKeyboard
{
    UnityPause(true);
    [[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(onKeyboardHide:) name:UIKeyboardWillHideNotification object:nil];
}
- (void)onKeyboardHide:(NSNotification *)notification
{
    UnityPause(false);
}

This averts the crash, but Unity never really recovers…processing resumes, but none of my animations do: the app is effectively frozen.

Any thoughts? Thanks!

[EDIT]
Two interesting details:

  • If I pause Unity for the keyboard, but DON’T CALL SIRI, then un-pause, everything resumes just fine.
  • I looked at the possibility of allowing microphone permission (although this shouldn’t be necessary)…so far no luck there.

[/EDIT]

I can confirm we are seeing the same bug on ios7 as well. We already pause Unity while the keyboard is up, and it also fails to recover. If i disable to pause it crashes.

Unfortunately I dont have a fix for this yet here either.