Error message: trying to invert a NIL matrix, this results in NaNs!

Just a guess, but looks like a view matrix or something associated with the camera. To invert a matrix, the determinant needs to be non zero. So if it has NaNs or is zero, you’ll get this error. But I’m not sure why it would need an inverse. Usually, the inverse is used when you click on the screen and you want to know what asset is under the mouse. Are you doing any line traces (based on screen coordinates) or anything like that (getting 3d position under mouse) when your game starts? Or anything that takes screen coordinates and converts to world 3d coordinates? Or a widget or decal that is based on the center of the screen (or any screen location) and you’re trying to project that into the scene? ANYTHING that goes from screen to 3d world coordinates? That’s where I’d start looking.

I’m guessing you’re not building the engine from source or you would have debug info and could see the names of the functions, correct?