RimWorld

RimWorld

Way Better Romance
Bug: Orientation part of the mod not working?
Hi! I'm running into a problem where attraction orientation is never being assigned (straight pawns still appear blank, orientation reweighting also doesn't seem to be active), even from a new game. Hangouts and dates seem to be working though-- I'm on base Rimworld, only Harmony and this mod installed.

I'm on 1.6, and on startup, I'm getting errors like:
in static constructor of BetterRomance.OnStartup: System.TypeInitializationException: The type initializer for 'BetterRomance.OnStartup' threw an exception. ---> HarmonyLib.HarmonyException: Patching exception in method System.Void RimWorld.Ideo::RecachePrecepts() ---> System.NotImplementedException: The method or operation is not implemented. at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00094] in <8124cc12bdf242eab0a5f7e7edecf387>:0 at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000be] in <8124cc12bdf242eab0a5f7e7edecf387>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0013c] in <8124cc12bdf242eab0a5f7e7edecf387>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x000a0] in <8124cc12bdf242eab0a5f7e7edecf387>:0 at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <8124cc12bdf242eab0a5f7e7edecf387>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <8124cc12bdf242eab0a5f7e7edecf387>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <8124cc12bdf242eab0a5f7e7edecf387>:0 at HarmonyLib.Harmony.PatchAll () [0x0001d] in <8124cc12bdf242eab0a5f7e7edecf387>:0 at BetterRomance.OnStartup..cctor () [0x00029] in D:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\WayBetterRomance\Source\OnStartup.cs:24 --- End of inner exception stack trace --- at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr) at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <79a1904c928a4c2d9eba5ede6e6aa92e>:0 at Verse.StaticConstructorOnStartupUtility.CallAll () [0x00025] in <7bccada636ab40b3b749600f4b149046>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) Verse.StaticConstructorOnStartupUtility:CallAll () Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 () Verse.LongEventHandler:ExecuteToExecuteWhenFinished () Verse.LongEventHandler:UpdateCurrentAsynchronousEvent () Verse.LongEventHandler:LongEventsUpdate (bool&) Verse.Root:Update () Verse.Root_Entry:Update ()

But I can still play, and hangouts/dates seem to be working as expected. Anyway, thank you for making this mod! It's going to be a real improvement for my playthroughs <3
< >
Showing 1-4 of 4 comments
divineDerivative  [developer] 19 hours ago 
I can't replicate this, so I'll need a full log.
Mojo 16 hours ago 
I'm on a mac-- The whole thing is more than fits in a post. I'll go piece by piece, with maybe some at the end cut out as it doesn't seem relevant

Command line arguments: -disable-compute-shaders UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) Verse.Root:CheckGlobalInit () Verse.Root:Start () Verse.Root_Entry:Start () RimWorld 1.6.4523 rev1062 UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) RimWorld.VersionControl:LogVersionNumber () Verse.Root:CheckGlobalInit () Verse.Root:Start () Verse.Root_Entry:Start () --- Main thread --- 182.337ms StaticConstructorOnStartupUtility.CallAll() Hotspot analysis ---------------------------------------- 1x StaticConstructorOnStartupUtility.CallAll() -> 182.337 ms (total (w/children): 182.337 ms) UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) Verse.ThreadLocalDeepProfiler:Output (Verse.ThreadLocalDeepProfiler/Watcher) Verse.ThreadLocalDeepProfiler:End () Verse.DeepProfiler:End () Verse.StaticConstructorOnStartupUtility:CallAll () Verse.LongEventHandler:UpdateCurrentSynchronousEvent (bool&) Verse.LongEventHandler:LongEventsUpdate (bool&) Verse.Root:Update () Verse.Root_Entry:Update () Rebuilding mods list Adding official mods from content folder: Adding Ludeon.RimWorld(/Users/User/Library/Application Support/Steam/steamapps/common/RimWorld/RimWorldMac.app/Data/Core) Adding mods from mods folder: Adding mods from Steam: Adding brrainz.harmony(/Users/user/Library/Application Support/Steam/steamapps/workshop/content/294100/2009463077) Adding divineDerivative.Romance(/Users/user/Library/Application Support/Steam/steamapps/workshop/content/294100/2877731755) Deactivating not-installed mods: UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) Verse.ModLister:RebuildModList () Verse.ModLister:.cctor () Verse.ModsConfig:.cctor () Verse.LoadedModManager:InitializeMods () 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 () Error while instantiating a mod of type HarmonyMod.HarmonyMain: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'HarmonyMod.HarmonyMain' threw an exception. ---> HarmonyLib.HarmonyException: Patching exception in method static System.Void RimWorld.VersionControl::DrawInfoInCorner() ---> System.NotImplementedException: The method or operation is not implemented. at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00094] in <8124cc12bdf242eab0a5f7e7edecf387>:0 at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000be] in <8124cc12bdf242eab0a5f7e7edecf387>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0013c] in <8124cc12bdf242eab0a5f7e7edecf387>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x000a0] in <8124cc12bdf242eab0a5f7e7edecf387>:0 at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <8124cc12bdf242eab0a5f7e7edecf387>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <8124cc12bdf242eab0a5f7e7edecf387>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <8124cc12bdf242eab0a5f7e7edecf387>:0 at HarmonyLib.Harmony.PatchAll () [0x0001d] in <8124cc12bdf242eab0a5f7e7edecf387>:0 at HarmonyMod.HarmonyMain..cctor () [0x0003f] in <a673461a8ef1414ca7b7ebde5c7c6ef9>:0 --- End of inner exception stack trace --- at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_gc_wbarrier_generic_nostore_internal(intptr) at (wrapper write-barrier) System.Object.wbarrier_conc(intptr) at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&) at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <79a1904c928a4c2d9eba5ede6e6aa92e>:0 --- End of inner exception stack trace --- at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x0001a] in <79a1904c928a4c2d9eba5ede6e6aa92e>:0 at System.Reflection.RuntimeConstructorInfo.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00086] in <79a1904c928a4c2d9eba5ede6e6aa92e>:0 at System.Reflection.RuntimeConstructorInfo.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <79a1904c928a4c2d9eba5ede6e6aa92e>:0 at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x0022b] in <79a1904c928a4c2d9eba5ede6e6aa92e>:0 at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x0009c] in <79a1904c928a4c2d9eba5ede6e6aa92e>:0 at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <79a1904c928a4c2d9eba5ede6e6aa92e>:0 at Verse.LoadedModManager.CreateModClasses () [0x00085] in <7bccada636ab40b3b749600f4b149046>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) 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 ()
Mojo 16 hours ago 
OH I'm so sorry-- did some more digging and this is on Harmony, not you-- 1.6 is using some special mac architecture that breaks Harmony and there's a temporary patch for it on steam. Hope you have a lovely Saturday!
Mojo 16 hours ago 
It works now! Here's the Harmony patch if you need to give it to anyone else:

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3515420793
< >
Showing 1-4 of 4 comments
Per page: 1530 50