Unity Dialogue & Quests: nextButtonProblem

I have a problem with next Button from UI DIALOGUE
In editor mode, it works as shown by the lecturer (I literally copied the code), but when I put it in build mode, it doesn’t show me the button ? Any suggestions?
I show pictures:


Everything works normally in Editor Mode.
Ps: sorry for my english.

This is a known issue. It turns out that OnValidate() is never called in a built player, meaning that the node lookup never gets built. The solution is to make sure that you have OnValidate() and Awake() outside of an #if UNITY_EDITOR code block, and that you call OnValidate() within Awake()

void Awake()
{
    OnValidate();
}
1 Like

Thanks for the quick reply. Now everything is working normally. Have a nice day

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms