m22spencer / BattletechPerformanceFix

Performance improvements and general fixes for HBS' BattleTech.
The Unlicense
23 stars 8 forks source link

2.11.2 errors #51

Open splintermind opened 4 years ago

splintermind commented 4 years ago

Exceptions reported in output_log.txt using the built-in mod loader, version 2.11.2 of the mod.

Unity [ERROR] NullReferenceException: Object reference not set to an instance of an object

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)

NullReferenceException: Object reference not set to an instance of an object
  at BattletechPerformanceFix.MechlabFix.LateUpdate_Pre (UnityEngine.UI.ScrollRect __instance) [0x00051] in <c3850a0c2a894a398e605d41b3793e58>:0 
  at (wrapper dynamic-method) UnityEngine.UI.ScrollRect.LateUpdate_Patch1(object)
BattletechPerformanceFix [ERROR] System.ArgumentNullException: Value cannot be null.
Parameter name: source
  at System.Linq.Enumerable.Where[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0000d] in <1b13ba6391c74847bbc3eddc86df7eee>:0 
  at BattletechPerformanceFix.PatchMechlabLimitItems.Refresh (System.Boolean wantClobber) [0x001ea] in <c3850a0c2a894a398e605d41b3793e58>:0 
  at BattletechPerformanceFix.PatchMechlabLimitItems.FilterChanged (System.Boolean resetIndex) [0x0014e] in <c3850a0c2a894a398e605d41b3793e58>:0 : System.ArgumentNullException: Value cannot be null.
Parameter name: source
  at System.Linq.Enumerable.Where[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0000d] in <1b13ba6391c74847bbc3eddc86df7eee>:0 
  at BattletechPerformanceFix.PatchMechlabLimitItems.Refresh (System.Boolean wantClobber) [0x001ea] in <c3850a0c2a894a398e605d41b3793e58>:0 
  at BattletechPerformanceFix.PatchMechlabLimitItems.FilterChanged (System.Boolean resetIndex) [0x0014e] in <c3850a0c2a894a398e605d41b3793e58>:0 
BattletechPerformanceFix [ERROR] System.NullReferenceException
  at (wrapper managed-to-native) UnityEngine.GameObject.get_transform(UnityEngine.GameObject)
  at BattleTech.Data.PrefabCache.PooledInstantiate (System.String id, System.Nullable`1[T] position, System.Nullable`1[T] rotation, UnityEngine.Transform parent, System.Boolean forceInstantiate) [0x00038] in <e1836ad313454eb4828ce697e61d02e0>:0 
  at BattleTech.Data.DataManager.PooledInstantiate (System.String id, BattleTech.BattleTechResourceType resourceType, System.Nullable`1[T] position, System.Nullable`1[T] rotation, UnityEngine.Transform parent) [0x000aa] in <e1836ad313454eb4828ce697e61d02e0>:0 
  at BattletechPerformanceFix.PatchMechlabLimitItems+<>c__DisplayClass8_0.<.ctor>g__mkiie|1 (System.Boolean nonexistant) [0x00001] in <c3850a0c2a894a398e605d41b3793e58>:0 
  at BattletechPerformanceFix.PatchMechlabLimitItems+<>c__DisplayClass8_0.<.ctor>b__5 () [0x00000] in <c3850a0c2a894a398e605d41b3793e58>:0 
  at BattletechPerformanceFix.PatchMechlabLimitItems+<>c.<.ctor>b__8_6 (System.Func`1[TResult] thunk) [0x00000] in <c3850a0c2a894a398e605d41b3793e58>:0 
  at System.Linq.Enumerable+SelectIPartitionIterator`2[TSource,TResult].ToList () [0x00040] in <1b13ba6391c74847bbc3eddc86df7eee>:0 
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <1b13ba6391c74847bbc3eddc86df7eee>:0 
  at BattletechPerformanceFix.PatchMechlabLimitItems+<>c__DisplayClass8_0.<.ctor>g__make_ielCache|2 () [0x0003a] in <c3850a0c2a894a398e605d41b3793e58>:0 
  at BattletechPerformanceFix.PatchMechlabLimitItems..ctor (BattleTech.UI.MechLabPanel instance) [0x0011f] in <c3850a0c2a894a398e605d41b3793e58>:0 : System.NullReferenceException
  at (wrapper managed-to-native) UnityEngine.GameObject.get_transform(UnityEngine.GameObject)
  at BattleTech.Data.PrefabCache.PooledInstantiate (System.String id, System.Nullable`1[T] position, System.Nullable`1[T] rotation, UnityEngine.Transform parent, System.Boolean forceInstantiate) [0x00038] in <e1836ad313454eb4828ce697e61d02e0>:0 
  at BattleTech.Data.DataManager.PooledInstantiate (System.String id, BattleTech.BattleTechResourceType resourceType, System.Nullable`1[T] position, System.Nullable`1[T] rotation, UnityEngine.Transform parent) [0x000aa] in <e1836ad313454eb4828ce697e61d02e0>:0 
  at BattletechPerformanceFix.PatchMechlabLimitItems+<>c__DisplayClass8_0.<.ctor>g__mkiie|1 (System.Boolean nonexistant) [0x00001] in <c3850a0c2a894a398e605d41b3793e58>:0 
  at BattletechPerformanceFix.PatchMechlabLimitItems+<>c__DisplayClass8_0.<.ctor>b__5 () [0x00000] in <c3850a0c2a894a398e605d41b3793e58>:0 
  at BattletechPerformanceFix.PatchMechlabLimitItems+<>c.<.ctor>b__8_6 (System.Func`1[TResult] thunk) [0x00000] in <c3850a0c2a894a398e605d41b3793e58>:0 
  at System.Linq.Enumerable+SelectIPartitionIterator`2[TSource,TResult].ToList () [0x00040] in <1b13ba6391c74847bbc3eddc86df7eee>:0 
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <1b13ba6391c74847bbc3eddc86df7eee>:0 
  at BattletechPerformanceFix.PatchMechlabLimitItems+<>c__DisplayClass8_0.<.ctor>g__make_ielCache|2 () [0x0003a] in <c3850a0c2a894a398e605d41b3793e58>:0 
  at BattletechPerformanceFix.PatchMechlabLimitItems..ctor (BattleTech.UI.MechLabPanel instance) [0x0011f] in <c3850a0c2a894a398e605d41b3793e58>:0 
m22spencer commented 4 years ago

Need the full log file, the BattletechPerformanceFix.log file (check bfix mod folder), and the harmony_summary.log/ModTek.log (whatever the ModLoader equivalent is)

splintermind commented 4 years ago

BattletechPerformanceFix.log harmony_summary.log