边缘世界 RimWorld

边缘世界 RimWorld

Useful Marks
此主题已被锁定
S7-AR5 7 月 16 日 下午 3:20
Error with CM color
< >
正在显示第 1 - 11 条,共 11 条留言
SandFox 7 月 8 日 上午 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 ()
BlackSmokeDMax 7 月 10 日 上午 8:14 
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 7 月 14 日 下午 8: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 7 月 15 日 下午 5: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 7 月 16 日 下午 7: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 7 月 16 日 下午 7:30 
And Color Mood Bar can't do anything to fix it on their end.
Auspician 7 月 17 日 上午 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 7 月 18 日 上午 7:05 
+1 for this as well!
Valafi 7 月 18 日 上午 7:15 
For 1.5, replacing the PatchCMCCMB call in the mod constructor with
LongEventHandler.ExecuteWhenFinished(PatchCMCCMB);
fixes it. IDK about 1.6.
最后由 Valafi 编辑于; 7 月 18 日 上午 7:15
Andromeda  [开发者] 7 月 18 日 上午 8:01 
fixed
< >
正在显示第 1 - 11 条,共 11 条留言
每页显示数: 1530 50