RimWorld

RimWorld

Useful Marks
Denne tråd er blevet låst
S7-AR5 16. juli kl. 15:20
Error with CM color
< >
Viser 1-11 af 11 kommentarer
SandFox 8. juli kl. 4:19 
An error occurred
Tried to create a texture from a different thread.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.SolidColorMaterials:NewSolidColorTexture (UnityEngine.Color)
ColoredMoodBar13.GenMapUI2:.cctor ()
System.RuntimeMethodHandle:GetFunctionPointer ()
MonoMod.Core.Platforms.Runtimes.MonoRuntime:Compile (System.Reflection.MethodBase)
MonoMod.Core.Platforms.PlatformTriple:Compile (System.Reflection.MethodBase)
MonoMod.Core.Platforms.PlatformTripleDetourFactory/Detour:CreateDetour ()
MonoMod.Core.Platforms.PlatformTripleDetourFactory/DetourBase:Apply ()
MonoMod.Core.Platforms.PlatformTripleDetourFactory:CreateDetour (MonoMod.Core.CreateDetourRequest)
MonoMod.Core.DetourFactory:CreateDetour (MonoMod.Core.IDetourFactory,System.Reflection.MethodBase,System.Reflection.MethodBase,bool)
HarmonyLib.PatchTools:DetourMethod (System.Reflection.MethodBase,System.Reflection.MethodBase)
HarmonyLib.PatchFunctions:UpdateWrapper (System.Reflection.MethodBase,HarmonyLib.PatchInfo)
HarmonyLib.PatchProcessor:Patch ()
HarmonyLib.Harmony:Patch (System.Reflection.MethodBase,HarmonyLib.HarmonyMethod,HarmonyLib.HarmonyMethod,HarmonyLib.HarmonyMethod,HarmonyLib.HarmonyMethod)
UsefulMarks.UsefulMarksMod:PatchCMCCMB ()
UsefulMarks.UsefulMarksMod:.ctor (Verse.ModContentPack)
System.Reflection.MonoCMethod:InternalInvoke (object,object[])
System.Reflection.MonoCMethod:DoInvoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
System.Reflection.MonoCMethod:Invoke (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
System.RuntimeType:CreateInstanceImpl (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[],System.Threading.StackCrawlMark&)
System.Activator:CreateInstance (System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[])
System.Activator:CreateInstance (System.Type,object[])
Verse.LoadedModManager:CreateModClasses ()
Verse.LoadedModManager:LoadAllActiveMods (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
Also seeing a similar (or the exact same perhaps) error. The first few lines are definitely the same.
Not the same error but it broke the whole uI sometimes.



Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
[Ref 7B333B13]
at RimWorld.ColonistBarColonistDrawer.DrawIcons (UnityEngine.Rect rect, Verse.Pawn colonist) [0x00165] in <fcfab19af5d14a608a65ebd77f29482f>:0
at RimWorld.ColonistBarColonistDrawer.DrawColonist (UnityEngine.Rect rect, Verse.Pawn colonist, Verse.Map pawnMap, System.Boolean highlight, System.Boolean reordering) [0x00346] in <fcfab19af5d14a608a65ebd77f29482f>:0
- PREFIX Andromeda.UsefulMarks: Void UsefulMarks.ColonistBarColonistDrawer_DrawColonist_Patch:Prefix()
- POSTFIX Andromeda.UsefulMarks: Void UsefulMarks.ColonistBarColonistDrawer_DrawColonist_Patch:Postfix()
at RimWorld.ColonistBar.ColonistBarOnGUI () [0x00178] in <fcfab19af5d14a608a65ebd77f29482f>:0
at RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs () [0x00049] in <fcfab19af5d14a608a65ebd77f29482f>:0
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x0001f] in <fcfab19af5d14a608a65ebd77f29482f>:0
at Verse.Root.OnGUI () [0x00046] in <fcfab19af5d14a608a65ebd77f29482f>:0
- POSTFIX UnlimitedHugs.HugsLib: Void HugsLib.Patches.Root_OnGUI_Patch:OnGUIHookUnfiltered()
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch1 (Verse.Root)
kurikinton 14. juli kl. 20:13 
I'm getting this error as well. The error does not mention this mod, but it's only thrown when this mod is enabled.

---------

Tried to create a texture from a different thread.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.SolidColorMaterials:NewSolidColorTexture (UnityEngine.Color)
ColoredMoodBar13.GenMapUI2:.cctor ()
System.RuntimeMethodHandle:GetFunctionPointer ()
MonoMod.Core.Platforms.Runtimes.MonoRuntime:Compile (System.Reflection.MethodBase)
MonoMod.Core.Platforms.PlatformTriple:Compile (System.Reflection.MethodBase)
MonoMod.Core.Platforms.PlatformTripleDetourFactory/Detour:CreateDetour ()
MonoMod.Core.Platforms.PlatformTripleDetourFactory/DetourBase:Apply ()
MonoMod.Core.Platforms.PlatformTripleDetourFactory:CreateDetour (MonoMod.Core.CreateDetourRequest)
MonoMod.Core.DetourFactory:CreateDetour (MonoMod.Core.IDetourFactory,System.Reflection.MethodBase,System.Reflection.MethodBase,bool)
HarmonyLib.PatchTools:DetourMethod (System.Reflection.MethodBase,System.Reflection.MethodBase)
HarmonyLib.PatchFunctions:UpdateWrapper (System.Reflection.MethodBase,HarmonyLib.PatchInfo)
HarmonyLib.PatchProcessor:Patch ()
HarmonyLib.Harmony:Patch (System.Reflection.MethodBase,HarmonyLib.HarmonyMethod,HarmonyLib.HarmonyMethod,HarmonyLib.HarmonyMethod,HarmonyLib.HarmonyMethod)
UsefulMarks.UsefulMarksMod:PatchCMCCMB ()
UsefulMarks.UsefulMarksMod:.ctor (Verse.ModContentPack)
System.Reflection.RuntimeConstructorInfo:InternalInvoke (object,object[],bool)
System.Reflection.RuntimeConstructorInfo:DoInvoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
System.Reflection.RuntimeConstructorInfo:Invoke (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
System.RuntimeType:CreateInstanceImpl (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[],System.Threading.StackCrawlMark&)
System.Activator:CreateInstance (System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[])
System.Activator:CreateInstance (System.Type,object[])
Verse.LoadedModManager:CreateModClasses ()
Verse.LoadedModManager:LoadAllActiveMods (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__10_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
Skython 15. juli kl. 17:19 
I'm also seeing this error. Looks like it's due to Colored Coded Mood Bar (https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2006605356)
--------------------
Tried to create a texture from a different thread. UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) Verse.SolidColorMaterials:NewSolidColorTexture (UnityEngine.Color) ColoredMoodBar13.GenMapUI2:.cctor () System.RuntimeMethodHandle:GetFunctionPointer () MonoMod.Core.Platforms.Runtimes.MonoRuntime:Compile (System.Reflection.MethodBase) MonoMod.Core.Platforms.PlatformTriple:Compile (System.Reflection.MethodBase) MonoMod.Core.Platforms.PlatformTripleDetourFactory/Detour:CreateDetour () MonoMod.Core.Platforms.PlatformTripleDetourFactory/DetourBase:Apply () MonoMod.Core.Platforms.PlatformTripleDetourFactory:CreateDetour (MonoMod.Core.CreateDetourRequest) MonoMod.Core.DetourFactory:CreateDetour (MonoMod.Core.IDetourFactory,System.Reflection.MethodBase,System.Reflection.MethodBase,bool) HarmonyLib.PatchTools:DetourMethod (System.Reflection.MethodBase,System.Reflection.MethodBase) HarmonyLib.PatchFunctions:UpdateWrapper (System.Reflection.MethodBase,HarmonyLib.PatchInfo) HarmonyLib.PatchProcessor:Patch () HarmonyLib.Harmony:Patch (System.Reflection.MethodBase,HarmonyLib.HarmonyMethod,HarmonyLib.HarmonyMethod,HarmonyLib.HarmonyMethod,HarmonyLib.HarmonyMethod) UsefulMarks.UsefulMarksMod:PatchCMCCMB () UsefulMarks.UsefulMarksMod:.ctor (Verse.ModContentPack) System.Reflection.RuntimeConstructorInfo:InternalInvoke (object,object[],bool) System.Reflection.RuntimeConstructorInfo:DoInvoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) System.Reflection.RuntimeConstructorInfo:Invoke (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) System.RuntimeType:CreateInstanceImpl (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[],System.Threading.StackCrawlMark&) System.Activator:CreateInstance (System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[]) System.Activator:CreateInstance (System.Type,object[]) Verse.LoadedModManager:CreateModClasses () Verse.LoadedModManager:LoadAllActiveMods (bool) Verse.PlayDataLoader:DoPlayLoad () Verse.PlayDataLoader:LoadAllPlayData (bool) Verse.Root/<>c:<Start>b__10_1 () Verse.LongEventHandler:RunEventFromAnotherThread (System.Action) Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 () System.Threading.ThreadHelper:ThreadStart_Context (object) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) System.Threading.ThreadHelper:ThreadStart ()
Otoya 16. juli kl. 19:29 
Here some more logs related: https://pastebin.com/3ddiu921 - so the difference here is only Verse.Log:Error (string) otherwise it looks exactly the same.
Otoya 16. juli kl. 19:30 
And Color Mood Bar can't do anything to fix it on their end.
Auspician 17. juli kl. 5:53 
I'd also really like to see a patch. I've used Color Coded Mood Bar forever, and trying to play without it causes me to miss when Colonists are unhappy until it's too late. Useful Marks is useful too, particularly during raids. Would be very helpful to be able to run both.
That_Guy 18. juli kl. 7:05 
+1 for this as well!
Valafi 18. juli kl. 7:15 
For 1.5, replacing the PatchCMCCMB call in the mod constructor with
LongEventHandler.ExecuteWhenFinished(PatchCMCCMB);
fixes it. IDK about 1.6.
Sidst redigeret af Valafi; 18. juli kl. 7:15
Andromeda  [udvikler] 18. juli kl. 8:01 
fixed
< >
Viser 1-11 af 11 kommentarer
Per side: 1530 50