when I build the game dialogues stop working (The next button does not appear)
it works in the editor
any idea how to fix it?
I went back to the dialogue course and downloaded the instructor project and it has the same problem
Yes, there is a small bug in the Dialogues code.
What happens is that we’re relying on OnValidate() to populate the Dictionary, but OnValidate() is never called in a built game.
The best solution is to take the contents of OnValidate() and put them in a new method that is NOT within the #if UNITY_EDITOR block.
This method should be called by both Awake() and OnValidate()
More info here:
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.