Page 1 of 1

Display Alerts during Conversation not working on iOS?

Posted: Mon Sep 07, 2015 8:46 am
by danthepob
Hi there,

Wondering how can I debug this. Currently I have the "Allow Alerts during conversation" checkbox selected and it's working fine in Unity's Game view. However, when I build my app for iOS, the alerts come at the end of the conversation as opposed to during the time the Alert variable is set.

I tried searching the forums but didn't see anything similar.

Re: Display Alerts during Conversation not working on iOS?

Posted: Mon Sep 07, 2015 11:33 am
by Tony Li
Hi,

I just tested this on an iPad 2 and it works, if that gives you any peace of mind to start with. I used the Dialogue System version 1.5.5 and Unity 4.6.7. The core code for this hasn't changed in quite a while, so if you're using Unity 5.x or Dialogue System 1.5.0+ (maybe earlier), it should work the same.

Are you perhaps loading a different Dialogue Manager GameObject in iOS? Make sure the checkbox is ticked and the check frequency is set to something above 0. I tested with 0.5.

Check for errors in the log. If you don't have any other tools to do this, you can use this Log Viewer plugin. You might want to set the Dialogue Manager's Debug Level to Info temporarily.

If you build for any other platforms, such as Mac standalone, do alerts show up correctly?

Re: Display Alerts during Conversation not working on iOS?

Posted: Mon Sep 07, 2015 11:50 pm
by danthepob
Ah you're right! I was loading another Dialogue Manager object since it transitioned from another scene. Okay, it works great now. Thanks! :D

Re: Display Alerts during Conversation not working on iOS?

Posted: Tue Sep 08, 2015 8:33 am
by Tony Li
Glad it's working now!