Cities: Skylines

Cities: Skylines

Move It
Penguin 24 Feb, 2019 @ 9:48am
NullReferenceException in output_log.txt
Hey,

Poking around in my output_log.txt after a game crash, I saw the following exception related to move it! - unfortunately I don't have anything reproducible or even a description of what I did. I know this isn't much to go on, but just thought I'd post it here in the case that it somehow helps you locate a bug:

NullReferenceException: Object reference not set to an instance of an object at ColossalFramework.UI.UIComponent.Find (System.String searchName, System.Type type) [0x00000] in <filename unknown>:0 at ColossalFramework.UI.UIComponent.Find (System.String searchName, System.Type type) [0x00000] in <filename unknown>:0 at ColossalFramework.UI.UIComponent.Find (System.String searchName, System.Type type) [0x00000] in <filename unknown>:0 at ColossalFramework.UI.UIView.FindUIComponent (System.String searchName, System.Type type) [0x00000] in <filename unknown>:0 at ColossalFramework.UI.UIView.FindUIComponent[UIComponent] (System.String searchName) [0x00000] in <filename unknown>:0 at MoveIt.UITipsWindow.RefreshPosition () [0x00000] in <filename unknown>:0 at MoveIt.UITipsWindow.OnSizeChanged () [0x00000] in <filename unknown>:0 at ColossalFramework.UI.UIComponent.set_size (Vector2 value) [0x00000] in <filename unknown>:0 at ColossalFramework.UI.UILabel.Invalidate () [0x00000] in <filename unknown>:0 at ColossalFramework.UI.UIComponent.OnVisibilityChanged () [0x00000] in <filename unknown>:0 at MoveIt.UITipsWindow.OnVisibilityChanged () [0x00000] in <filename unknown>:0 at ColossalFramework.UI.UIComponent.set_isVisible (Boolean value) [0x00000] in <filename unknown>:0 at MoveIt.MoveItTool.OnDisable () [0x00000] in <filename unknown>:0 UnityEngine.Behaviour:set_enabled(Boolean) ToolController:SetTool(ToolBase) ToolController:set_CurrentTool(ToolBase) ToolsModifierControl:SetTool() MoveIt.MoveItTool:OnToolUpdate() ToolBase:Update()

The game crash itself seems to be caused by stack overflow, but that's way further down the file and without mentioning move it! so no indication of what mod cause it - just seems to be an endless loop inside Colossal's code:

Simulation error: The requested operation caused a stack overflow. at ColossalFramework.UI.UIComponent.get_isEnabled () [0x00000] in <filename unknown>:0 at ColossalFramework.UI.UIComponent.get_isEnabled () [0x00000] in <filename unknown>:0 [...]
< >
Showing 1-3 of 3 comments
Quboid  [developer] 27 Feb, 2019 @ 7:05am 
Thanks for the feedback, I will look into the Move It error.

Did the game crash when you pressed Escape, and do you have Elektrix's Road Tools mod? I had this crash, I contacted Elektrix and he is working on a fix.
Penguin 27 Feb, 2019 @ 11:38pm 
Your welcome. Yes, I'm using Elektrix's Road Tools (and a lot of other mods), not sure on the escape question though - would imagine I'll press that a lot to exit build menus etc., so sound like it's possible. I'll try to think of it if it happens again.

Been fighting quiet a few crashes lately, was suspecting NVIDIA's RTX driver updates for introducing bugs for older graphic cards - or maybe my laptop is just dying on me. At least the
-force-d3d9
fix seems to improve it.

Btw., know of any mods that let you delete nodes from your road network? Could go quite nicely with Move It's ability to tweak curves afterwards.
Gabrielium 3 Mar, 2019 @ 8:43pm 
This glitch is fixed in my dev version and node deletion is (by the grace of complex mathematics!) being implemented into my mod.
< >
Showing 1-3 of 3 comments
Per page: 1530 50