Space Engineers

Space Engineers

Build Vision 3.0
此主题已被锁定
Noxy 2020 年 3 月 16 日 下午 9:04
[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 ;)
< >
正在显示第 1 - 3 条,共 3 条留言
chfish 2020 年 3 月 16 日 下午 9:24 
I am having the same error
Dark Helmet  [开发者] 2020 年 3 月 16 日 下午 10:04 
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.
最后由 Dark Helmet 编辑于; 2020 年 3 月 16 日 下午 10:05
Noxy 2020 年 3 月 17 日 上午 3:20 
Awesome thanks!
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50