rjord2021
Posts: 1992
Joined: 6/14/2013 From: Sydney, Australia Status: offline
|
quote:
ORIGINAL: tofudog Hi guys, maybe some of you fine modders have an idea of what I might have been doing wrong, or what went wrong: I followed the installation instructions (or so I thought), and I can play for a few (game)years alright. But then at some point (reloading a save from before changes that point) the minimap you get when looking at ships or planets is replaced by a white box with a red x in it and the following error-message is shown: System.NullReferenceException: Object reference not set to an instance of an object. at DistantWorlds.Controls.GalaxyMap.method_6(Int32 int_4, Int32 int_5, Int32 int_6, Int32 int_7, Double double_5, Graphics graphics_0) at DistantWorlds.Controls.GalaxyMap.OnPaint(PaintEventArgs e) at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer) at System.Windows.Forms.Control.WmPaint(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) (do you need the loaded assemblies list as well?) Let me repeat that this only happens well into the game. First time around I had 1400 planets and thought that this might be an issue, but the same thing happened with 1000 planets (which I usually do to keep save/load times in check). Thanks for lending an ear (eye). The message "Object reference not set to an instance of an object" is a message I have to deal with a number of times in the mods I am making...... I do several hours of developing the mod and when I then taste the changes I may at times get the message "Object reference not set to an instance of an object" due to a typo or other error in the mod. Are you using a mod other than Bacon Mod + RetreatUE + Das Chrome when you get this error? As you are getting this era well into the game it sounds like the mod is crashing due to an error. If you are using a mod can you let me know and I will try to find the problem.
_____________________________
|