Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

Launchbox did a software update on my Windows based video game and now BigBox throws and error and it won't boot up properly.  The error is below.  Can I revert to the previous version or is there a fix for this issue? Microsoft states...  

It looks like you're encountering an issue with BinaryFormatter being removed from .NET. This change was made due to security vulnerabilities associated with BinaryFormatter. Starting with .NET 9, the implementation of BinaryFormatter has been removed, and attempting to use it will result in a NotSupportedException.

To resolve this issue, you'll need to migrate away from BinaryFormatter. Microsoft recommends using JsonSerializer or XmlSerializer as alternatives.

This is the error message...

(Inner Exception)

BinaryFormatter serialization and deserialization have been removed. See https://aka.ms/binaryformatter for more information.

App:     Big Box
Version: 13.19
Theme:   Unified Redux
Type:    System.PlatformNotSupportedException
Site:    System.Object Deserialize(System.IO.Stream)
Source:  System.Runtime.Serialization.Formatters

   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream)
   at System.Resources.ResourceReader.<>c__DisplayClass7_0`1.<CreateUntypedDelegate>b__0(Object obj, Stream stream)
   at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
   at System.Resources.ResourceReader._LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
   at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
   at System.Resources.ResourceReader.LoadObject(Int32 pos, ResourceTypeCode& typeCode)
   at System.Resources.RuntimeResourceSet.ReadValue(ResourceReader reader, Int32 dataPos, Boolean isString, ResourceLocator& locator)
   at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString)
   at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
   at OmegaSettingsMenu.MarqueeForm.InitializeComponent()
   at OmegaSettingsMenu.MarqueeForm..ctor(TheSystemMenuItem parent)
   at OmegaSettingsMenu.TheSystemMenuItem..ctor()
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)


(Outer Exception)

Exception has been thrown by the target of an invocation.

App:     Big Box
Version: 13.19
Theme:   Unified Redux
Type:    System.Reflection.TargetInvocationException
Site:    System.Object CreateInstanceDefaultCtor(Boolean, Boolean)
Source:  System.Private.CoreLib

   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
   at Unbroken.LaunchBox.Windows.Root.<>c__81`1.ForgotInvalidPage(Type type)
   at System.Linq.Enumerable.ListSelectIterator`2.MoveNext()
   at Unbroken.LaunchBox.Windows.Root.InitInvalidDispatcher[T](IEnumerable`1 spec, ConcurrentDictionary`2& visitor)
   at Unbroken.LaunchBox.Windows.Root.LoadPlugins(String folderPath)
   at Unbroken.LaunchBox.Windows.BigBox.App.CheckCustomer(Object)
   at Unbroken.LaunchBox.Windows.BigBox.App..ctor()
   at Unbroken.LaunchBox.Windows.BigBox.BigBoxProgram.Main()

Recent Log:

   9:06:00 PM Exception

Posted

Hi there, thanks for the report.

The issue appears to be caused by the OmegaSettingsMenu plugin. With the update to .NET 9.0, some third-party plugins needed to be updated to remain compatible. However, this is at the discretion of the plugin developer.

Can you try removing the plugin from your LaunchBox\Plugins directory and see if that resolves the error?

If the issue disappears, it may be worth reaching out to the plugin developer via their support page to let them know that the plugin needs an update to work with LaunchBox 13.19 and .NET 9.0.

Let us know if you need further assistance!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...