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

Previous mods break the ModManager #16

Open
bttsmith opened this issue Jan 2, 2023 · 0 comments
Open

Previous mods break the ModManager #16

bttsmith opened this issue Jan 2, 2023 · 0 comments

Comments

@bttsmith
Copy link

bttsmith commented Jan 2, 2023

I had issues upon installing the ModManager - it would not load at first but instead threw this error:

[Error : Unity Log] JsonSerializationException: Required property 'Summary' not found in JSON. Path '', line 10, position 1.
Stack trace:
ModManager.ModSystem.ModManifestFinder.LoadManifest (System.String manifestPath) (at :0)
ModManager.ModSystem.ModManifestFinder+d__2.MoveNext () (at :0)
System.Linq.Enumerable+SelectManySingleSelectorIterator`2[TSource,TResult].MoveNext () (at <5daa034a65ef4e92beb94b6ef26af36a>:0)
System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Collections.Generic.IEqualityComparer`1[T] comparer) (at <5daa034a65ef4e92beb94b6ef26af36a>:0)
System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector) (at <5daa034a65ef4e92beb94b6ef26af36a>:0)
ModManager.AddonSystem.InstalledAddonRepository.Load (ModManager.StartupSystem.ModManagerStartupOptions startupOptions) (at :0)
ModManager.StartupSystem.ModManagerStartup.LoadClasses (ModManager.StartupSystem.ModManagerStartupOptions startupOptions) (at :0)
ModManager.StartupSystem.ModManagerStartup.Run (System.String apiKey, System.Action`1[T] options) (at :0)
ModManagerUI.ModManagerUIPlugin.Awake () (at :0)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.InputSystem.InputSystem:.cctor()

After troubleshooting a bit, I found that mods installed from Thunderstore include a file called "manifest.json" rather than "mod.json" in their BedInEx folder. The ModManager does not take kindly to these manifest files. However, replacing the "manifest.json" file with a "mod.json" file allows the ModManager to load.

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