Giter Site home page Giter Site logo

performance-fish's Introduction

Performance Fish

Performance Mod for Rimworld.
Requires Prepatcher and Fishery.

Performance Fish attempts to improve overall framerates and tick times by patching various methods for improved efficiency, while keeping functionality identical. Designed to be used alongside other performance mods, like RocketMan, and intended to be compatible with very large modlists. Most patches become more impactful as the game progresses further into the lategame.

A settings menu includes short descriptions for every patch, and each of them can be freely toggled in there. They get entirely unpatched in a disabled state, immediately. Nothing is stored in savefiles of specific game-sessions, ensuring that no errors get thrown when removing this mod.
Special patches exist to add new entries and features to Dub's Performance Analyzer, including a right-click function allowing to profile overrides of functions.

Almost all mods, including Combat Extended, Multiplayer, Vanilla Expanded, RocketMan and Performance Optimizer, are compatible.

RimThreaded, RimWorld Rick, Oskar Obnoxious, No Laggy Beds and Better GC are currently marked as incompatible.

Licensed under MPL-2.0

performance-fish's People

Contributors

bbradson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

performance-fish's Issues

The CopyAllowancesFrom caching easily breaks intended behaviour.

I found this when asked to investigate the cause of #20.

In a mod I have the following code:

filter.CopyAllowancesFrom(item.filter);

The expected behaviour is that the filter will now contain the items copied from item.filter, which should be returned when enumerating filter.AllowedThingDefs.

However due to the caching, the internal cache list is not synchronized immediately and so enumerating the AllowedThingDefs will return an empty enumeration which in the case of the Custom Ammo mod, broke the mod.

The current patch is as follows:

public class CopyAllowancesFrom_Patch : FirstPriorityFishPatch
{
    // ...
    
    [MethodImpl(MethodImplOptions.AggressiveInlining)]
    public static void Prefix(ThingFilter __instance)
	    => AllowedDefsListCache.GetAndCheck<AllowedDefsListCacheValue>(__instance).Defs.Clear();
}

I do not fully understand why the cache list is being cleared here, but I assume there is a good reason...
Based on the other patches, I think that this would be fixed by adding a forced cache update in a postfix:

public class CopyAllowancesFrom_Patch : FirstPriorityFishPatch
{
    // ...

    // NEW:
    [HarmonyPriority(Priority.Last)]
    public static void Postfix(ThingFilter __instance) => ForceSynchronizeCache(__instance);
}

Currently I have suggested disabling the AllowedThingDefs patch (which fixes the empty-enumeration issue) until a fix can be made on this side.

Thanks.

[Praise] This shit is the bomb, max TPS late game with 213 mods.

Mod list: https://rentry.co/3ubc8
(I know Replace stuff is on the slow mods list, but this shit still pushes 360 with it installed)

7 years in, relatively late-game, and this shit still hits max TPS. I'm a speed-pilled efficiency-cel on my performance grind.
Image

Sorry for opening an issue to say this -- couldn't find the official Discord. Just wanted to let y'all know to keep up the good work and I haven't had any issues so far. 11/10, would fish again

Issue Building from Source - Possibly due to name Captilization of Directory.Build.Props

I got this error message when I try opening the solution:
Error Project "[Redacted]\RimWorld\Mods\Performance-Fish\Source\PerformanceFish\Directory.Build.props" was not imported by "[Redacted]\Microsoft Visual Studio\2022\Community\MSBuild\Current\Microsoft.Common.props" at (34,3), due to the file not existing. That then causes errors such as "Attribute 'TargetFramework' not found" and more.
I suspect that is due to the file "Performance-Fish/Source/PerformanceFish/Directory.Build.Props" has a capitalized ".Props", and a quick search tells me "Directory.Build.props" is the standard name.
Renaming the file cleared those specific errors on my end, but I am also facing other issues building that I want to figure out on my own first, so I cannot say for certain that this would fix the issue.
It's a simple change so I didn't make a PR.

can you check this log?

