OnConversationEnd event not being called on android
OnConversationEnd event not being called on android
Hello. I'm trying to use the events of the dialogue system, everything works well in the editor, but after compilation and testing on the android phone, the OnConversationEnd event is not called. In this case, the OnConversationStart event is called normally. What could be the reason?
Re: OnConversationEnd event not being called on android
At the same time, when I finish the dialog, the UI of the dialog system does not disappear on the android. But in the editor, everything works well and without any problems.
Re: OnConversationEnd event not being called on android
Hi,
Try playing in the editor's play mode from the first scene in build settings.
If it doesn't work, check the settings on the first Dialogue Manager that appears when you play through from the first scene.
If it does work, make a Development Build so you can get logs from the Android build.
Try playing in the editor's play mode from the first scene in build settings.
If it doesn't work, check the settings on the first Dialogue Manager that appears when you play through from the first scene.
If it does work, make a Development Build so you can get logs from the Android build.
Re: OnConversationEnd event not being called on android
I tried to boot from the first scene in the build, there is no difference.
Also, if this is important, the usual end of the dialog normally raises the OnConversationEnd event, but elsewhere, with the script, the event is not called. Script: GiveQuest("Elf", "QuestKill10SnowmenInTime");
I use the dialogue system in conjunction with the quest machine. In this case, the quest itself starts normally, the OnConversationEnd event is not called
Also, if this is important, the usual end of the dialog normally raises the OnConversationEnd event, but elsewhere, with the script, the event is not called. Script: GiveQuest("Elf", "QuestKill10SnowmenInTime");
I use the dialogue system in conjunction with the quest machine. In this case, the quest itself starts normally, the OnConversationEnd event is not called
- Attachments
-
- scr.png (14.02 KiB) Viewed 659 times
Re: OnConversationEnd event not being called on android
Hi,
Where is your OnConversationEnd event? Are you talking about the Dialogue System Events component? If so, what GameObject is it on?
After testing the Development Build and reviewing the logs from the build, please let me know if there are any error or warning messages.
Then temporarily set the Dialogue Manager's Other Settings > Debug Level to Info. When the conversation starts, it will log something like this to the Console window:
Dialogue System: Starting conversation 'XXX' with actor=AAA and conversation=BBB
Is the OnConversationEnd event on the GameObjects XXX, AAA, or BBB?
I don't understand. Does this mean GiveQuest() is called, or is not called?
What starts the quest? The GiveQuest() call in the Script field? Or something else?
Where is your OnConversationEnd event? Are you talking about the Dialogue System Events component? If so, what GameObject is it on?
After testing the Development Build and reviewing the logs from the build, please let me know if there are any error or warning messages.
Then temporarily set the Dialogue Manager's Other Settings > Debug Level to Info. When the conversation starts, it will log something like this to the Console window:
Dialogue System: Starting conversation 'XXX' with actor=AAA and conversation=BBB
Is the OnConversationEnd event on the GameObjects XXX, AAA, or BBB?
Re: OnConversationEnd event not being called on android
Also, some other scripts did not work correctly. I do not know whether it is related or not, but most likely the reason was in Firebase, or rather, that I did not copy the GoogleService-Info.plist and google-services.json files into my project. There were no problems after copying.
Re: OnConversationEnd event not being called on android
Great! I'm glad that it sounds like that fixed it.