Hello. Why doesn't the dialogue work after the build? In the Unity editor, the dialog works.
After the build, a message appears:
Dialogue System: No dialogue database is assigned.
Dialogue database is included in the editor.
Dialogue doesn't work after build.
Re: Dialogue doesn't work after build.
Hi,
Open your build settings window, and check from the first scene in the list. The first Dialogue Manager to exist will continue to survive scene changes at runtime, replacing the Dialogue Managers in subsequent scenes. Make sure that first Dialogue Manager is configured the way you want. I recommend saving a copy of that Dialogue Manager as a prefab or prefab variant, and using it in any other scenes where you've placed a Dialogue Manager for in-editor playtesting. That way any changes you make to the prefab will automatically be reflected in all of the scenes that reference the prefab.
Open your build settings window, and check from the first scene in the list. The first Dialogue Manager to exist will continue to survive scene changes at runtime, replacing the Dialogue Managers in subsequent scenes. Make sure that first Dialogue Manager is configured the way you want. I recommend saving a copy of that Dialogue Manager as a prefab or prefab variant, and using it in any other scenes where you've placed a Dialogue Manager for in-editor playtesting. That way any changes you make to the prefab will automatically be reflected in all of the scenes that reference the prefab.