Closed ashank1 closed 2 months ago
Did you run this with R2API_DamageType? It's part of R2API dependencies that are installed when this mod is installed through Thunderstore.
I created a new profile in Thunderstore, only added TooManyItems v0.5.1 (and it's dependencies), and was unable to reproduce this issue. Can you link your mod list and let me know if you have the SotV DLC? That could be causing an issue.
Did you run this with R2API_DamageType? It's part of R2API dependencies that are installed when this mod is installed through Thunderstore.
Yes, disabled all of my mods and re-enabled TMI only, so all 30 dependencies and TMI itself was enabled. I do have SotV Running separate profile with 0.5.1 gives same result, at this rate I might just reinstall the game
Modlist code: 0191d5db-5852-c0db-e402-175155ae42bc
Using your modlist's code I am able to import the code to a new profile and run the game without any updates.
I was even able to pick up items from TMI.
I noticed there are a lot of deprecated/disabled mods in your modlist; I would recommend removing those and/or their config files, that might help. Otherwise it could be an issue with Thunderstore, in which case deleting the old profile and creating a new one (using the code above, even) may fix it.
It also seems like the above DamageType bug is originating from the UpcapAttackSpeed mod, but I'm not sure why that is.
Finally, even though I was able to load into the game, mods like EmptyChestsBeGone, ShowDeathCause, BazaarExpand, Infinite_Shrine_of_the_Mountain, and EasyLocateTeleporter have not been updated for the SotS release. I would recommend finding alternatives to these mods (and any others that do not have SotS releases).
Using your modlist's code I am able to import the code to a new profile and run the game without any updates.
I was even able to pick up items from TMI.
I noticed there are a lot of deprecated/disabled mods in your modlist; I would recommend removing those and/or their config files, that might help. Otherwise it could be an issue with Thunderstore, in which case deleting the old profile and creating a new one (using the code above, even) may fix it.
It also seems like the above DamageType bug is originating from the UpcapAttackSpeed mod, but I'm not sure why that is. !
Finally, even though I was able to load into the game, mods like EmptyChestsBeGone, ShowDeathCause, BazaarExpand, Infinite_Shrine_of_the_Mountain, and EasyLocateTeleporter have not been updated for the SotS release. I would recommend finding alternatives to these mods (and any others that do not have SotS releases).
I wiped my game proper and used a new list so I don't have the issue now, The UpcappAttackSpeed mod is for commando (My main), removes the attack speed lock that is in the game, pre SotS mods did work for me allright as these don't interfere with anything new.
Can you do a short explanation on how you found out what actually caused the issue? would save me posting issues like this in future.
Well, I still don't know what initially caused this bug, and I think it was valid to post an issue about this. What I did was just import your modlist from the code into a new profile, and then run it as-is. It seems like this could have been a configuration issue with Thunderstore, as creating a new profile prevented me from recreating the bug that you got at 99%. I've had similar issues with modlists in Thunderstore in the past, and could not find a fix outside of re-installing the game (or creating a fresh modlist). That being said, I don't know for sure.
I am glad you were able to get the issue resolved! If you ever have issues like this in the future, don't hesitate to reach out.
Tried running 0.5.1 without any other mods, loading stops at 99%, this is the error log, seems that the Iron Heart item is not loading properly, did try to remove the mod. Disabling the item specified in error log though custom config just points it to another, item, removing all items fixes it but at that point the mod might be disabled [Error : Unity Log] TypeLoadException: Could not load type of field 'R2API.DamageAPI:damageTypeHolders' (2) due to: Could not resolve type with token 01000018 from typeref (expected class 'RoR2BepInExPack.Utilities.FixedConditionalWeakTable
2' in assembly 'RoR2BepInExPack, Version=1.7.0.0, Culture=neutral, PublicKeyToken=null') assembly:RoR2BepInExPack, Version=1.7.0.0, Culture=neutral, PublicKeyToken=null type:RoR2BepInExPack.Utilities.FixedConditionalWeakTable
2 member:(null) Stack trace: TooManyItems.IronHeart.Init () (at <596bfd320e8b4757903d9a4f39cb977b>:IL_0025) TooManyItems.TooManyItems.Awake () (at <596bfd320e8b4757903d9a4f39cb977b>:IL_00D8) UnityEngine.GameObject:AddComponent(Type) BepInEx.Bootstrap.Chainloader:Start() RoR2.Console:.cctor()[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: RoR2.ItemDef+Pair.GetHashCode () (at <16cc1fce0293407eb57af2430f30cf55>:IL_0000) System.Collections.Generic.GenericEqualityComparerb11_0 (On.RoR2.Items.ContagiousItemManager+orig_Init orig) (at <596bfd320e8b4757903d9a4f39cb977b>:IL_013D)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Hook?1268067424()
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <7e05db41a20b45108859fa03b97088d4>:IL_006A)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <7e05db41a20b45108859fa03b97088d4>:IL_0083)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <7e05db41a20b45108859fa03b97088d4>:IL_0000)
RoR2BepInExPack.VanillaFixes.FixSystemInitializer+d 3.MoveNext () (at :IL_022A)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :IL_0026)
1[T].GetHashCode (T obj) (at <7e05db41a20b45108859fa03b97088d4>:IL_000A) System.Linq.Set
1[TElement].InternalGetHashCode (TElement value) (at <06cfd796a56e417bab3ed4200b0661b2>:IL_0008) System.Linq.Set1[TElement].Add (TElement value) (at <06cfd796a56e417bab3ed4200b0661b2>:IL_0000) System.Linq.Set
1[TElement].UnionWith (System.Collections.Generic.IEnumerable1[T] other) (at <06cfd796a56e417bab3ed4200b0661b2>:IL_0010) System.Linq.Enumerable+UnionIterator
1[TSource].FillSet () (at <06cfd796a56e417bab3ed4200b0661b2>:IL_001B) System.Linq.Enumerable+UnionIterator1[TSource].ToArray () (at <06cfd796a56e417bab3ed4200b0661b2>:IL_0000) System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable
1[T] source) (at <06cfd796a56e417bab3ed4200b0661b2>:IL_001F) TooManyItems.TooManyItems+<>c.