found it. it was king related as he is the only one that has a text entry dialogue option. entering text and talking to someone else cause them to try and fill in data to a non existent variable so dialogue system crashes. fixed now and i also fixed a few other problems with the dialogue system and removed unused code so hopefully something like this wont happen again.