Page 1 of 1

Changes are not applied during gaming

Posted: Sun Mar 09, 2025 7:04 am
by rahsu123
Hello, I encountered some issues while using the dialogue system. When the game is running, I used code to modify the structure of the conversation, such as adding a link to a particular node. However, I found that these changes were not applied immediately. Instead, they only took effect after I restarted the game. Do I need to call some methods to make these changes be applied immediately within the game?

Re: Changes are not applied during gaming

Posted: Sun Mar 09, 2025 7:43 am
by rahsu123
Here is a Link that I dynamically added during the game runtime using the code above. This link is displayed in red. Perhaps there is an issue with my method of adding it? I would be very grateful if you could help me identify the problem.

Re: Changes are not applied during gaming

Posted: Sun Mar 09, 2025 10:15 am
by Tony Li
Hello,

Tick the Dialogue Manager's Other Settings > Instantiate Database. Then access the database through the C# property DialogueManager.masterDatabase. Modify this copy.

Re: Changes are not applied during gaming

Posted: Mon Mar 10, 2025 3:33 am
by rahsu123
Problem is solved,appreciate your help.

Re: Changes are not applied during gaming

Posted: Mon Mar 10, 2025 8:00 am
by Tony Li
Glad to help!