Space Engineers

Space Engineers

Build Vision 3.0
This topic has been locked
Noxy Mar 16, 2020 @ 9:04pm
[Bug Report] Multiple crashes and client gets stuck displaying errors.
I've experienced several BV2 crashes probably related to some hidden properties from various mods:

Build Vision encountered an unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object. at Vicizlat.ModularCockpits.Boosters.<>c.<RemoveControls>b__5_1(IMyTerminalBlock b) at DarkHelmet.BuildVision2.PropertyBlock.BvTerminalPropertyBase`2.get_Enabled() at DarkHelmet.BuildVision2.BvScrollMenu.BvPropertyBox.get_Enabled() at RichHudFramework.UI.ScrollBox`1.GetMaxStart(Int32 end) at RichHudFramework.UI.ScrollBox`1.Layout() at RichHudFramework.UI.HudElementBase.BeforeLayout(Boolean refresh) at RichHudFramework.UI.HudElementBase.BeforeLayout(Boolean refresh) at RichHudFramework.UI.HudElementBase.BeforeLayout(Boolean refresh) at RichHudFramework.UI.HudParentBase.<>c__DisplayClass22_0.<GetApiData>b__4() at RichHudFramework.Internal.ExceptionHandler.Run(Action Action)

Build Vision encountered an unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object. at Vicizlat.MultifloorElevator.ElevatorSessionComp.<>c.<HideControls>b__4_5(IMyTerminalBlock b) at DarkHelmet.BuildVision2.PropertyBlock.BvTerminalPropertyBase`2.get_Enabled() at DarkHelmet.BuildVision2.BvScrollMenu.BvPropertyBox.get_Enabled() at RichHudFramework.UI.ScrollBox`1.GetMaxStart(Int32 end) at RichHudFramework.UI.ScrollBox`1.Layout() at RichHudFramework.UI.HudElementBase.BeforeLayout(Boolean refresh) at RichHudFramework.UI.HudElementBase.BeforeLayout(Boolean refresh) at RichHudFramework.UI.HudElementBase.BeforeLayout(Boolean refresh) at RichHudFramework.UI.HudParentBase.<>c__DisplayClass22_0.<GetApiData>b__4() at RichHudFramework.Internal.ExceptionHandler.Run(Action Action)

Build Vision encountered an unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object. at Cython.PowerTransmission.OpticalPowerTransmitter.<>c.<createUI>b__55_8(IMyTerminalBlock b) at DarkHelmet.BuildVision2.PropertyBlock.BvTerminalProperty`1.get_Enabled() at DarkHelmet.BuildVision2.BvScrollMenu.BvPropertyBox.get_Enabled() at RichHudFramework.UI.ScrollBox`1.GetMaxStart(Int32 end) at RichHudFramework.UI.ScrollBox`1.BeforeDraw() at RichHudFramework.UI.HudParentBase.BeforeDrawStart() at RichHudFramework.UI.HudElementBase.BeforeDrawStart() at RichHudFramework.UI.HudParentBase.BeforeDrawStart() at RichHudFramework.UI.HudElementBase.BeforeDrawStart() at RichHudFramework.UI.HudParentBase.BeforeDrawStart() at RichHudFramework.UI.HudElementBase.BeforeDrawStart() at RichHudFramework.Game.ModBase.RunSafeAction(Action action)System.NullReferenceException: Object reference not set to an instance of an object. at Cython.PowerTransmission.OpticalPowerTransmitter.<>c.<createUI>b__55_8(IMyTerminalBlock b) at DarkHelmet.BuildVision2.PropertyBlock.BvTerminalProperty`1.get_Enabled() at DarkHelmet.BuildVision2.BvScrollMenu.BvPropertyBox.get_Enabled() at DarkHelmet.BuildVision2.BvScrollMenu.BvPropertyBox.get_Visible() at RichHudFramework.UI.HudParentBase.DrawStart() at RichHudFramework.UI.HudParentBase.DrawStart() at RichHudFramework.UI.HudParentBase.DrawStart() at RichHudFramework.UI.HudParentBase.DrawStart() at RichHudFramework.Game.ModBase.RunSafeAction(Action action)System.NullReferenceException: Object reference not set to an instance of an object. at Cython.PowerTransmission.OpticalPowerTransmitter.<>c.<createUI>b__55_8(IMyTerminalBlock b) at DarkHelmet.BuildVision2.PropertyBlock.BvTerminalProperty`1.get_Enabled() at DarkHelmet.BuildVision2.BvScrollMenu.BvPropertyBox.get_Enabled() at DarkHelmet.BuildVision2.BvScrollMenu.BvPropertyBox.get_Visible() at RichHudFramework.UI.HudElementBase.HandleChildInput() at RichHudFramework.UI.HudElementBase.ShareInput() at RichHudFramework.UI.HudElementBase.HandleInputStart() at RichHudFramework.UI.HudElementBase.HandleChildInput() at RichHudFramework.UI.HudElementBase.HandleInputStart() at RichHudFramework.UI.HudElementBase.HandleChildInput() at RichHudFramework.UI.HudElementBase.ShareInput() at RichHudFramework.UI.HudElementBase.HandleInputStart() at RichHudFramework.UI.HudElementBase.HandleChildInput() at RichHudFramework.UI.HudElementBase.HandleInputStart() at RichHudFramework.Game.ModBase.RunSafeAction(Action action)

In the past this would pop up an error with an option to reload build vision ... now it just seems to repeat the error over and over making it impossible to even quit normally.

Being unable to ignore a in the past non critical error is fairly frustrating.

Hope you can fix this ;)
< >
Showing 1-3 of 3 comments
chfish Mar 16, 2020 @ 9:24pm 
I am having the same error
Dark Helmet  [developer] Mar 16, 2020 @ 10:04pm 
Working around the problem with the properties was fairly straightforward, but I've never seen the exception handler freak out like it did when I tested this myself. I'd say it was almost funny if I hadn't just rewritten the thing!

Anyways, I've uploaded a fix for this problem. It seems to be doing the trick on my end. Let me know if you notice anything else.
Last edited by Dark Helmet; Mar 16, 2020 @ 10:05pm
Noxy Mar 17, 2020 @ 3:20am 
Awesome thanks!
< >
Showing 1-3 of 3 comments
Per page: 1530 50