Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.Exception: Types of ApiModule cannot be instantiated before RichHudClient is initialized #4

Open
doctorspooky opened this issue Aug 10, 2024 · 1 comment

Comments

@doctorspooky
Copy link

Excerpt from my log:

2024-08-10 13:22:56.387 - Thread: 1 -> [Build Vision] Mod encountered an unhandled exception.
System.TypeInitializationException: The type initializer for 'DarkHelmet.BuildVision2.BindsConfig' threw an exception.
---> System.Exception: Types of ApiModule cannot be instantiated before RichHudClient is initialized.
at RichHudFramework.UI.Client.BindManager..ctor()
at RichHudFramework.UI.Client.BindManager.Init()
at RichHudFramework.UI.ControlData..ctor(MyKeys key)
at RichHudFramework.UI.ControlData.op_Implicit(MyKeys key)
at DarkHelmet.BuildVision2.BindsConfig..cctor()
--- End of inner exception stack trace ---
at DarkHelmet.BuildVision2.BindsConfig.GetDefaults()
at DarkHelmet.BuildVision2.BvConfig.GetDefaults()
at RichHudFramework.IO.ConfigRoot1.ConfigIO.ValidateConfig(ConfigT cfg) at RichHudFramework.IO.ConfigRoot1.ConfigIO.Load(Boolean silent)
at RichHudFramework.IO.ConfigRoot1.Load(Boolean silent) at RichHudFramework.IO.ConfigRoot1.get_Current()
at RichHudFramework.IO.ConfigRoot`1.Save()
at DarkHelmet.BuildVision2.BvMain.BeforeClose()
at RichHudFramework.Internal.ExceptionHandler.<>c__DisplayClass77_1.b__0()
at RichHudFramework.Internal.ExceptionHandler.Run(Action Action)

I'll delete the folder inside the %appdata directory, and see if it fixes it, and let you know!

@doctorspooky
Copy link
Author

Update: Nope! This is being played single player, and this mod is being loaded after RichHUD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant