RimWorld

RimWorld

Simple Smoke for Combat Extended
vin 18 Jun @ 7:45pm
Issue when used with a storage mod in a minimal mod list.
Yo! It took a while, I have no clue why but in a minimal modlist using this mod + [sbz] neat storage causes this error to be generated. The error spams infinitely if "open shelf" is built:

Exception printing sbz_OpenShelf22057 at (150, 0, 122): System.TypeInitializationException: The type initializer for 'AdaptiveStorage.PrintDatas.OptimizedPrintData' threw an exception. ---> System.TypeLoadException: Could not load type of field 'EuterpeMatingPress.SimpleBlackSmoke:_dangerTracker' (8) due to: Could not resolve type with token 0100001f (from typeref, class/assembly CombatExtended.DangerTracker, CombatExtended, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null) assembly:CombatExtended, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:CombatExtended.DangerTracker member:(null) signature:<none>
[Ref B1A18C2E]
at (wrapper managed-to-native) System.RuntimeType.GetMethodsByName_native(System.RuntimeType,intptr,System.Reflection.BindingFlags,bool)
at System.RuntimeType.GetMethodsByName (System.String name, System.Reflection.BindingFlags bindingAttr, System.Boolean ignoreCase, System.RuntimeType reflectedType) [0x0001b] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.RuntimeType.GetMethodCandidates (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.CallingConventions callConv, System.Type[] types, System.Boolean allowPrefixLookup) [0x00010] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.RuntimeType.GetMethodImpl (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConv, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Type.GetMethod (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00043] in <eae584ce26bc40229c1b1aa476bfa589>:0
at AdaptiveStorage.Utility.ReflectionExtensions.OverridesMethodFrom (System.Type type, System.Type declaringType, System.String methodName) [0x0006b] in <d6752463d3ab41398bbb7995fba0b818>:0
at AdaptiveStorage.Utility.ReflectionExtensions.HasAnyMethodOverridden (System.Type type, System.Type declaringType, System.String[] methodNames) [0x00025] in <d6752463d3ab41398bbb7995fba0b818>:0
at AdaptiveStorage.Utility.ReflectionExtensions+<>c.<GetSubclassesWithNoMethodOverride>b__2_0 (System.ValueTuple`2[T1,T2] c, System.Type type) [0x00000] in <d6752463d3ab41398bbb7995fba0b818>:0
at AdaptiveStorage.Utility.CollectionExtensions+<Where>d__42`2[TContext,TElement].MoveNext () [0x00049] in <d6752463d3ab41398bbb7995fba0b818>:0
at System.Linq.Enumerable+AppendPrependIterator`1[TSource].LoadFromEnumerator () [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable+AppendPrepend1Iterator`1[TSource].MoveNext () [0x00047] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at <0x1a497afaaf0 + 0x00329> <unknown method>
--- End of inner exception stack trace ---
[Ref AADF1FF0]
at AdaptiveStorage.PrintDatas.OptimizedPrintData+Factory.IsCompatibleWith (Verse.Thing thing, Verse.Graphic graphic, System.Boolean ignoreThingType) [0x0000b] in <d6752463d3ab41398bbb7995fba0b818>:0
at AdaptiveStorage.PrintDatas.PrintData+<>c.<Create>b__76_0 (System.ValueTuple`2[T1,T2] c, AdaptiveStorage.PrintDatas.PrintData+Factory factory) [0x00000] in <d6752463d3ab41398bbb7995fba0b818>:0
at AdaptiveStorage.Fishery.CollectionExtensions.Find[TContext,TElement] (System.Collections.Generic.List`1[T] list, TContext context, Verse.Predicate`2[ContextType,T] match) [0x0002d] in <d6752463d3ab41398bbb7995fba0b818>:0
at AdaptiveStorage.PrintDatas.PrintData.Create (Verse.Thing thing, Verse.Graphic graphic, System.Boolean ignoreThingType) [0x00017] in <d6752463d3ab41398bbb7995fba0b818>:0
at AdaptiveStorage.StorageRenderer.EnsureDataAtIndexMatches (System.Collections.Generic.List`1[T] printDatas, System.Int32 index, Verse.Graphic graphic, Verse.Thing thing) [0x0001a] in <d6752463d3ab41398bbb7995fba0b818>:0
at AdaptiveStorage.StorageRenderer.UpdateBuildingGraphicAtIndex (System.Int32 graphicIndex, Verse.Graphic graphic, AdaptiveStorage.StorageGraphicData storageGraphicData) [0x00011] in <d6752463d3ab41398bbb7995fba0b818>:0
at AdaptiveStorage.StorageRenderer.UpdateBuildingGraphics () [0x00063] in <d6752463d3ab41398bbb7995fba0b818>:0
at AdaptiveStorage.StorageRenderer.UpdateDirtyData () [0x0002f] in <d6752463d3ab41398bbb7995fba0b818>:0
at AdaptiveStorage.StorageRenderer.PrintAt (Verse.SectionLayer layer, ITransformable.TransformData& transformData) [0x00018] in <d6752463d3ab41398bbb7995fba0b818>:0
at AdaptiveStorage.ThingClass.PrintAt (Verse.SectionLayer layer, ITransformable.TransformData& transformData) [0x0000a] in <d6752463d3ab41398bbb7995fba0b818>:0
at AdaptiveStorage.ThingClass.Print (Verse.SectionLayer layer) [0x00010] in <d6752463d3ab41398bbb7995fba0b818>:0
at Verse.SectionLayer_ThingsGeneral.TakePrintFrom (Verse.Thing t) [0x00021] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- PREFIX adaptive.storage.framework: Boolean AdaptiveStorage.HarmonyPatches.HideStoredThingsFromSectionLayerAndOverlayDrawer:Prefix(Thing t)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.SectionLayer_ThingsGeneral.TakePrintFrom_Patch1 (Verse.SectionLayer_ThingsGeneral,Verse.Thing)
Verse.SectionLayer_Things:Regenerate ()
Verse.Section:TryUpdate (Verse.CellRect)
Verse.MapDrawer:MapMeshDrawerUpdate_First ()
Verse.Map:MapUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()
< >
Showing 1-2 of 2 comments
turkler  [developer] 20 Jun @ 3:36pm 
are you sure the issue is caused by this mod? because I play with neat storage as well and I never had such an issue
vin 21 Jun @ 1:13pm 
Originally posted by turkler:
are you sure the issue is caused by this mod? because I play with neat storage as well and I never had such an issue
Bare in mind your tweaks mod removes a couple of sbz's storage objects. This occurs when not using that mod. Tested in a minimal modlist of just this mod and neat storage this is reproducible on the latest versions of both mods. I could stream it to you. Its really ♥♥♥♥♥♥♥ weird. It turns invisible and spams the error log.
< >
Showing 1-2 of 2 comments
Per page: 1530 50