Exception in Verse.AI.ThinkNode_PrioritySorter TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object
at PerformanceFish.RoomOptimizations+Owners_Patch+CacheValue.Update (Verse.Room room, System.Collections.Generic.IEnumerable1[T] result) [0x00000] in <3831104e5e5349baa6f3d3690501cf77>:0 at PerformanceFish.RoomOptimizations+Owners_Patch.UpdateCache (Verse.Room __instance, System.Collections.Generic.IEnumerable1[Verse.Pawn]& __result) [0x0000c] in <3831104e5e5349baa6f3d3690501cf77>:0
at (wrapper dynamic-method) Verse.Room.Verse.Room.get_Owners_Patch2(Verse.Room)
at RimWorld.MeditationUtility.CanUseRoomToMeditate (Verse.Room r, Verse.Pawn p) [0x00000] in :0
at RimWorld.MeditationUtility+d__6.MoveNext () [0x00216] in :0
at RimWorld.MeditationUtility.FindMeditationSpot (Verse.Pawn pawn) [0x001e7] in :0
at RimWorld.MeditationUtility.GetMeditationJob (Verse.Pawn pawn, System.Boolean forJoy) [0x00000] in :0
at RimWorld.JobGiver_Meditate.TryGiveJob (Verse.Pawn pawn) [0x00013] in :0
at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00000] in :0
at Verse.AI.ThinkNode_PrioritySorter.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x000fb] in :0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch5 (string)
Verse.AI.ThinkNode_PrioritySorter:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Tagger:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Subtree:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.DetermineNextJob_Patch2 (Verse.AI.Pawn_JobTracker,Verse.ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
Verse.AI.Pawn_JobTracker:EndCurrentJob (Verse.AI.JobCondition,bool,bool)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch2 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch5 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch0 (Verse.Root_Play)

After recent update, pawns and buildings do not render or load.

After the last update on 4/28, when loading into a save or any new map all of the buildings, and pawns fail to spawn/render. Here is the log: https://gist.github.com/HugsLibRecordKeeper/4d0900c41cac53e4294d7aed973fd036.

When I removed Performance Fish and Fishery, I was able to reload the save and every thing was back in place. This is a test save so there are several wip mods on the list. Before today's update everything was fine aside from the rendering issue with the hydroponics.

I'm not sure the error I had is related to performance fish, because I have a lot of mods, but I noticed PerformanceFish in the error log.

Soyuz caught this error. Please don't report this to the RocketMan team unless you're certain RocketMan caused this error. with error System.InvalidOperationException: Failed to find parent index in FishTable<PerformanceFish.GroupThingPair, System.Int32> for key: 'GroupThingPair { ThingRequestGroup = Everything, ThingIDNumber = 23147 }', hashCode: '33577579', value: '11', count: '26', bucket array length: '128', total tailing entries count: '1', known chain of tails:
{ index: '9' key: 'GroupThingPair { ThingRequestGroup = BuildingArtificial, ThingIDNumber = 39517 }', hashCode: '167811677', value: '0 }
{ index: '10' key: 'GroupThingPair { ThingRequestGroup = 127, ThingIDNumber = 8355711 }', hashCode: '2139062143', value: '0 (empty) }
[Ref 468CD6BD]
at FisheryLib.Collections.FishTable2+ThrowHelper[TKey,TValue].ThrowFailedToFindParentInvalidOperationException (FisheryLib.Collections.FishTable2[TKey,TValue] fishTable, System.Int32 childBucketIndex) [0x001ae] in :0
at FisheryLib.Collections.FishTable2[TKey,TValue].GetParentBucketIndex (System.Int32 childBucketIndex, System.Boolean throwOnFailure) [0x0001f] in <a3e8b53a325844e98f60ef692520ce62>:0 at FisheryLib.Collections.FishTable2[TKey,TValue].InsertAsTail (FisheryLib.Collections.FishTable2+Entry[TKey,TValue]& entry, System.Int32 bucketIndex) [0x0002c] in <a3e8b53a325844e98f60ef692520ce62>:0 at FisheryLib.Collections.FishTable2[TKey,TValue].InsertEntryInternal (FisheryLib.Collections.FishTable2+Entry[TKey,TValue]& entry, FisheryLib.Collections.FishTable2+ReplaceBehaviour[TKey,TValue] replaceBehaviour) [0x000b5] in :0
at FisheryLib.Collections.FishTable2[TKey,TValue].InsertEntry (FisheryLib.Collections.FishTable2+Entry[TKey,TValue]& entry, FisheryLib.Collections.FishTable2+ReplaceBehaviour[TKey,TValue] replaceBehaviour, System.Boolean shifting) [0x00000] in <a3e8b53a325844e98f60ef692520ce62>:0 at FisheryLib.Collections.FishTable2[TKey,TValue].InsertEntry (TKey key, TValue value, FisheryLib.Collections.FishTable2+ReplaceBehaviour[TKey,TValue] replaceBehaviour, System.Boolean shifting) [0x00008] in <a3e8b53a325844e98f60ef692520ce62>:0 at FisheryLib.Collections.FishTable2[TKey,TValue].set_Item (TKey key, TValue value) [0x00000] in :0
at PerformanceFish.Listers.ThingsPrepatches.AddToGroupList (Verse.ListerThings lister, Verse.Thing thing, Verse.ThingRequestGroup thingRequestGroup) [0x0004f] in :0
at Verse.ListerThings.Add (Verse.Thing t) [0x00060] in <957a20e0be784a65bc32cf449445b937>:0
at Verse.RegionListersUpdater.RegisterInRegions (Verse.Thing thing, Verse.Map map) [0x0003a] in <957a20e0be784a65bc32cf449445b937>:0
at Verse.Thing.set_Position (Verse.IntVec3 value) [0x000b2] in <957a20e0be784a65bc32cf449445b937>:0
at Verse.AI.Pawn_PathFollower.TryEnterNextPathCell () [0x0014f] in <957a20e0be784a65bc32cf449445b937>:0
- POSTFIX OskarPotocki.VFECore: Void VFECore.PhasingPatches:UnfogEnteredCells(Pawn_PathFollower __instance, Pawn ___pawn)
at Verse.AI.Pawn_PathFollower.PatherTick () [0x00404] in <957a20e0be784a65bc32cf449445b937>:0
- PREFIX Krkr.RocketMan.Soyuz: Void Soyuz.Patches.Pawn_PathFollower_Patch+Pawn_PathFollower_PatherTick:Prefix(Pawn_PathFollower __instance)
- POSTFIX Krkr.RocketMan.Soyuz: Void Soyuz.Patches.Pawn_PathFollower_Patch+Pawn_PathFollower_PatherTick:Postfix(Pawn_PathFollower __instance)
- FINALIZER Krkr.RocketMan.Soyuz: Void Soyuz.Patches.Pawn_PathFollower_Patch+Pawn_PathFollower_PatherTick:Finalizer(Exception __exception)
at Verse.Pawn.Tick () [0x000d8] in <957a20e0be784a65bc32cf449445b937>:0
- TRANSPILER Krkr.RocketMan.Soyuz: IEnumerable1 Soyuz.Patches.Pawn_Tick_Patch:Transpiler(IEnumerable1 instructions, ILGenerator generator)
- POSTFIX Mlie.YayosCombat3: Void yayoCombat.patch_Pawn_TickRare:Postfix(Pawn __instance)
- FINALIZER Krkr.RocketMan.Soyuz: Void Soyuz.Patches.Pawn_Tick_Patch:Finalizer(Pawn __instance, Exception __exception)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
RocketMan.Logger:Debug (string,System.Exception,string)
Soyuz.Patches.Pawn_Tick_Patch:Finalizer (Verse.Pawn,System.Exception)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch2 (Verse.Pawn)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickList.Tick_Patch0 (Verse.TickList)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
ChatGPT
It appears that there's an error related to finding the parent index in a collection called FishTable. The error message indicates that the system failed to find the parent index for a specific key. Here are some steps you can take to address this issue:

Review FishTable Implementation: Take a closer look at how the FishTable collection is implemented in your code. Check if there are any issues with how parent indexes are managed or if there are any inconsistencies in the data structure.
Verify Key Existence: Ensure that the key being searched for ("GroupThingPair { ThingRequestGroup = Everything, ThingIDNumber = 23147 }") actually exists in the FishTable collection. If it doesn't, investigate why it's being accessed and whether it should be present.
Debugging: Debug the code where the error occurs to understand the context better. Check the values of variables involved in the operation to identify any unexpected behavior.
Check Modifications: It seems there are modifications made by various patches (such as Soyuz and RocketMan) to the affected methods. Review these patches to see if they unintentionally introduce issues related to the FishTable or its usage.
Consult Documentation or Source Code: If FishTable is part of a library or framework, consult its documentation or source code to understand how it's supposed to be used and if there are any specific requirements or constraints.
Isolate the Issue: If possible, try to isolate the issue by creating a minimal reproducible example. This can help narrow down the problem and identify the root cause more effectively.
Collaborate with Team: If you're working in a team, collaborate with other developers to troubleshoot the issue together. They might offer insights or suggestions that you haven't considered.
By following these steps, you should be able to investigate and resolve the error related to the FishTable collection in your code.

Exception ticking AEXP_CatSphynx16382 (at (118, 0, 101)): System.InvalidOperationException: Failed to find parent index in FishTable<PerformanceFish.GroupThingPair, System.Int32> for key: 'GroupThingPair { ThingRequestGroup = Everything, ThingIDNumber = 23147 }', hashCode: '33577579', value: '11', count: '26', bucket array length: '128', total tailing entries count: '1', known chain of tails:
{ index: '9' key: 'GroupThingPair { ThingRequestGroup = BuildingArtificial, ThingIDNumber = 39517 }', hashCode: '167811677', value: '0 }
{ index: '10' key: 'GroupThingPair { ThingRequestGroup = 127, ThingIDNumber = 8355711 }', hashCode: '2139062143', value: '0 (empty) }
[Ref 33F6BEF2]
at FisheryLib.Collections.FishTable2+ThrowHelper[TKey,TValue].ThrowFailedToFindParentInvalidOperationException (FisheryLib.Collections.FishTable2[TKey,TValue] fishTable, System.Int32 childBucketIndex) [0x001ae] in :0
at FisheryLib.Collections.FishTable2[TKey,TValue].GetParentBucketIndex (System.Int32 childBucketIndex, System.Boolean throwOnFailure) [0x0001f] in <a3e8b53a325844e98f60ef692520ce62>:0 at FisheryLib.Collections.FishTable2[TKey,TValue].InsertAsTail (FisheryLib.Collections.FishTable2+Entry[TKey,TValue]& entry, System.Int32 bucketIndex) [0x0002c] in <a3e8b53a325844e98f60ef692520ce62>:0 at FisheryLib.Collections.FishTable2[TKey,TValue].InsertEntryInternal (FisheryLib.Collections.FishTable2+Entry[TKey,TValue]& entry, FisheryLib.Collections.FishTable2+ReplaceBehaviour[TKey,TValue] replaceBehaviour) [0x000b5] in :0
at FisheryLib.Collections.FishTable2[TKey,TValue].InsertEntry (FisheryLib.Collections.FishTable2+Entry[TKey,TValue]& entry, FisheryLib.Collections.FishTable2+ReplaceBehaviour[TKey,TValue] replaceBehaviour, System.Boolean shifting) [0x00000] in <a3e8b53a325844e98f60ef692520ce62>:0 at FisheryLib.Collections.FishTable2[TKey,TValue].InsertEntry (TKey key, TValue value, FisheryLib.Collections.FishTable2+ReplaceBehaviour[TKey,TValue] replaceBehaviour, System.Boolean shifting) [0x00008] in <a3e8b53a325844e98f60ef692520ce62>:0 at FisheryLib.Collections.FishTable2[TKey,TValue].set_Item (TKey key, TValue value) [0x00000] in :0
at PerformanceFish.Listers.ThingsPrepatches.AddToGroupList (Verse.ListerThings lister, Verse.Thing thing, Verse.ThingRequestGroup thingRequestGroup) [0x0004f] in :0
at Verse.ListerThings.Add (Verse.Thing t) [0x00060] in <957a20e0be784a65bc32cf449445b937>:0
at Verse.RegionListersUpdater.RegisterInRegions (Verse.Thing thing, Verse.Map map) [0x0003a] in <957a20e0be784a65bc32cf449445b937>:0
at Verse.Thing.set_Position (Verse.IntVec3 value) [0x000b2] in <957a20e0be784a65bc32cf449445b937>:0
at Verse.AI.Pawn_PathFollower.TryEnterNextPathCell () [0x0014f] in <957a20e0be784a65bc32cf449445b937>:0
- POSTFIX OskarPotocki.VFECore: Void VFECore.PhasingPatches:UnfogEnteredCells(Pawn_PathFollower __instance, Pawn ___pawn)
at Verse.AI.Pawn_PathFollower.PatherTick () [0x00404] in <957a20e0be784a65bc32cf449445b937>:0
- PREFIX Krkr.RocketMan.Soyuz: Void Soyuz.Patches.Pawn_PathFollower_Patch+Pawn_PathFollower_PatherTick:Prefix(Pawn_PathFollower __instance)
- POSTFIX Krkr.RocketMan.Soyuz: Void Soyuz.Patches.Pawn_PathFollower_Patch+Pawn_PathFollower_PatherTick:Postfix(Pawn_PathFollower __instance)
- FINALIZER Krkr.RocketMan.Soyuz: Void Soyuz.Patches.Pawn_PathFollower_Patch+Pawn_PathFollower_PatherTick:Finalizer(Exception __exception)
at Verse.Pawn.Tick () [0x0064a] in <957a20e0be784a65bc32cf449445b937>:0
- TRANSPILER Krkr.RocketMan.Soyuz: IEnumerable1 Soyuz.Patches.Pawn_Tick_Patch:Transpiler(IEnumerable1 instructions, ILGenerator generator)
- POSTFIX Mlie.YayosCombat3: Void yayoCombat.patch_Pawn_TickRare:Postfix(Pawn __instance)
- FINALIZER Krkr.RocketMan.Soyuz: Void Soyuz.Patches.Pawn_Tick_Patch:Finalizer(Pawn __instance, Exception __exception)
at Verse.TickList.Tick () [0x0017d] in <957a20e0be784a65bc32cf449445b937>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable1 instructions, MethodBase original)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickList.Tick_Patch0 (Verse.TickList)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)

Failed to find PerformanceFish.GasDef after upgrading to newest version on 11.03.2024

Hi,

I have performed an update of both PerformanceFish and Fishery on 11.03.2024 and started receiving errors on game load. Sadly hugslib is throwing error 401 during upload of logs so I will try to share as much as possible.
The errors look like this and are thrown for BlindSmoke, ToxGas and RotStink:

Failed to find PerformanceFish.GasDef named 'BlindSmoke'. DefDatabase<PerformanceFish.GasDef> contains a total of 0 loaded defs.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
PerformanceFish.Log/Config/<>c:<.cctor>b__12_2 (string)
PerformanceFish.Log:Error (FisheryLib.Pools.PooledStringHandler)
PerformanceFish.Defs.DefDatabasePatches/Replacement`1<PerformanceFish.GasDef>:LogMissingDef (string)
Verse.DefDatabase`1<PerformanceFish.GasDef>:GetNamed (string,bool)
(wrapper dynamic-method) Verse.GenDefDatabase:Verse.GenDefDatabase.GetDef_Patch1 (System.Type,string,bool)
RimWorld.DefOfHelper:BindDefsFor (System.Type)
System.Threading.Tasks.Parallel/<>c__DisplayClass31_0`2<System.Type, object>:<ForEachWorker>b__0 (int)
System.Threading.Tasks.Parallel/<>c__DisplayClass17_0`1<object>:<ForWorker>b__1 ()
System.Threading.Tasks.Task:InnerInvoke ()
System.Threading.Tasks.Task:InnerInvokeWithArg (System.Threading.Tasks.Task)
System.Threading.Tasks.Task/<>c__DisplayClass178_0:<ExecuteSelfReplicating>b__0 (object)
System.Threading.Tasks.Task:InnerInvoke ()
System.Threading.Tasks.Task:Execute ()
System.Threading.Tasks.Task:ExecutionContextCallback (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.Tasks.Task:ExecuteWithThreadLocal (System.Threading.Tasks.Task&)
System.Threading.Tasks.Task:ExecuteEntry (bool)
System.Threading.Tasks.Task:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem ()
System.Threading.ThreadPoolWorkQueue:Dispatch ()
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

I have 84 mods. Above errors are thrown between RocketMan prints:
image

Player.log

The update was performed by removing old version from mods directory and extracting new version into mods.
Anything else I may share to help with resolving the problem?

Custom Scenario Resets after Restarting Game

I've set a custom scenario with 200% nutrition, the game works fine by halving the recipe costs for foods. but after i restart the game (Quit to OS) the Custom scenario stopped working

if someone can confirm this to me that would be great. one thing for sure is my Custom scenario working again after i removed Performancefish and its Dependency

i also made this account just for this, tell me if there's anything i should provide

Game Fails to Load; Proton-GE 9-4; No mods other than deps (+ Harmony) & HugsLib

Game GUI fails to start upon game startup.

Tested with native Linux & Proton-GE 9-4. Logs are from Proton-GE 9-4 run.

Only Mods:

  • Performance Fish
  • Fishery
  • Harmony
  • Prepatcher
  • HugsLib

BAD Player.log:
(No HugsLib in mod list for this log)
PERFORMANCE FISH, FISHERY, HARMONY, PREPATCHER.txt

GOOD Player.log with only HugsLib, Harmony, & Prepatcher, NO PERFORMANCE FISH OR FISHERY:
HARMONY, PREPATCHER, HUGSLIB.txt

GOOD Player.log with only HugsLib, Harmony, Fishery, & Prepatcher, NO PERFORMANCE FISH:
FISHERY, HARMONY, PREPATCHER, HUGSLIB.txt

AllowedToAccept in StorageSettingsPatches brokes storage policies when items changes stats.

When stats of items changes and became wrong to policy of storage zone, game will not make this item inappropriate to that storage zone.
Example: i had an corpses in stockpile zone, they were fresh, stockpile policy allows only storing fresh corpses, corpse starts to rot, but pawns will never haul it out this stockpile. Another: you make two stockpiles, first can store all items, all quality and HP, second one has higher priority and can store some item, but only with full HP, when item deteriorates and loses one percent of HP, game will not do anything and item still be appropriate to store, that can change if you "touch" storing policy. Turning patch off instantly fixes problem.
I guess better to have an warning at least.

(Sorry for my poor language skills, if i did mistakes in text)

Outdated Harmony mod detected

Prepatcher currently includes an outdated copy of harmony compared to what's inside the harmony mod, causing this warning. It's safe to ignore and can be manually fixed by replacing the 0Harmony.dll there with v2.3.3 from the harmony mod

Something wrong with this mod

Im gettin multiple red errors contain line
"Performance Fish encountered an exception while trying to initialize (X)"

Performance Fish encountered an exception while trying to initialize GenLocalDateCaching:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize HediffComp_PsychicHarmonizer_Bugfix:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize HediffSetCaching:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize MassUtilityCaching:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize MiscOptimizations:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize Pawn_PsychicEntropyTrackerOptimization:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize RoomOptimizations:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize StoreUtilityPatches:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize ThingCompCaching:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize ThingOwnerUtilityCaching:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize ThoughtWorker_Precept_AltarSharingOptimization:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize UtilityPatches:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize ReflectionCaching:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize Buildings:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize Haulables:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize Mergeables:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize Misc:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize StorageSettingsPatches:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize JobGiver_HaulOptimization:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize WorkGiver_DoBillOptimization:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize WorkGiver_HaulOptimization:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Performance Fish encountered an exception while trying to initialize WorkGiver_MergeOptimization:
System.MissingMethodException: System.Reflection.MethodInfo HarmonyLib.AccessTools.EnumeratorMoveNext(System.Reflection.MethodBase)
at PerformanceFish.FishPatch.TryPatch () [0x00098] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchExtensions.PatchAll (System.Collections.Generic.IEnumerable`1[T] patches) [0x0000f] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.FishPatchHolder.PatchAll () [0x0000b] in <46e138386b6e41969ba7218d869173d6>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x00135] in <46e138386b6e41969ba7218d869173d6>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Incompatibility with fluffy's Medical Tab

It seems that there's an issue with using the "show procedures that increase/decrease x" function of fluffy's Medical Tab mod, in that the pop-up menu doesn't appear and this error occurs as shown in the log:

Initializing new game with mods:
  - Garethp.ModlistConfigurator
  - zetrith.prepatcher
  - brrainz.harmony
  - me.samboycoding.betterloading.dev
  - bs.fishery
  - Ludeon.RimWorld
  - bs.betterlog
  - bs.performance
  - Ludeon.RimWorld.Royalty
  - Ludeon.RimWorld.Ideology
  - Ludeon.RimWorld.Biotech
  - UnlimitedHugs.HugsLib
  - Fluffy.MedicalTab
  - Krkr.RocketMan
Unloading 0 Unused Serialized files (Serialized files now loaded: 3)

Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 28933.
Total: 338.546700 ms (FindLiveObjects: 1.046300 ms CreateObjectMapping: 0.513200 ms MarkObjects: 336.946000 ms  DeleteObjects: 0.040900 ms)

Exception filling window for Fluffy.MainTabWindow_Medical: System.NullReferenceException: Object reference not set to an instance of an object
  at System.Linq.Enumerable+<OfTypeIterator>d__32`1[TResult].<>m__Finally1 () [0x00007] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at System.Linq.Enumerable+<OfTypeIterator>d__32`1[TResult].System.IDisposable.Dispose () [0x00013] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at System.Linq.Enumerable+<OfTypeIterator>d__32`1[TResult].MoveNext () [0x00085] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00039] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at Fluffy.CapacityUtility.AffectsCapacityOnIngestion (Verse.ThingDef def, Verse.PawnCapacityDef capacity, System.Single current, System.Boolean negative) [0x00057] in <cfba35c05604436fb917b2eb307603b0>:0 
  at Fluffy.CapacityUtility.AdministersDrugThatAffects (Verse.RecipeDef r, Verse.PawnCapacityDef capacity, System.Single current, System.Boolean negative) [0x00025] in <cfba35c05604436fb917b2eb307603b0>:0 
  at Fluffy.PawnColumnWorker_Capacity+<>c__DisplayClass7_0.<DoInteractions>b__0 (Verse.RecipeDef r) [0x0003a] in <cfba35c05604436fb917b2eb307603b0>:0 
  at System.Linq.Enumerable+WhereListIterator`1[TSource].MoveNext () [0x00037] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at Fluffy.PawnColumnWorker_Capacity.DoInteractions (UnityEngine.Rect rect, Verse.Pawn pawn, System.Single level) [0x0009b] in <cfba35c05604436fb917b2eb307603b0>:0 
  at Fluffy.PawnColumnWorker_Capacity.DoCell (UnityEngine.Rect rect, Verse.Pawn pawn, RimWorld.PawnTable table) [0x0009e] in <cfba35c05604436fb917b2eb307603b0>:0 
  at RimWorld.PawnTable.PawnTableOnGUI (UnityEngine.Vector2 position) [0x0028d] in <cd7169108ea74757aa50c5b33d275c15>:0 
  at RimWorld.MainTabWindow_PawnTable.DoWindowContents (UnityEngine.Rect rect) [0x00020] in <cd7169108ea74757aa50c5b33d275c15>:0 
  at Fluffy.MainTabWindow_Medical.DoWindowContents (UnityEngine.Rect rect) [0x00052] in <cfba35c05604436fb917b2eb307603b0>:0 
  at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <cd7169108ea74757aa50c5b33d275c15>:0  
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Mouse position stack is not empty. There were more calls to BeginScrollView than EndScrollView. Fixing. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Here's the full error log (apologies - there's likely quite a few unrelated errors for other mods in there. I'm not sure why since my full modlist for this test consisted of Auto Mod Config, Prepatcher, Harmony, BetterLoading, fishery, Better Log, Official DLCs, Hugslib, and Rocketman.)

Player.log

Here's a screenshot of my modlist:
image

Please let me know if there's anything else I should add - I'm not a very technical person and don't have experience with debugging or anything - and thanks!

Bug with faciel animation

full hugs log is currently unable
Main log:
PerformanceFish failed to generate an optimized delegate for static System.Void PerformanceOptimizer.ICache_ThingComp1<FacialAnimation.ControllerBaseCompNoSave2<FacialAnimation.T, FacialAnimation.S>>::Clear(). Reverting to default behaviour instead.
System.InvalidOperationException: Could not execute the method because the containing type is not fully instantiated.
at (wrapper managed-to-native) System.Delegate.CreateDelegate_internal(System.Type,object,System.Reflection.MethodInfo,bool)
at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method, System.Boolean throwOnBindFailure, System.Boolean allowClosed) [0x002f0] in :0
at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method) [0x00000] in :0
at System.Reflection.Emit.DynamicMethod.CreateDelegate (System.Type delegateType) [0x00029] in :0
at PerformanceFish.System.ReflectionCaching+MethodBasePatches.MakeInvokeDelegate (System.Reflection.MethodBase methodBase) [0x0014d] in :0
at PerformanceFish.System.ReflectionCaching+MethodBasePatches.MakeInvokeDelegate (System.Reflection.MethodBase methodBase) [0x00000] in :0
at PerformanceFish.System.ReflectionCaching+MethodBasePatches+MethodInvokerCache.MakeResultAsync (System.RuntimeMethodHandle key, System.Reflection.MethodBase method) [0x00000] in :0
at PerformanceFish.Cache.ByReferenceUnclearable2+<UpdateCacheAsync>d__243[T,TResult,TCacheValue,TArgument2,TCacheResult].MoveNext () [0x00000] in :0
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1[TResult].Start[TStateMachine] (TStateMachine& stateMachine) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at PerformanceFish.Cache.ByReferenceUnclearable2[T,TResult].UpdateCacheAsync[TCacheValue,TArgument2,TCacheResult] (T key, TCacheValue cacheCopy, TArgument2 second) [0x00000] in :0
at PerformanceFish.Cache.ByReferenceUnclearable2+<>c__DisplayClass21_03[T,TResult,TCacheValue,TArgument2,TCacheResult].b__0 () [0x00000] in :0
at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.Tasks.Task.Execute () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.Tasks.Task.ExecutionContextCallback (System.Object obj) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task& currentTaskSlot) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.Tasks.Task.ExecuteEntry (System.Boolean bPreventDoubleExecution) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Warning_Patch3 (string) PerformanceFish.Log/Config/<>c:<.cctor>b__12_1 (string) PerformanceFish.Log:Warning (FisheryLib.Pools.PooledStringHandler) PerformanceFish.System.ReflectionCaching/MethodBasePatches:MakeInvokeDelegate (System.Reflection.MethodBase) PerformanceFish.System.ReflectionCaching/MethodBasePatches/MethodInvokerCache:MakeResultAsync (System.RuntimeMethodHandle,System.Reflection.MethodBase) PerformanceFish.Cache.ByReferenceUnclearable2/d__243<System.RuntimeMethodHandle, PerformanceFish.System.ReflectionCaching/MethodBasePatches/MethodInvokerCache, PerformanceFish.System.ReflectionCaching/MethodBasePatches/MethodInvokerCache, System.Reflection.MethodBase, PerformanceFish.System.ReflectionCaching/MethodBasePatches/MethodInvoker>:MoveNext () System.Runtime.CompilerServices.AsyncTaskMethodBuilder1<PerformanceFish.System.ReflectionCaching/MethodBasePatches/MethodInvoker>:Start<PerformanceFish.Cache.ByReferenceUnclearable2/<UpdateCacheAsync>d__243<System.RuntimeMethodHandle, PerformanceFish.System.ReflectionCaching/MethodBasePatches/MethodInvokerCache, PerformanceFish.System.ReflectionCaching/MethodBasePatches/MethodInvokerCache, System.Reflection.MethodBase, PerformanceFish.System.ReflectionCaching/MethodBasePatches/MethodInvoker>> (PerformanceFish.Cache.ByReferenceUnclearable2/<UpdateCacheAsync>d__243<System.RuntimeMethodHandle, PerformanceFish.System.ReflectionCaching/MethodBasePatches/MethodInvokerCache, PerformanceFish.System.ReflectionCaching/MethodBasePatches/MethodInvokerCache, System.Reflection.MethodBase, PerformanceFish.System.ReflectionCaching/MethodBasePatches/MethodInvoker>&)
PerformanceFish.Cache.ByReferenceUnclearable2<System.RuntimeMethodHandle, PerformanceFish.System.ReflectionCaching/MethodBasePatches/MethodInvokerCache>:UpdateCacheAsync<PerformanceFish.System.ReflectionCaching/MethodBasePatches/MethodInvokerCache, System.Reflection.MethodBase, PerformanceFish.System.ReflectionCaching/MethodBasePatches/MethodInvoker> (System.RuntimeMethodHandle,PerformanceFish.System.ReflectionCaching/MethodBasePatches/MethodInvokerCache,System.Reflection.MethodBase) PerformanceFish.Cache.ByReferenceUnclearable2/<>c__DisplayClass21_03<System.RuntimeMethodHandle, PerformanceFish.System.ReflectionCaching/MethodBasePatches/MethodInvokerCache, PerformanceFish.System.ReflectionCaching/MethodBasePatches/MethodInvokerCache, System.Reflection.MethodBase, PerformanceFish.System.ReflectionCaching/MethodBasePatches/MethodInvoker>:<StartTask>b__0 () System.Threading.Tasks.Task1<System.Threading.Tasks.Task`1<PerformanceFish.System.ReflectionCaching/MethodBasePatches/MethodInvoker>>:InnerInvoke ()
System.Threading.Tasks.Task:Execute ()
System.Threading.Tasks.Task:ExecutionContextCallback (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.Tasks.Task:ExecuteWithThreadLocal (System.Threading.Tasks.Task&)
System.Threading.Tasks.Task:ExecuteEntry (bool)
System.Threading.Tasks.Task:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem ()
System.Threading.ThreadPoolWorkQueue:Dispatch ()
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

Error when creating stockpiles while the mod is active

The situation is similar to a previous issue, and after reading it, I checked if I wasn't missing any dependencies, which doesn't seems to be the case. The error happens once and then doesn't happen again when creating stockpiles. I suspect it may be somewhat related to Allow Zones mod, as when I had it active, no stockpile would be creatable. I hope this information proves to be useful for troubleshooting.

Hugslib trace: https://gist.github.com/HugsLibRecordKeeper/b6010a79b4327d078e535a00b3c0561a

Possible incompatibility with 1-2-3 Personalities M1?

Visual Exceptions identifies an exception between Performance Fish...

"static Boolean CreateInstance_Type.Prefix(Type type, Object&___result)"

and 1-2-3 Personalities M1

"static Patch_ThingWithComps__InitializeComps.Postfix(ThingWithComps__Instance, List'1&___comps"

dunno if this is an actual issue or not!

==

Exception in Verse.ThingWithComps.InitializeComps: System.MissingMethodException: Default constructor not found for type Verse.ThingComp
at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x0007b] in :0
at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in :0
at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in :0
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in :0
at System.Activator.CreateInstance (System.Type type) [0x00025] in :0
- prefix bs.performance: Boolean PerformanceFish.System.ReflectionCaching+ActivatorPatches+CreateInstance_Type:Prefix(Type type, Object& __result)
at VisualExceptions.ExceptionsAndActivatorHandler+PatchedActivator.CreateInstance (System.Type type, System.Object obj) [0x00009] in <07c490e249c249ff929a9cc5067837e4>:0
at Verse.ThingWithComps.InitializeComps () [0x0003a] in :0
- transpiler net.pardeike.rimworld.lib.harmony: IEnumerable1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable1 instructions, MethodBase original)
- postfix hahkethomemah.simplepersonalities: Void SPM1.Patches.Patch_ThingWithComps_InitializeComps:Postfix(ThingWithComps __instance, List`1& ___comps)

Randomly fail to apply prepatch, and the game stuck at loading screen

Sorry for being not able to provide any log since this happens during startup, but comparing these 3 log screenshot, I think there are some soft incompatibility between prepatcher and fish:
image
image
image

First pic is when it gets stuck (and had to alt+f4 to force shut the game down), second is when it successfully applying prepatches, third is without fish

Please contact me if you need more information

Incompatibility with CE Custom Ammo

These 2 patches need to be disabled for CE Custom Ammo otherwise the UI for it completely breaks, really descriptive I know.
image

Causes the following error, if it matters.

Exception filling window for CustomLoads.UI.Window_CustomLoadEditor: System.InvalidOperationException: Sequence contains no elements
  at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at CustomLoads.UI.Window_CustomLoadEditor.DoWindowContents (UnityEngine.Rect inRect) [0x00b06] in <af22538728344e54b4df0b0c469cbfeb>:0 
  at (wrapper dynamic-method) Verse.Window.Verse.Window.InnerWindowOnGUI_Patch0(Verse.Window,int)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch5 (string)
(wrapper dynamic-method) Verse.Window:Verse.Window.InnerWindowOnGUI_Patch0 (Verse.Window,int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

[1.4] Red Error from FieldInfo.SetValue on compile-time const. Possibly VEFramework compat issue.

Hi Bradson, I recently got a couple of red errors when running. It's with a fairly extensive mod list, so I'm probably going to pare it back and try to recreate it with less going on. However, I didn't see it all last night on my new save until I reloaded the game and tried it this morning.

The error appears twice in this relatively short (2500 lines) player.log, starting with "FieldInfo.SetValue has been called on 'public const'", but my in-game log uploader doesn't appear to be working. (As I recall, there's a workaround for this, but I don't currently have it installed.)

Player.log
image

Can't create new stockpile zones

With this mod installed, trying to create new stockpile zones acts like I never released the mouse button except for the tooltip text reappearing. Existing zones can be extended and all other zone tools (that I checked) work fine. Removing performance fish fixes it. It also throws an error every time I try to create a new zone:

Root level exception in OnGUI(): System.InvalidOperationException: Failed to compare two elements in the array. ---> System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.StatWorker_MarketValue.CalculatedBaseMarketValue (Verse.BuildableDef def, Verse.ThingDef stuffDef) [0x000c4] in <81af9f8a18324e17b286924a43555a7c>:0
at RimWorld.StatWorker_MarketValue.GetValueUnfinalized (RimWorld.StatRequest req, System.Boolean applyPostProcess) [0x000b5] in <81af9f8a18324e17b286924a43555a7c>:0
at (wrapper dynamic-method) RimWorld.StatWorker.RimWorld.StatWorker.GetValue_Patch0(RimWorld.StatWorker,RimWorld.StatRequest,bool)
at RimWorld.StatWorker.GetValueAbstract (Verse.BuildableDef def, Verse.ThingDef stuffDef) [0x00009] in <81af9f8a18324e17b286924a43555a7c>:0
at RimWorld.StatExtension.GetStatValueAbstract (Verse.BuildableDef def, RimWorld.StatDef stat, Verse.ThingDef stuff) [0x00006] in <81af9f8a18324e17b286924a43555a7c>:0
at Verse.ThingDef.get_BaseMarketValue () [0x00000] in <81af9f8a18324e17b286924a43555a7c>:0
at PerformanceFish.ThingFilterPatches+SetAllow_Patch.ComparerMethod (Verse.ThingDef a, Verse.ThingDef b) [0x00007] in <46e138386b6e41969ba7218d869173d6>:0
at System.Collections.Generic.ComparisonComparer`1[T].Compare (T x, T y) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.ArraySortHelper`1[T].InternalBinarySearch (T[] array, System.Int32 index, System.Int32 length, T value, System.Collections.Generic.IComparer`1[T] comparer) [0x00012] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.ArraySortHelper`1[T].BinarySearch (T[] array, System.Int32 index, System.Int32 length, T value, System.Collections.Generic.IComparer`1[T] comparer) [0x0000b] in <eae584ce26bc40229c1b1aa476bfa589>:0
--- End of inner exception stack trace ---
at System.Collections.Generic.ArraySortHelper`1[T].BinarySearch (T[] array, System.Int32 index, System.Int32 length, T value, System.Collections.Generic.IComparer`1[T] comparer) [0x00025] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Array.BinarySearch[T] (T[] array, System.Int32 index, System.Int32 length, T value, System.Collections.Generic.IComparer`1[T] comparer) [0x00044] in <eae584ce26bc40229c1b1aa476bfa589>:0
at (wrapper dynamic-method) Verse.ThingFilter.Verse.ThingFilter.SetAllow_Patch1(Verse.ThingFilter,Verse.ThingDef,bool)
at Verse.ThingFilter.SetAllow (Verse.ThingCategoryDef categoryDef, System.Boolean allow, System.Collections.Generic.IEnumerable`1[T] exceptedDefs, System.Collections.Generic.IEnumerable`1[T] exceptedFilters) [0x00032] in <81af9f8a18324e17b286924a43555a7c>:0
at (wrapper dynamic-method) Verse.ThingFilter.Verse.ThingFilter.SetFromPreset_Patch1(Verse.ThingFilter,RimWorld.StorageSettingsPreset)
at RimWorld.StorageSettings.SetFromPreset (RimWorld.StorageSettingsPreset preset) [0x00000] in <81af9f8a18324e17b286924a43555a7c>:0
at RimWorld.Zone_Stockpile..ctor (RimWorld.StorageSettingsPreset preset, Verse.ZoneManager zoneManager) [0x00019] in <81af9f8a18324e17b286924a43555a7c>:0
at RimWorld.Designator_ZoneAddStockpile.MakeNewZone () [0x0000b] in <81af9f8a18324e17b286924a43555a7c>:0
at RimWorld.Designator_ZoneAdd.DesignateMultiCell (System.Collections.Generic.IEnumerable`1[T] cells) [0x00105] in <81af9f8a18324e17b286924a43555a7c>:0
at (wrapper dynamic-method) Verse.DesignatorManager.Verse.DesignatorManager.ProcessInputEvents_Patch3(Verse.DesignatorManager)
at RimWorld.MapInterface.HandleMapClicks () [0x0000f] in <81af9f8a18324e17b286924a43555a7c>:0
at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootOnGUI_Patch2(RimWorld.UIRoot_Play)
at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
2022-11-12.21-27-56.mp4

Log: https://gist.github.com/0eec6f7699c397c36f2e084834a3cc6e
Also, I did try removing the Designator Shapes mod but that didn't help.

Performance Fish seems to cause endless load on startup

I don't know if this could be related to my modlist in general since if I understand what PF does, these patches should be applied before it ever gets around to loading the modlist. Nonetheless I've had it hang on this message several times,
image

Of course, I've also had issues with Prepatcher that may be related so I don't know that PF itself is responsible. What I can say about reproduction is that force closing Rimworld and starting it again will usually proceed without issue so its not a consistent error, and that it appears to be at least somewhat influenced if after starting Rimworld I click out to do something else while I wait for it to load (my overloaded modlist takes about five to ten minutes).
Player.log

The player.log talks about some fallback handlers which is probably significant to someone in the know but a Google search suggests this is some oddity with Unity and not with Rimworld specifically.

A recipe fails to work

Fine meal recipe. A cook puts meat on the stove, and then something breaks, and instead of adding vegetables it adds more and more meat. Not 100% sure what is the problem, but it ends in Performance FIsh / Fishery.

Was fixed by save/load cycle.

https://gist.github.com/HugsLibRecordKeeper/08cae9e8702d13c8724ec1d2bdeba98b

Exception in Verse.AI.JobDriver.TryActuallyStartNextToil: System.InvalidOperationException: Failed to find parent index in FishTable<PerformanceFish.GroupThingPair, System.Int32> for key: 'GroupThingPair { ThingRequestGroup = HaulableAlways, ThingIDNumber = 812723 }', hashCode: '67921587', value: '39', count: '221', bucket array length: '1024', total tailing entries count: '27', known chain of tails:
{ index: '335' key: 'GroupThingPair { ThingRequestGroup = Everything, ThingIDNumber = 810452 }', hashCode: '34364884', value: '32 }
[Ref 3E99135E]
 at FisheryLib.Collections.FishTable`2+ThrowHelper[TKey,TValue].ThrowFailedToFindParentInvalidOperationException (FisheryLib.Collections.FishTable`2[TKey,TValue] fishTable, System.Int32 childBucketIndex) [0x001ae] in <a3e8b53a325844e98f60ef692520ce62>:0 
 at FisheryLib.Collections.FishTable`2[TKey,TValue].GetParentBucketIndex (System.Int32 childBucketIndex, System.Boolean throwOnFailure) [0x0001f] in <a3e8b53a325844e98f60ef692520ce62>:0 
 at FisheryLib.Collections.FishTable`2[TKey,TValue].SetParentTail (System.Int32 entryIndex, System.UInt32 newTail) [0x00000] in <a3e8b53a325844e98f60ef692520ce62>:0 
 at FisheryLib.Collections.FishTable`2[TKey,TValue].InsertEntryInternal (FisheryLib.Collections.FishTable`2+Entry[TKey,TValue]& entry, FisheryLib.Collections.FishTable`2+ReplaceBehaviour[TKey,TValue] replaceBehaviour) [0x0005b] in <a3e8b53a325844e98f60ef692520ce62>:0 
 at FisheryLib.Collections.FishTable`2[TKey,TValue].InsertEntry (FisheryLib.Collections.FishTable`2+Entry[TKey,TValue]& entry, FisheryLib.Collections.FishTable`2+ReplaceBehaviour[TKey,TValue] replaceBehaviour, System.Boolean shifting) [0x00000] in <a3e8b53a325844e98f60ef692520ce62>:0 
 at FisheryLib.Collections.FishTable`2[TKey,TValue].InsertEntry (TKey key, TValue value, FisheryLib.Collections.FishTable`2+ReplaceBehaviour[TKey,TValue] replaceBehaviour, System.Boolean shifting) [0x00008] in <a3e8b53a325844e98f60ef692520ce62>:0 
 at FisheryLib.Collections.FishTable`2[TKey,TValue].set_Item (TKey key, TValue value) [0x00000] in <a3e8b53a325844e98f60ef692520ce62>:0 
 at PerformanceFish.Listers.ThingsPrepatches.AddToGroupList (Verse.ListerThings lister, Verse.Thing thing, Verse.ThingRequestGroup thingRequestGroup) [0x0004f] in <1abb0130249c43c1baf27d70a2458bfe>:0 
 at Verse.ListerThings.Add (Verse.Thing t) [0x00060] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 
 at Verse.RegionListersUpdater.RegisterInRegions (Verse.Thing thing, Verse.Map map) [0x0003a] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 
 at Verse.Thing.SpawnSetup (Verse.Map map, System.Boolean respawningAfterLoad) [0x00158] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 
     - TRANSPILER SmashPhil.VehicleFramework: IEnumerable`1 Vehicles.VehiclePathing:SpawnAndUpdateVehicleRegionsTranspiler(IEnumerable`1 instructions)
     - TRANSPILER OskarPotocki.VanillaFactionsExpandedMechanoids: IEnumerable`1 VFEMech.ThingSpawnSetup_Patch:Transpiler(IEnumerable`1 instructions)
     - POSTFIX Uuugggg.rimworld.Five_Second_Rule.main: Void Five_Second_Rule.ThingSpawn_Patch:Postfix(Thing __instance, Map map, Boolean respawningAfterLoad)
     - POSTFIX XeoNovaDan.TinyTweaks: Void TinyTweaks.Patches_NightOwl+Thing_SpawnSetup:Postfix(Thing __instance)
     - POSTFIX OskarPotocki.VanillaPsycastsExpanded: Void VanillaPsycastsExpanded.GenRadialCached:SpawnSetup_Postfix(Thing __instance)
 at Verse.ThingWithComps.SpawnSetup (Verse.Map map, System.Boolean respawningAfterLoad) [0x00000] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 
     - POSTFIX OskarPotocki.VFECore: Void VFECore.Thing_SpawnSetup_Patch:Postfix(ThingWithComps __instance)
 at Verse.GenSpawn.Spawn (Verse.Thing newThing, Verse.IntVec3 loc, Verse.Map map, Verse.Rot4 rot, Verse.WipeMode wipeMode, System.Boolean respawningAfterLoad, System.Boolean forbidLeavings) [0x00346] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 
     - PREFIX Uuugggg.rimworld.Replace_Stuff.main: Void Replace_Stuff.NewThing.TransferSettings:Prefix(Thing newThing, IntVec3 loc, Map map, Rot4 rot, Boolean respawningAfterLoad, Thing& __state)
     - PREFIX SmashPhil.VehicleFramework: Boolean Vehicles.Construction:RegisterThingSpawned(Thing newThing, IntVec3& loc, Map map, Rot4& rot, Thing& __result, WipeMode wipeMode, Boolean respawningAfterLoad)
     - PREFIX MapPreview.GenLow: Boolean MapPreview.Patches.Patch_Verse_GenSpawn:Spawn(Thing newThing, Map map, Thing& __result)
     - POSTFIX Uuugggg.rimworld.Replace_Stuff.main: Void Replace_Stuff.NewThing.TransferSettings:Postfix(Thing __result, Thing __state)
 at Verse.GenPlace.SplitAndSpawnOneStackOnCell (Verse.Thing thing, Verse.IntVec3 loc, Verse.Rot4 rot, Verse.Map map, Verse.Thing& resultingThing, System.Action`2[T1,T2] placedAction) [0x00029] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 
 at Verse.GenPlace.TryPlaceDirect (Verse.Thing thing, Verse.IntVec3 loc, Verse.Rot4 rot, Verse.Map map, Verse.Thing& resultingThing, System.Action`2[T1,T2] placedAction) [0x00180] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 
     - POSTFIX net.littlewhitemouse.LWM.DeepStorage: Void LWM.DeepStorage.Patch_GenPlace_TryPlaceDirect:Postfix(Map map, IntVec3 loc)
 at Verse.GenPlace.TryPlaceThing (Verse.Thing thing, Verse.IntVec3 center, Verse.Map map, Verse.ThingPlaceMode mode, Verse.Thing& lastResultingThing, System.Action`2[T1,T2] placedAction, System.Predicate`1[T] nearPlaceValidator, Verse.Rot4 rot) [0x00032] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 
 at Verse.GenDrop.TryDropSpawn (Verse.Thing thing, Verse.IntVec3 dropCell, Verse.Map map, Verse.ThingPlaceMode mode, Verse.Thing& resultingThing, System.Action`2[T1,T2] placedAction, System.Predicate`1[T] nearPlaceValidator, System.Boolean playDropSound) [0x000e1] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 
     - POSTFIX net.avilmask.rimworld.mod.CommonSense: Void CommonSense.GenPlace_TryDropSpawn_NewTmp_CommonSensePatch:Postfix(Thing resultingThing)
     - POSTFIX net.avilmask.rimworld.mod.NonUnoPinata: Void NonUnoPinata.Patches.GenPlace_TryPlaceThing_NonUnoPinataPatch:Postfix(Thing thing, IntVec3 dropCell, Map map, ThingPlaceMode mode, Thing resultingThing, Action`2 placedAction, Predicate`1 nearPlaceValidator)
 at Verse.ThingOwner.TryDrop (Verse.Thing thing, Verse.IntVec3 dropLoc, Verse.Map map, Verse.ThingPlaceMode mode, Verse.Thing& lastResultingThing, System.Action`2[T1,T2] placedAction, System.Predicate`1[T] nearPlaceValidator, System.Boolean playDropSound) [0x00034] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 
 at Verse.ThingOwner`1[T].TryDrop (Verse.Thing thing, Verse.IntVec3 dropLoc, Verse.Map map, Verse.ThingPlaceMode mode, T& lastResultingThing, System.Action`2[T1,T2] placedAction, System.Predicate`1[T] nearPlaceValidator) [0x00025] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 
 at Verse.Pawn_CarryTracker.TryDropCarriedThing (Verse.IntVec3 dropLoc, Verse.ThingPlaceMode mode, Verse.Thing& resultingThing, System.Action`2[T1,T2] placedAction) [0x00018] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 
 at Verse.AI.Toils_Haul+<>c__DisplayClass8_0.<PlaceHauledThingInCell>b__0 () [0x00102] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 
 at AllowTool.Patches.ToilsHaul_PlaceInCell_Patch+<>c__DisplayClass0_0.<ClearHaulUrgently>b__0 () [0x00042] in <265ca9a7207e4e91b7143054729037f5>:0 
 at LWM.DeepStorage.Patch_PlaceHauledThingInCell_Toil+<>c__DisplayClass0_0.<Postfix>b__0 () [0x000b2] in <b6c0b477157241b2b453e30bad1e0117>:0 
 at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x00208] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 
     - TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)

cannot create "stockpile zones" with this mod installed

For whatever reason when I have this installed in my mod list I cannot create stockpile zones.
The way this happens is that the ONLY for stockpile zones, the game acts as though it does not see the "mouse release" after the hold and drag.
Basically I select create stockpile zone, the left click + hold + drag, then I let the mouse key go, but nothing happens. If I move the mouse around it acts as though I am still holding the mouse button.
left clicking just resets the start location for the possible zone but the game still then acts as though I am holding the mouse button down.
right clicking still clears the action so it stops.

The only possible error I see does not come up in the in-game logging if I have dev mode on and pause on error.
The possible error is only visible in the player.log file and is

GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced. (Filename: Line: 580)

I tried viewing the logfile live and it doesn't seem like this occurs with the zone creation attempt every time, so I don't know that this error is even involve.

Here is a link to the hugslib log upload

https://gist.github.com/HugsLibRecordKeeper/60302651ef1650c4efd5698bb3165478

And here is my mod list

brrainz.harmony
ludeon.rimworld
bs.performance
ludeon.rimworld.royalty
unlimitedhugs.hugslib
owlchemist.bettervanillamasking
airetexture.core
automatic.bionicicons
dubwise.dubsbadhygiene
dubwise.rimatomics
owlchemist.toggleableoverlays
lwm.deepstorage
spoonshortage.adogsaidanimalprosthetics
spino.megafauna
fluffy.stuffedfloors
dismarzero.vgp.vgpvegetablegarden
dismarzero.vgp.vgpgardenmedicine
dismarzero.vgp.vgpgardenresources
dismarzero.vgp.vgpgardentools
dismarzero.vgp.vgpmoreveggies
dismarzero.vgp.xtratreesandflowers
won.hair
won2.hair
airetexture.mods
brrainz.achtung
gwinnbleidd.anjustquestchance
wexman.advancedhydroponics
crewd.advancedtransportpods
mehni.allyourbase
fluffy.animaltab
oblitus.animalslogic
shinzy.apparello
teok25.archotechexpanded
teok25.archotechexpanded.prosthetics
mlie.archotechplus
fluffy.areaunlocker
pipai.artreroll
flyingstar.automortarsunofficial
tikubonn.autopauseplus
ben.automaticnightowl
nobooms.velcroboy333
fissure.bettergroundtextures
madeline.modmismatchformatter
falconne.bwm
creeper.betterinfocard
mrchimick.blockunwantedminutiae
chippedchap.blueprinttotalstooltip
fluffy.blueprints
powerlunatic.bogbogon
mlie.boommodexpanded
insertkey.buildertweaks
vanya.tools.bulkcarrier
devdisigdu.bulk.components
nerdy.bm
mlie.bulkrecipegenerator
zal.bulksmelting
hol.bsc
brrainz.cameraplus
dubwise.dubsmintmenus
fluffykittens.billcategories
mlie.centralizedclimatecontrol
dhultgren.changecaravanloadout
hatti.cleaningarea
syrus.colonistbaradjuster
fluffy.colonymanager
amch.deconstructpercentage
zylle.confusinganimalnames
xavior.glittertech
3tes.cgtwaa
torann.craftableplasteel
phomor.craftingqualityrebalanced
tammybee.cutplantsbeforebuilding
proxyer.desurgeries.desurgeriescolor
fozzy107.deconstructhfirst
unlimitedhugs.defensivepositions
chv.diagonalwalls
mlie.dismisstrader
tikubonn.dontblockdoor
dracoix.doormat.r12a
arandomkiwi.downforme
telardo.dragselect
kb.dropinventory
oskarpotocki.vanillafactionsexpanded.core
dubwise.dubsappareltweaks
sztorno.dubsbadhygienewtpatch
avilmask.commonsense
dubwise.dubsbreakmod
dubwise.dubsperformanceanalyzer.steam
angryhornet.ed.enhancedoptions
vat.epoeforked
tarojun.epoeforked.removeworkbench
vat.epoeforkedroyalty
etrt.powerusage
zylle.extraalerts
monkey5206.carrycapacityfixed
fuglypump.fallouttraits
spoonshortage.fashionrimsta
jaxe.filtermanager
alex.friendlyfiretweaks
miyamiya.functionalroom.latest
uuugggg.gearupandgo
m00nl1ght.geologicallandforms
albion.goexplore
telefonmast.graphicssettings
avilmask.grazinglands
arandomkiwi.guardsforme
hol.stuffedpower
vanillaexpanded.vtexe
hc.animalreskins.complete2
shakeyourbunny.hdhterrainhtexturehpack
smuffle.harvestorganspostmortem
likeafox.haulexplicitly
jkluch.haultostack
erdelf.minifyeverything
notooshabby.homemover
arandomkiwi.huntforme
murmur.isid
haecriver.injuredcarry
kota.inventorytab
kikohi.jewelry
nestofmoon.jobslimittweak
brrainz.justignoremepassing
kushiyaki.lastvisited
mlie.lessarbitrarysurgery
zhrocks11.letstrade_copy
scorpio.makeanythingcraftable
zylle.mapdesigner
thereallemon.mapreroll
uuugggg.mealsonwheels
notfood.mendandrecycle
unlimitedhugs.allowtool
haplo.miscellaneous.core
haplo.miscellaneous.robots
sixdd.miscrobotshaulurgentlypatch
haplo.miscellaneous.training
alaestor.miscrobots.plusplus
fluffy.worktab
elf.miscrobots.worktab.support
navyseal5.moreharvestdesignators
tidal.morevanilla.textures
paradox.morevanillaturrets
hobtook.mortaraccuracy
thevillageguy.nodropcenterdropraids.1
mlie.noversionwarning
magicalliopleurodon.nonflammablemetal
mehni.numbers
owlchemist.fridgeutilities
vanillaexpanded.vpsycastse
sarg.alphaanimals
vanillaexpanded.vanillaanimalsexpanded
vanillaexpanded.vaecaves
vanillaexpanded.vaeendandext
oskarpotocki.vfe.insectoid
scorpio.optimizationleathers
vanillaexpanded.vcooke
vanillaexpanded.vcef
seohyeon.optimizationmeats
mlie.oreyields
com.rimworld.nales.overcappedaccuracy
fed1splay.pawntargetfix
taranchuk.performanceoptimizer
scherub.planningextended
ltbob.preemptivestrike.rimworld
spdskatr.projectrimfactory_steam
spdskatr.projectrimfactory.drones_steam
prf.materials_steam
aranmaho.prf.retexture_steam
void.charactereditor
edb.preparecarefully
community.psychology.unofficialupdate
dninemfive.qualitycooldown
hatti.qualitybuilder
hatti.qualitysurgeon
ogliss.thewhitecrayon.quarry
sgc.quests
sandy.rpgstyleinventory.avilmask.revamped
ratys.rtfuse
tammybee.raiderinfo
vampiresbane.railsandroadsoftherim
dakkpasserida.animareplant
regrowth.botr.core
regrowth.botr.borealforestexpansion
mlie.roadsoftherim
mlie.regrowthexpandedworldgeneration
regrowth.botr.temperateforestexpansion
regrowth.botr.tundraexpansion
regrowth.botr.swampexpansion
mlie.realfactionguest
lucifer.realisticrooms
twistedpacifist.reasonablecomponents
mlie.recipeicons
kinetictail.reinforcedwalls
fluffy.fluffyrelations
mrgames.removetaintedclothes
reiquard.researchinfo
petetimessix.researchreinvented.steppingstones
fluffy.researchtree
tammybee.restocknotification
kyrun.reunion
brrainz.reversecommands
n7huntsman.rimgunsextended
jaxe.rimhud
rupal.rimpymodmanagerdatabase
orion.hospitality
mlie.rimquest
arandomkiwi.rimsaves
rimsenal.evp
rimsenal.core
match.roofsupport
uuugggg.roomfood
mobius.royaltytweaks
trinity.runtimegcupdated
sf.comfy.meditation
smashphil.srtsexpanded
owlchemist.giddyup
thelastbulletbender.saddleup2
ryder.satisfiedstorage
roolo.searchanddestroy
uuugggg.sharetheload
mlie.simplestockpilepresets
neceros.dws.simpleturrets
owlchemist.wallutilities
petetimessix.simplesidearms_steam
mlie.simplymorebridges
mlie.singleplanttexturepatch
owlchemist.smartfarming
sarg.smartspeed
denev.smartturretcovering
dhultgren.smarterconstruction
legodude17.smartdecon
weilbyte.snapout
marvinkosh.sometimesraidsgowrong
albion.sparklingworlds.full
indeed.stackxxl
zhrocks11.stackablechunks_copy
scherub.stonecuttingextended
vanillaexpanded.varme
crazedmonkey23.armormaterials
windwardsnow.miniturret
ogrecommander.stuffedguns
vanillaexpanded.vwe
oskarpotocki.vanillafactionsexpanded.medievalmodule
vanillaexpanded.vfesecurity
daemon976.stuffedsecurity
sun.reducer
zhrocks11.sunlights_copy
rsev.synergistictraits
uuugggg.tdpack
gt.sam.tilledsoil
owlchemist.toggleablereadouts
smashphil.dropspot
timmyliang.tradehelper
joseasoler.tradingoptions
neronix17.tweaksgalore
dhultgren.useminifiedbuildings
vanillaexpanded.vappe
vanillaexpanded.vaeaccessories
vanillaexpanded.basegeneration
vanillaexpanded.vbookse
vanillaexpanded.vcookestews
vanillaexpanded.vcookesushi
oskarpotocki.vanillaexpanded.royaltypatches
vanillaexpanded.vwel
oskarpotocki.vfe.pirates
vanillaexpanded.vfeart
vanillaexpanded.vfefarming
vanillaexpanded.vfepower
vanillaexpanded.vfepropsanddecor
vanillaexpanded.vbrewe
vanillaexpanded.vbrewecandt
oskarpotocki.vfe.classical
oskarpotocki.vfe.mechanoid
oskarpotocki.vfe.vikings
vanillaexpanded.vfemedical
vanillaexpanded.vfeproduction
vanillaexpanded.vfecore
vanillaexpanded.vtexvariations
farxmai2.vanillafurnitureexpandedpack
vanillaexpanded.vgeneticse
vanillaexpanded.vplantsesucculents
vse.perrypersistent
vanillaexpanded.vanillatraitsexpanded
oskarpotocki.vanillafactionsexpanded.settlersmodule
vanillaexpanded.vwec
vanillaexpanded.vwehw
vanillaexpanded.vweq
vanillaexpanded.vweft
vanillaexpanded.vweg
vanillaexpanded.vwems
vanillaexpanded.vwenl
vanillaexpanded.vwetb
ogliss.toastehs.veinminer
murmur.walllight
bodlosh.weaponstats
deivisis.weightprice
tammybee.whereismyweapon
mehni.pickupandhaul
codeoptimist.jobsofopportunity
zylle.morevanillabiomes
odeum.wmbp
carolusclen.dlc.wmbp.mvb
varisha.extendedinspectdata
papercrane1001.weaponstab
frozensnowfox.bettercamploot
vanillaexpanded.vfespacer
frozensnowfox.efficientutilities
frozensnowfox.filthvanisheswithrainandtime
frozensnowfox.growableambrosia
regrowth.botr.aspenforest
vanillaexpanded.vplantse
frozensnowfox.indoortreefarms
dontstopthemusic.kv.rw
forcedojob.kv.rw
nomaxbills.kv.rw
savestoragesettings.kv.rw
kyd.rapidfireturrets
kittahkhan.grazeup
ryflamer.hdpawntextures
sr.modrimworld.raidextension
syrchalis.harvestyieldpatch
syrchalis.moreslaves
syrchalis.processor.framework
syrchalis.setupcamp
wemd.fastmoisturepumps
wemd.reinforceddoors
mlie.xndprofitableweapons
mlie.xndstuffedflaks
mlie.xndtinytweaks
mungus.xpath.hdiconorgansnpba
krkr.rocketman

Biotech mech gestation breaking

With this mod active, trying to make almost any mechanoid thing at a gestator breaks and says you do not have the materials even if you do have the materials.
image
This was resolved instantly when i removed performance fish. No errors appeared in the log but i can reproduce and get any info if requested. I have none of the listed incompatible mods.

error prepachter

does not start error in prepachter version steam

installed mods:
performance fish
prepachter
fishery
harmony

Prepatcher Error: Exception while reloading: System.NullReferenceException: Settings refonly on a null assembly
at Prepatcher.UnsafeAssembly.SetReflectionOnly (System.Reflection.Assembly asm, System.Boolean value) [0x00017] in <2bd5fe90b5e247b7b0a9606776d93baa>:0
at Prepatcher.Process.ModifiableAssembly.SetSourceRefOnly () [0x0001b] in <2bd5fe90b5e247b7b0a9606776d93baa>:0
at Prepatcher.Process.Reloader.Reload (Prepatcher.Process.AssemblySet set, System.Action`1[T] loadAssemblyAction) [0x000b8] in <2bd5fe90b5e247b7b0a9606776d93baa>:0
at Prepatcher.Process.GameProcessing.Process () [0x00153] in <2bd5fe90b5e247b7b0a9606776d93baa>:0
at Prepatcher.Loader.Reload () [0x0009a] in <2bd5fe90b5e247b7b0a9606776d93baa>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Prepatcher.PrepatcherMod/<>c:b__6_1 (object)
Prepatcher.Lg:Error (string)
Prepatcher.Loader:Reload ()
Prestarter.ModManager:b__59_0 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:b__27_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 ()

Issue with RoomOptimizaitons->ContainedBeds and mod Same Room Lovin'

When the ContainedBeds option under RoomOptimizations is enabled and the Same Room Lovin' mod is loaded, I get these exceptions when pawns get in bed in a room that has other pawns already in bed, and I think it keeps the mod from working.

Same Room Lovin: https://steamcommunity.com/sharedfiles/filedetails/?id=2884500441

Exception in RimWorld.ThinkNode_ConditionalLyingDown TryIssueJobPackage: System.ArgumentException: An item with the same key has already been added. Key: F
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at SameRoomLovin.SRL_LovePartnerRelationUtility.GetPartnersInMyRoom (Verse.Pawn pawn) [0x000a9] in <8246a473a80042e19db67f0fc655dec3>:0 
  at SameRoomLovin.SRL_ThinkNode_ChancePerHour.MtbHours (Verse.Pawn pawn) [0x00017] in <8246a473a80042e19db67f0fc655dec3>:0 
  at Verse.AI.ThinkNode_ChancePerHour.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00030] in <8c412d4a16f94d4cb337e846f2dee469>:0 
  at Verse.AI.ThinkNode_Priority.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00022] in <8c412d4a16f94d4cb337e846f2dee469>:0 
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.Pawn_JobTracker:DetermineNextJob (Verse.ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:CheckForJobOverride ()
RimWorld.Toils_LayDown/<>c__DisplayClass6_0:<LayDown>b__1 ()
(wrapper dynamic-method) Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch1 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch1 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()

I replicated this with a minimal modlist:

[Mod list length: 12]
Harmony [https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077]
Core [https:// no link (local mod)]
Performance Fish [https:// no link (local mod)]
Royalty [Official DLC] [https:// no link (local mod)]
Ideology [Official DLC] [https:// no link (local mod)]
Biotech [Official DLC] [https:// no link (local mod)]
HugsLib [https://steamcommunity.com/sharedfiles/filedetails/?id=818773962]
Character Editor [https://steamcommunity.com/sharedfiles/filedetails/?id=1874644848]
Dubs Performance Analyzer [https://steamcommunity.com/sharedfiles/filedetails/?id=2038874626]
Performance Optimizer [https://steamcommunity.com/sharedfiles/filedetails/?id=2664723367]
Same Room Lovin' [https://steamcommunity.com/sharedfiles/filedetails/?id=2884500441]
RocketMan - Performance Mod [https://steamcommunity.com/sharedfiles/filedetails/?id=2479389928]

Unable to do bill when the WorkGiver_DoBillOptimization::TryFindBestIngredientsHelper_InnerDelegate setting is enabled.

Nothing gets printed to my log file, but with this setting on, I'm currently unable to do a bill (it says the ingredients are missing). As soon as I toggle the setting off, I'm able to do that bill. (The bill is crafting High-Explosive Shells.) There are no zoning issues (I tried with the pawn on the unrestricted zone to make sure).

First screenshot is what the context menu looks like with the setting OFF. Second is with the setting ON. Third is showing the setting OFF.
image

image

image

I'm uploading the save file that this is currently happening on if you want to see if you can reproduce locally. I have a bunch of other mods associated with that save, but I just tested loading it with ONLY Performance Fish enabled and the issue is still present. So hopefully you'd be able to load into that save with only Performance Fish and see it for yourself. Just select Ben and right click the Machining Table. (Toggle the setting above on and off to see the difference.)

Squirrel Gang (4).zip

Map generation error

I deleted performance fish and fishery today to download a new version, and after the download I could no longer load my colony. The icon is on the world map, but I could not zoom in or play.
Did some testing with new files, and the game sends me back to main menu saying there is a map generation error.

Below is the only error log after attempting to open a test file

Exception from asynchronous event: System.ArrayTypeMismatchException: Attempted to access an element as a type incompatible with the array.
at (wrapper stelemref) System.Object.virt_stelemref_class_small_idepth(intptr,object)
at System.Array.Fill[T] (T[] array, T value) [0x00012] in :0
at FisheryLib.Collections.FishSet1[T].Initialize (System.Int32 minimumCapacity) [0x0001b] in <92c6fafc44344426b2485444b51df09b>:0 at FisheryLib.Collections.FishSet1[T]..ctor (System.Int32 minimumCapacity) [0x00032] in <92c6fafc44344426b2485444b51df09b>:0
at FisheryLib.Collections.FishSet1[T]..ctor () [0x00000] in <92c6fafc44344426b2485444b51df09b>:0 at PerformanceFish.ParallelNoAlloc.RegisterBackgroundWaitingWorkers (System.Action[] actions) [0x0001c] in <3831104e5e5349baa6f3d3690501cf77>:0 at PerformanceFish.PrepatcherFields.CreateGroupMonitorObject () [0x00005] in <3831104e5e5349baa6f3d3690501cf77>:0 at Verse.Map..ctor () [0x00048] in <0f44124915ec469b8a0ef6daf05b1c19>:0 at (wrapper dynamic-method) Verse.MapGenerator.Verse.MapGenerator.GenerateMap_Patch8(Verse.IntVec3,RimWorld.Planet.MapParent,Verse.MapGeneratorDef,System.Collections.Generic.IEnumerable1<Verse.GenStepWithParams>,System.Action`1<Verse.Map>)
at (wrapper dynamic-method) Verse.Game.Verse.Game.InitNewGame_Patch5(Verse.Game)
at Verse.Root_Play+<>c.b__1_2 () [0x00011] in <0f44124915ec469b8a0ef6daf05b1c19>:0
at Verse.LongEventHandler.RunEventFromAnotherThread (System.Action action) [0x00008] in <0f44124915ec469b8a0ef6daf05b1c19>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:b__27_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

Huge error! I have updated all required mods/ran the game in vanilla with only this mod. Still getting this error on start-up.

Error while instantiating a mod of type PerformanceFish.PerformanceFishMod: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at PerformanceFish.PerformanceFishMod.InitializeMod () [0x0003d] in <76f19f5c387a45abbd2fc7d3e89d1882>:0
at PerformanceFish.PerformanceFishMod..ctor (Verse.ModContentPack content) [0x0000c] in <76f19f5c387a45abbd2fc7d3e89d1882>:0
at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in :0
--- End of inner exception stack trace ---
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in :0
at System.Reflection.MonoCMethod.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007a] in :0
at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :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) [0x00213] in :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) [0x00095] in :0
at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in :0
at Verse.LoadedModManager.CreateModClasses () [0x00076] in <95de19971c5d40878d8742747904cdcd>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.LoadedModManager:CreateModClasses ()
Verse.LoadedModManager:LoadAllActiveMods ()
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:b__27_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 ()

Tons of errors: Failed to find parent index in FishTable<PerformanceFish.GroupThingPair, System.Int32>

After installing the mod and playing for an hour or so, I started getting bunches of errors from time to time.

Did not find yet what broke or what causes the errors.

Exception ticking Yak3025493 (at (144, 0, 136)): System.InvalidOperationException: Failed to find parent index in FishTable<PerformanceFish.GroupThingPair, System.Int32> for key: 'GroupThingPair { ThingRequestGroup = Everything, ThingIDNumber = 3444550 }', hashCode: '36998982', value: '36', count: '239', bucket array length: '1024', total tailing entries count: '33', known chain of tails:
{ index: '430' key: 'GroupThingPair { ThingRequestGroup = AttackTarget, ThingIDNumber = 2877492 }', hashCode: '271312948', value: '0 }
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.Tick_Patch1(Verse.Pawn)
at (wrapper dynamic-method) Verse.TickList.Verse.TickList.Tick_Patch2(Verse.TickList)



 Verse.Pawn.Verse.Pawn.Tick_Patch1 was patched by:
        TRANS:
	Soyuz.Patches.Pawn_Tick_Patch.Transpiler

 Verse.TickList.Verse.TickList.Tick_Patch2 was patched by:
        POST:
	TD_Enhancement_Pack.TickGrow_PlantHarvest.Postfix,
	TD_Enhancement_Pack.TickGrow.Postfix

HugsLib.log

GUI's completely bug out on Linux

No idea why this is happening but it started when I installed Performance-Fish
Screenshot from 2023-02-14 18-38-40

Im on Linux 64bit with Performance optimizer and Rocketman installed

Outdated Harmony mod detected. Harmony must be updated for Performance Fish to work correctly

Outdated Harmony mod detected. Harmony must be updated for Performance Fish to work correctly
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
PerformanceFish.Log/Config/<>c:<.cctor>b__12_2 (string)
PerformanceFish.Log:Error (FisheryLib.Pools.PooledStringHandler)
PerformanceFish.ModCompatibility.ActiveMods:ErrorForOutdatedModDependency (string)
PerformanceFish.ModCompatibility.ActiveMods:CheckDependencyVersion (string,System.Type,string)
PerformanceFish.ModCompatibility.ActiveMods:CheckHarmonyVersion ()
PerformanceFish.ModCompatibility.ActiveMods:CheckRequirements ()
PerformanceFish.Prepatching.FreePatchEntry:Start (Mono.Cecil.ModuleDefinition)
System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
System.Reflection.MethodBase:Invoke (object,object[])
Prepatcher.Process.FreePatcher:InvokePatcher (System.Reflection.MethodInfo,Mono.Cecil.ModuleDefinition)
Prepatcher.Process.FreePatcher:RunPatches (Prepatcher.Process.AssemblySet,string,System.Action`1<Prepatcher.Process.ModifiableAssembly>)
Prepatcher.Process.GameProcessing:Process (Prepatcher.Process.AssemblySet)
Prepatcher.Loader:DoReload ()
Prepatcher.Loader:Reload ()
Prepatcher.PrepatcherMod:.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:b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c: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 ()

I'm pretty sure I'm using the latest Harmony from Steam. Performance Fish 1.5 version. Is this just some minor oversight that can be safely ignored?
No problems otherwise.

P.S. 10 colonists, almost 200 mods, "early midgame" colony. With PF+RocketMan+Performance Optimizer I can get whopping 900 TPS with little no no hiccups, even when large trade caravans arrive, or some other TPS-heavy event occurs! Thank you very much for this mod! Always been a huge fan, downloaded within an hour of the 1.5 release, and it's still amazing as always. Haven't really noticed any compat issues and cross-mod weirdness either, been testing for hours. But not like it's ever been an issue with PF.

Strange Issue With Recipe

Good afternoon.

I have a Mod that adds a special Recipe for Pawns to take a corpse and roast it whole on a rotisserie.

This is the Recipe:
<RecipeDef ParentName="CookMealBase"> <defName>VBYSpitRoastedAnimal</defName> <label>roast whole creature</label> <description>Spit-roast a whole animal for a large gathering.</description> <jobString>Roasting a whole animal.</jobString> <workAmount>2000</workAmount> <workSpeedStat>CookSpeed</workSpeedStat> <effectWorking>Cook</effectWorking> <soundWorking>Recipe_CookMeal</soundWorking> <!-- <allowMixingIngredients>false</allowMixingIngredients> --> <!-- <ingredientValueGetterClass>IngredientValueGetter_Volume</ingredientValueGetterClass> --> <ingredients Inherit="False"> <li> <filter> <categories Inherit="False"> <li>Corpses</li> </categories> <thingDefs> <li MayRequire="TSP.Isengriff.Storytime">ST_BananaScytheCorpse</li> </thingDefs> </filter> <count>1</count> </li> </ingredients> <fixedIngredientFilter Inherit="False"> <categories> <li>Corpses</li> </categories> <thingDefs> <li MayRequire="TSP.Isengriff.Storytime">ST_BananaScytheCorpse</li> </thingDefs> <disallowedCategories> <li>CorpsesMechanoid</li> </disallowedCategories> <specialFiltersToDisallow> <li>AllowRotten</li> </specialFiltersToDisallow> </fixedIngredientFilter> <defaultIngredientFilter Inherit="False"> <categories> <li>CorpsesAnimal</li> </categories> </defaultIngredientFilter> <products> <VBYRoastedAnimal>10</VBYRoastedAnimal> </products> <skillRequirements> <Cooking>8</Cooking> </skillRequirements> <workSkill>Cooking</workSkill> <recipeUsers> <li>VBY_Spit_Roast</li> </recipeUsers> </RecipeDef>

However, when I try to use the Recipe, right-clicking on the Spit Roats Building causes this error to appear each time I right-click it:
Root level exception in OnGUI(): System.IndexOutOfRangeException: Index was outside the bounds of the array. at PerformanceFish.JobSystem.WorkGiver_DoBillOptimization+TryFindBestIngredientsInSet_NoMixHelper_Patch.MarkIngredientCountAsFound (Verse.IngredientCount ingredientCount, RimWorld.Bill bill) [0x00040] in <f28263baa24449fe855d81f4f3ff27b9>:0 at (wrapper dynamic-method) RimWorld.WorkGiver_DoBill.RimWorld.WorkGiver_DoBill.TryFindBestIngredientsInSet_NoMixHelper_Patch1(System.Collections.Generic.List1<Verse.Thing>,System.Collections.Generic.List1<Verse.IngredientCount>,System.Collections.Generic.List1<Verse.ThingCount>,Verse.IntVec3,bool,System.Collections.Generic.List1<Verse.IngredientCount>,RimWorld.Bill) at (wrapper dynamic-method) RimWorld.WorkGiver_DoBill.RimWorld.WorkGiver_DoBill.TryFindBestBillIngredientsInSet_NoMix_Patch2(System.Collections.Generic.List1<Verse.Thing>,RimWorld.Bill,System.Collections.Generic.List1<Verse.ThingCount>,Verse.IntVec3,bool,System.Collections.Generic.List1<Verse.IngredientCount>)
at (wrapper dynamic-method) RimWorld.WorkGiver_DoBill.RimWorld.WorkGiver_DoBill.TryFindBestBillIngredientsInSet_Patch1(System.Collections.Generic.List1<Verse.Thing>,RimWorld.Bill,System.Collections.Generic.List1<Verse.ThingCount>,Verse.IntVec3,bool,System.Collections.Generic.List1<Verse.IngredientCount>) at RimWorld.WorkGiver_DoBill+<>c__DisplayClass23_0.<TryFindBestBillIngredients>b__1 (System.Collections.Generic.List1[T] foundThings) [0x0001e] in <95de19971c5d40878d8742747904cdcd>:0
at (wrapper dynamic-method) RimWorld.WorkGiver_DoBill.RimWorld.WorkGiver_DoBill.TryFindBestIngredientsHelper_Patch1(System.Predicate1<Verse.Thing>,System.Predicate1<System.Collections.Generic.List1<Verse.Thing>>,System.Collections.Generic.List1<Verse.IngredientCount>,Verse.Pawn,Verse.Thing,System.Collections.Generic.List1<Verse.ThingCount>,single) at (wrapper dynamic-method) RimWorld.WorkGiver_DoBill.RimWorld.WorkGiver_DoBill.TryFindBestBillIngredients_Patch2(RimWorld.Bill,Verse.Pawn,Verse.Thing,System.Collections.Generic.List1<Verse.ThingCount>,System.Collections.Generic.List1<Verse.IngredientCount>) at RimWorld.WorkGiver_DoBill.StartOrResumeBillJob (Verse.Pawn pawn, RimWorld.IBillGiver giver) [0x002fb] in <95de19971c5d40878d8742747904cdcd>:0 at (wrapper dynamic-method) RimWorld.WorkGiver_DoBill.RimWorld.WorkGiver_DoBill.JobOnThing_Patch1(RimWorld.WorkGiver_DoBill,Verse.Pawn,Verse.Thing,bool) at RimWorld.WorkGiver_Scanner.HasJobOnThing (Verse.Pawn pawn, Verse.Thing t, System.Boolean forced) [0x00000] in <95de19971c5d40878d8742747904cdcd>:0 at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.RimWorld.FloatMenuMakerMap.AddJobGiverWorkOrders_Patch2(UnityEngine.Vector3,Verse.Pawn,System.Collections.Generic.List1<Verse.FloatMenuOption>,bool)
at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.RimWorld.FloatMenuMakerMap.AddUndraftedOrders_Patch2(UnityEngine.Vector3,Verse.Pawn,System.Collections.Generic.List`1<Verse.FloatMenuOption>)
at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.RimWorld.FloatMenuMakerMap.ChoicesAtFor_Patch2(UnityEngine.Vector3,Verse.Pawn,bool)
at RimWorld.FloatMenuMakerMap.TryMakeFloatMenu (Verse.Pawn pawn) [0x000dc] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.Selector.HandleMapClicks () [0x000ac] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.Selector.SelectorOnGUI () [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.MapInterface.HandleLowPriorityInput () [0x0000f] in <95de19971c5d40878d8742747904cdcd>:0
at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootOnGUI_Patch3(RimWorld.UIRoot_Play)
at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch2(Verse.Root)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch5 (string)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch2 (Verse.Root)

`

When I remove that Recipe from the Bills Tab of the Spit Roast, the Building works correctly. I feel that this is due to the fact that it is calling Corpses and not normal ingredients, but I cannot be sure.

What am I doing wrong?

Thank you for any assistance you may render.
-TURTLESHROOM

Potential CTD issue with Psycasts Expanded

Getting a CTD when running Psycasts Expanded with Performance Fish, brought up the crash log to the VE team and was redirected here believing its an issue with Perf Fish. Crash and Player Log attached. Apologies for other mod errors such as VFX in the player log (this was caused by an unneeded mod) and RimWorld.JobGiver_OptimizeApparel (caused by improper outfitt assignments for Animals with Animal Gear) These are unrelated.

CTD occurs when evaluating a dictionary in PsycastsExpanded.GenRadialCached.RadialDistinctThingsAround().
Any help into the matter/if it is truly an issue on the Performance Fish side is greatly appreciated.
Stack Trace from Player.Log:

========== OUTPUTTING STACK TRACE ==================

0x000001B1CBFCD4F5 (Mono JIT Code) FisheryLib.Equality:Equals<VanillaPsycastsExpanded.GenRadialCached/Key> (VanillaPsycastsExpanded.GenRadialCached/Key,VanillaPsycastsExpanded.GenRadialCached/Key)
0x000001B1CBFCC4DB (Mono JIT Code) PerformanceFish.System.ValueTypeEqualityComparer`1<VanillaPsycastsExpanded.GenRadialCached/Key>:Equals (VanillaPsycastsExpanded.GenRadialCached/Key,VanillaPsycastsExpanded.GenRadialCached/Key)
0x000001B1CBFC761D (Mono JIT Code) System.Collections.Generic.Dictionary`2<VanillaPsycastsExpanded.GenRadialCached/Key, System.Collections.Generic.HashSet`1<Verse.Thing>>:FindEntry (VanillaPsycastsExpanded.GenRadialCached/Key)
0x000001B1CBFC73A3 (Mono JIT Code) System.Collections.Generic.Dictionary`2<VanillaPsycastsExpanded.GenRadialCached/Key, System.Collections.Generic.HashSet`1<Verse.Thing>>:TryGetValue (VanillaPsycastsExpanded.GenRadialCached/Key,System.Collections.Generic.HashSet`1<Verse.Thing>&)
0x000001B1CBFC7003 (Mono JIT Code) VanillaPsycastsExpanded.GenRadialCached:RadialDistinctThingsAround (Verse.IntVec3,Verse.Map,single,bool)
0x000001B1CBFC621B (Mono JIT Code) VanillaPsycastsExpanded.StatPart_NearbyFoci:AllFociNearby (Verse.Thing,Verse.Pawn)
0x000001B1CBFC5D1B (Mono JIT Code) VanillaPsycastsExpanded.StatPart_NearbyFoci:TransformValue (RimWorld.StatRequest,single&)
0x000001AC4C2CF65D (Mono JIT Code) (wrapper dynamic-method) RimWorld.StatWorker:RimWorld.StatWorker.FinalizeValue_Patch1 (RimWorld.StatWorker,RimWorld.StatRequest,single&,bool)
0x000001AFED060B29 (Mono JIT Code) (wrapper dynamic-method) RimWorld.StatWorker:RimWorld.StatWorker.GetValue_Patch0 (RimWorld.StatWorker,RimWorld.StatRequest,bool)
0x000001B1CB48088B (Mono JIT Code) RimWorld.StatWorker:GetValue (Verse.Thing,Verse.Pawn,bool)
0x000001B1CB4807A3 (Mono JIT Code) RimWorld.StatExtension:GetStatValueForPawn (Verse.Thing,RimWorld.StatDef,Verse.Pawn,bool)
0x000001B239148E73 (Mono JIT Code) RimWorld.JobDriver_Meditate:<MakeNewToils>b__15_1 ()
0x000001B1CB9BB7ED (Mono JIT Code) Verse.AI.ToilFailConditions/<>c__DisplayClass1_0`1<T_REF>:<FailOn>b__0 ()
0x000001AC5974C0C8 (Mono JIT Code) (wrapper dynamic-method) Verse.AI.JobDriver:Verse.AI.JobDriver.CheckCurrentToilEndOrFail_Patch2 (Verse.AI.JobDriver)
0x000001B0D190AE9B (Mono JIT Code) (wrapper dynamic-method) Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
0x000001AFECFD8A23 (Mono JIT Code) (wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
0x000001AFECFD98F0 (Mono JIT Code) (wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch1 (Verse.Pawn)
0x000001B1CB9005B0 (Mono JIT Code) Verse.TickList:Tick ()
0x000001AFED061203 (Mono JIT Code) (wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch5 (Verse.TickManager)
0x000001B1CB8FB64B (Mono JIT Code) Verse.TickManager:TickManagerUpdate ()
0x000001B0D179414B (Mono JIT Code) (wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch5 (Verse.Game)
0x000001B0D183F493 (Mono JIT Code) (wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
0x000001AC4900D7B0 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FF918CBE270 (mono-2.0-bdwgc) mono_get_runtime_build_info
0x00007FF918C42AE2 (mono-2.0-bdwgc) mono_perfcounters_init
0x00007FF918C4BB3F (mono-2.0-bdwgc) mono_runtime_invoke
0x00007FF9176F606D (UnityPlayer) UnityMain
0x00007FF9176F3443 (UnityPlayer) UnityMain
0x00007FF9176DC603 (UnityPlayer) UnityMain
0x00007FF9176DC6BD (UnityPlayer) UnityMain
0x00007FF917468110 (UnityPlayer) UnityMain
0x00007FF9175B63C7 (UnityPlayer) UnityMain
0x00007FF9175B6463 (UnityPlayer) UnityMain
0x00007FF9175B88BC (UnityPlayer) UnityMain
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF91736751E)
0x00007FF91736751E (UnityPlayer) (function-name not available)
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF91736627A)
0x00007FF91736627A (UnityPlayer) (function-name not available)
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF91736A32C)
0x00007FF91736A32C (UnityPlayer) (function-name not available)
0x00007FF91736DE1B (UnityPlayer) UnityMain
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF6C45F11F2)
0x00007FF6C45F11F2 (RimWorldWin64) (function-name not available)
0x00007FF97F16257D (KERNEL32) BaseThreadInitThunk
0x00007FF980E0AA58 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========

error.log
Player.log

Seemingly random unity crashes (RW 1.5, Modded)

Hey there,
since installation of Fishery I'm getting seemingly random Unity Crashes.

I have attached the crashdumps + playerlogs, might be related to Variety Matters? (VarietyMatters.New.Performance.FastLazy)
I have confirmed that when Performance Fish is not active no crashes happen - but I am of course not sure if that makes Performance Fish the cause. Please feel free to let me know if there is a different mod that is the cause and I'll gladly let them know.

Thanks for the great performance boost.
Crashes.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.