In most cases I don't have to write the GameObject, so I'm used to not writing it, in this case when I do write the GameObject, the error doesn't appear anymore!
If you omit the GameObject, it will use the GameObject assigned to be the node's speaker. But if the Dialogue System can't determine what GameObject is associated with the speaker, it will be null. More info in case you're interested: Character GameObject Assignments