Double Dialogue Managers in Hierarchy
Posted: Sat Mar 17, 2018 8:23 pm
Hello,
I have started testing out the evaluation version of DS for my game project, and I am integrating several other assets in my game.
Currently DS seems to be having a problem with an asset named Easy Main Menu that I am also using in the same project. What happens is that after I go through the loading scene and main menu scene of the game, when the main game scene starts, there will be two Dialogue Managers created under "DontDestroyOnLoad" instead of one. This causes the main dialogue UI not to appear (I am using JRPG2) when the player engages in dialogue with the NPCs.
I narrowed down the problem to "Increment On Destroy" script which is used to detect when a quest objective is destroyed. If I take out that code out of that game object, then the second dialogue manager (the one with default dialgue UI(clone)) will not be loaded up, and the JRPG2 UI will show up.
Please advise on what I may do to fix the problem. Thanks in advance.
(Please see the attached photo for the two DM items in the hierarchy)
I have started testing out the evaluation version of DS for my game project, and I am integrating several other assets in my game.
Currently DS seems to be having a problem with an asset named Easy Main Menu that I am also using in the same project. What happens is that after I go through the loading scene and main menu scene of the game, when the main game scene starts, there will be two Dialogue Managers created under "DontDestroyOnLoad" instead of one. This causes the main dialogue UI not to appear (I am using JRPG2) when the player engages in dialogue with the NPCs.
I narrowed down the problem to "Increment On Destroy" script which is used to detect when a quest objective is destroyed. If I take out that code out of that game object, then the second dialogue manager (the one with default dialgue UI(clone)) will not be loaded up, and the JRPG2 UI will show up.
Please advise on what I may do to fix the problem. Thanks in advance.
(Please see the attached photo for the two DM items in the hierarchy)