Jump to content

KMod.Mod.GetMostSuitableArchiv crashes


Candide
  • Branch: Preview Branch Version: Windows Fixed

KMod.Mod.GetMostSuitableArchiv() at line 251:

Mod.ArchivedVersion bestVerision = sortedVersionsToCheck.First<Mod.ArchivedVersion>();
result = ((bestVerision != null) ? bestVerision.relativePath : "");

First() does never return null, it will cause an Exception. You have to use FirstOrDefault here!


Steps to Reproduce

Have a mod with no matching archive for the current DLC configuration (playing with DLC, but all mod_info.yaml only supporting VANILLA_ID).




User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

Changed Status to Fixed

Thanks for bringing this to our attention! It's been fixed on our side but won't make it into today's Spaced Out hotfix. The fix will also be pushed to vanilla in the near future.

  • Thanks 1

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...