I posted this in the bugs section but i have been unable to do anything with my game since it happens everytime i open the editor. Is there a way to debug it without deleting all of my maps?
For some reason when I open the editor and click a map to load i get an Unhandled exception error and have to close the editor. Happens every time. I went to one of my maps in-game and noticed lights were not working. Went into editor to check it out thats when I started getting this message.
Open editor and click on a map to load. (Doesn't happen on the first map)
///////////////////////////////////////////////////
Attach Screenshots/Other media
////////////////////////////////////////////////////
Notes from error:Â
************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at Intersect_Editor.Classes.EditorGraphics.DrawLight(Int32 x, Int32 y, LightBase light, RenderTarget2D target) in C:\Users\JC Snider\Desktop\Intersect-Engine\Intersect Editor\Classes\Core\EditorGraphics.cs:line 1246 at Intersect_Editor.Classes.EditorGraphics.DrawLights(RenderTarget2D target) in C:\Users\JC Snider\Desktop\Intersect-Engine\Intersect Editor\Classes\Core\EditorGraphics.cs:line 1237 at Intersect_Editor.Classes.EditorGraphics.ClearDarknessTexture(RenderTarget2D target, Boolean screenShotting) in C:\Users\JC Snider\Desktop\Intersect-Engine\Intersect Editor\Classes\Core\EditorGraphics.cs:line 1193 at Intersect_Editor.Classes.EditorGraphics.Render() in C:\Users\JC Snider\Desktop\Intersect-Engine\Intersect Editor\Classes\Core\EditorGraphics.cs:line 174 at Intersect_Editor.Classes.EditorLoop.RunFrame() in C:\Users\JC Snider\Desktop\Intersect-Engine\Intersect Editor\Classes\Core\EditorLoop.cs:line 84 at Intersect_Editor.Classes.EditorLoop.StartLoop() in C:\Users\JC Snider\Desktop\Intersect-Engine\Intersect Editor\Classes\Core\EditorLoop.cs:line 56Â
Question
Justn
Hello guys
I posted this in the bugs section but i have been unable to do anything with my game since it happens everytime i open the editor. Is there a way to debug it without deleting all of my maps?
Â
///////////////////////////////////////////////////
Error Description
///////////////////////////////////////////////////
For some reason when I open the editor and click a map to load i get an Unhandled exception error and have to close the editor. Happens every time. I went to one of my maps in-game and noticed lights were not working. Went into editor to check it out thats when I started getting this message.
///////////////////////////////////////////////////
Replication Steps
///////////////////////////////////////////////////
Open editor and click on a map to load. (Doesn't happen on the first map)
///////////////////////////////////////////////////
Attach Screenshots/Other media
////////////////////////////////////////////////////
Notes from error:Â
************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at Intersect_Editor.Classes.EditorGraphics.DrawLight(Int32 x, Int32 y, LightBase light, RenderTarget2D target) in C:\Users\JC Snider\Desktop\Intersect-Engine\Intersect Editor\Classes\Core\EditorGraphics.cs:line 1246 at Intersect_Editor.Classes.EditorGraphics.DrawLights(RenderTarget2D target) in C:\Users\JC Snider\Desktop\Intersect-Engine\Intersect Editor\Classes\Core\EditorGraphics.cs:line 1237 at Intersect_Editor.Classes.EditorGraphics.ClearDarknessTexture(RenderTarget2D target, Boolean screenShotting) in C:\Users\JC Snider\Desktop\Intersect-Engine\Intersect Editor\Classes\Core\EditorGraphics.cs:line 1193 at Intersect_Editor.Classes.EditorGraphics.Render() in C:\Users\JC Snider\Desktop\Intersect-Engine\Intersect Editor\Classes\Core\EditorGraphics.cs:line 174 at Intersect_Editor.Classes.EditorLoop.RunFrame() in C:\Users\JC Snider\Desktop\Intersect-Engine\Intersect Editor\Classes\Core\EditorLoop.cs:line 84 at Intersect_Editor.Classes.EditorLoop.StartLoop() in C:\Users\JC Snider\Desktop\Intersect-Engine\Intersect Editor\Classes\Core\EditorLoop.cs:line 56Â
Link to comment
Share on other sites
3 answers to this question
Recommended Posts