Display Alerts during Conversation not working on iOS?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
danthepob
Posts: 10
Joined: Mon Sep 07, 2015 8:39 am

Display Alerts during Conversation not working on iOS?

Post 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.
User avatar
Tony Li
Posts: 22102
Joined: Thu Jul 18, 2013 1:27 pm

Re: Display Alerts during Conversation not working on iOS?

Post 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?
danthepob
Posts: 10
Joined: Mon Sep 07, 2015 8:39 am

Re: Display Alerts during Conversation not working on iOS?

Post 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
User avatar
Tony Li
Posts: 22102
Joined: Thu Jul 18, 2013 1:27 pm

Re: Display Alerts during Conversation not working on iOS?

Post by Tony Li »

Glad it's working now!
Post Reply