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

CTD on launch in v1.2.9 from FontFactory changes #94

Closed
jzebedee opened this issue Feb 2, 2024 · 1 comment
Closed

CTD on launch in v1.2.9 from FontFactory changes #94

jzebedee opened this issue Feb 2, 2024 · 1 comment

Comments

@jzebedee
Copy link
Contributor

jzebedee commented Feb 2, 2024

BLSE crashes on launch after changes made in the v1.2.9 release, because

TaleWorlds.GauntletUI.FontFactory::AddFontDefinition(System.String,System.String,TaleWorlds.TwoDimension.SpriteData)

turned into:

System.Boolean TaleWorlds.GauntletUI.FontFactory::TryAddFontDefinition(System.String,System.String,TaleWorlds.TwoDimension.SpriteData)

BLSE Exception:
Version: 1.4.11.0

Type: System.MissingMethodException
Message: Method not found: 'Void TaleWorlds.GauntletUI.FontFactory.AddFontDefinition(System.String, System.String, TaleWorlds.TwoDimension.SpriteData)'.
Source: Bannerlord.LauncherEx
CallStack:
   at Bannerlord.LauncherEx.ResourceManagers.FontFactoryManager.LoadAllFontsPostfix(FontFactory& __instance)
   at TaleWorlds.GauntletUI.FontFactory.LoadAllFonts_Patch1(FontFactory this, SpriteData spriteData)
   at TaleWorlds.GauntletUI.UIContext.Initialize()
   at TaleWorlds.MountAndBlade.Launcher.Library.StandaloneUIDomain.Update()
   at TaleWorlds.TwoDimension.Standalone.WindowsFramework.MessageLoop()
   at TaleWorlds.TwoDimension.Standalone.WindowsFramework.Start()
   at TaleWorlds.MountAndBlade.Launcher.Library.Program.Main(String[] args)
   at Bannerlord.BLSE.Shared.LauncherEx.Launch(String[] args)
   at Bannerlord.BLSE.Shared.Program.Main(String[] args)
   at Bannerlord.BLSE.NETFrameworkLoader.Launch(String[] args)
   at Bannerlord.BLSE.Program.Main(String[] args)

It looks like it would be a simple patch, but the reference assemblies aren't updating because of BUTR/Bannerlord.ReferenceAssemblies#82

@jzebedee jzebedee changed the title CTD on Launch from v1.2.9 changes CTD on launch in v1.2.9 from FontFactory changes Feb 2, 2024
@Aragas
Copy link
Member

Aragas commented Feb 2, 2024

Closed by #95

@Aragas Aragas closed this as completed Feb 2, 2024
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

2 participants