Hi. So I'm trying to draw UI with my mod, and one of the things I have to do is measure the size of the text inside depending on the font used. However, I get NullReferenceException whenever I try to do anything with the in-game font. Code: var size = Game1.dialogueFont.MeasureString(str) This is where I get the exception, which is weird, cause I swear to God it was working. What am I missing? I'm stuck with this for a long time already and I have no idea why is this the case.