I'm sure I'm missing something obvious but this comes up whenever the player character approaches even simple events with the latest version. The one that threw the error has no scripts attached, just a simple dialogue box. Going back to version 1.5.0, there is no error like this.