
The script execution order didn't change anything. But I found the problem. I'm not enterly sure why. Maybe you've got an insight.
It happens in the UnityUITypewriterEffect calss.
Code: Select all
public IEnumerator Play()
{
if ((control != null) && (charactersPerSecond > 0))
{
// Setup:
InitAutoScroll();
//yield return waitOneFrameBeforeStarting ? null : new WaitForEndOfFrame();
if (audioSource != null) audioSource.clip = audioClip;
...
}
Stop();
}
It only happens if you switch a scene and the first conversation node with text gets displayed.
I hope that I have written it understandably. I'm still not sure why it breaks, but I'll investigate more.