I recently started work on rewriting my game so I could clean up the codebase and stuff. When I got around to writing in the code for loading in content it always crashes with the error "System.NullReferenceException: Object reference not set to an instance of an object
-recompiling and reloading my content mgcb file into the game
-configuring the build settings for the mgcb to be the same as what they were in my old codebase (which, while I’m on the topic, had almost identical LoadContent code, so it’s almost certainly not that)
-checking the directories and names of the files
Probably some more small stuff that I’m forgetting too, lol. Any ideas on what’s going on? I’ve spent quite a few hours now and have been unable to resolve the issue using any solutions I’ve found online so far.