tbeswick96 / BannerlordYetAnotherPartyOrganiser

Mount & Blade II: Bannerlord - Troop Manager Mod
GNU Lesser General Public License v3.0
6 stars 0 forks source link

Crash on load with latest release 1.2.0 #37

Closed teranian closed 4 years ago

teranian commented 4 years ago

I have tried both the BETA and non-beta files. With the Beta file i get a non-descript crash, with the NON BETA file i get the error in the attached screenshot.

Description

I get a crash on load with the following error: image

UI extender lib has been removed entirely from the mod list.

tbeswick96 commented 4 years ago

Could please post your mod load order? The game will load the first harmony dll it finds, even if it is an older version. To ensure a usable version is loaded, please try placing ModLib as the first community mod in your loader order after the official mods, and let me know if that works

teranian commented 4 years ago

Sure can. I've put ModLib straight after the official modules. I've tried BYAPO directly after ModLib and also right down the bottom and had the same error both times.

image

teranian commented 4 years ago

I get the same error when loading only ModLib and YAPO.

If i hit OK on the error the game loads to the main menu. I can't load old saves and the party screen doesn't show the mod UI for new campaigns either.

Load Order: image

Error: image

MLNW commented 4 years ago

The mod load order of the official modules looks a little weird. Just to make sure that isn't the culprit try it with this order:

teranian commented 4 years ago

No change with the core mods in the order you've asked. Same error.

image image

tbeswick96 commented 4 years ago

Hi,

Sorry that you're having issues, can you try something for me? This crash usually means an old version of harmony is being loaded by the game somewhere, and if not by a mod, it could be elsewhere.

Could you try the following:

This will show you the versions of harmony in your install location. Check to see if any are 2.0.0.8 or less, and note their paths. If the launcher you use uses symlinks, you'll need to do this in the same location where it stores the mods.

Once you've got all that info, if you could past a screenshot or two of the paths here, or if something looks out of place then that could be the issue. For example if this launcher uses harmony at all it could be loading an old version itself.

If that doesn't get us anywhere, then we'll have to do more tests on our end as well.

I will note launching the game on beta branch with only the vanilla modules, modlib, save party fix, and yapo installed via the fixed launcher works for us. I will try with this launcher too and see if it produces different results

tbeswick96 commented 4 years ago

I've just tried with the launcher you're using, and the game launches fine. I think there must be some stray version of harmony being loaded somewhere in your setup

MLNW commented 4 years ago

It may very well be that one of the installed mods that aren't loaded have an old version of harmony and for some reason that version is loaded.

I've heard of something similar before.

teranian commented 4 years ago

Hrm. Vortex uses Symlinks by default and explorer won't show file versions:

image

But switching to Hardlinks shows two mods using 2.0.0.8.

image

teranian commented 4 years ago

If i get rid of all the other mods and just load ModLib and YAPO

image

I still get the error: image

And 0Harmony.dll's are showing no 2.0.0.8 versions image

teranian commented 4 years ago

Using the Vanilla launcher with only ModLib and YAPO also results in the error: image

tbeswick96 commented 4 years ago

Ok, thanks for doing that, I may have to try building a custom version of UIExtenderLib that can use older versions of Harmony.

teranian commented 4 years ago

Let me know if i can send any other info.

Thanks for making such a great mod!

tbeswick96 commented 4 years ago

Fixed in https://github.com/tbeswick96/BannerlordYetAnotherPartyOrganiser/releases/tag/1.2.1