RimWorld

RimWorld

Performance Optimizer
 This topic has been pinned, so it's probably important
Taranchuk  [developer] 26 Nov, 2021 @ 9:20am
Bug reports
Please submit bug reports with Hugslib logs included if you found a bug or an issue with the mod.
< >
Showing 1-15 of 161 comments
Annabellee 26 Nov, 2021 @ 12:11pm 
so this might be a bug or in-compatibty with betterloading
[BetterLoading] One or more mods have Harmony-Postfixed StaticConstructorOnStartupUtility#CallAll. This is likely to cause errors or undesired behavior, as BetterLoading changes this method to be called from another Thread than the UI one. A list of patches follows.
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[BetterLoading] In addition, when BetterLoading is installed, this postfix will run before any static constructors do, so it likely will not behave as the modder intended anyway.
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[BetterLoading] - static System.Void PerformanceOptimizer.StaticConstructorOnStartupUtilityCallAll::Postfix()
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[BetterLoading] Modders: Consider either loading this data on world load, using a regular static constructor but asking your users to put the mod last in the load order, or if it MUST be done now, consider using BetterLoading API to detect the start of StageRunPostFinalizeCallbacks, which fires once static constructors are done.
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[BetterLoading] Players: I'm not interested in this warning, if a mod is breaking, show this message to the person who made that mod, not to me. They can reach out to me if they need assistance.
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
here the full log https://gist.github.com/HugsLibRecordKeeper/c862f242bc023726838e11358480cf7c
Last edited by Annabellee; 26 Nov, 2021 @ 12:12pm
Taranchuk  [developer] 26 Nov, 2021 @ 12:22pm 
Well, I will try to make a compat for it
Nedlee 26 Nov, 2021 @ 1:05pm 
Game crashes on startup.

modlist : https://pastebin.com/Z0sdi4e0
player log : https://pastebin.com/gmprzwEQ
Taranchuk  [developer] 26 Nov, 2021 @ 1:44pm 
Originally posted by Nedlee:
Game crashes on startup.

modlist : https://pastebin.com/Z0sdi4e0
player log : https://pastebin.com/gmprzwEQ
I just pushed an update which may fix the crash issue
tipofthemorning 26 Nov, 2021 @ 7:44pm 
https://gist.github.com/HugsLibRecordKeeper/705c9a6f46f28d4959dca7e73b648f76

When I load the game, it goes to a black screen when I add this mod at the end of the mod list
Wieteq 27 Nov, 2021 @ 3:22pm 
Harvesting problem

Issue:
When pawn is harvesting plant that keeps some progress (eg. Tomatos or Bearberry bushes from Vanilla Plants Expanded, possibly Ambrosia) it completes harvest, but pawn is stuck in loop trying to harvest that plant again.

HugsLib log:
https://gist.github.com/HugsLibRecordKeeper/ebb6eb0190d45126f18e259f83f30e62
Log after letting pawn be in a loop for a little longer:
https://gist.github.com/HugsLibRecordKeeper/8e3db7bfc153d771622524c3b5207187

(sorry for bad English)

Quick update:
-Ambrosia harvesting also causes looping
-Pawn after harvesting normal plant can be stuck for a few seconds, but after that functions normally
Last edited by Wieteq; 27 Nov, 2021 @ 3:35pm
cal 27 Nov, 2021 @ 3:50pm 
endless loop when pawn cuts ambrosia plant, they successfully do it but then they keep trying to do it in an endless loop.

https://gist.github.com/71c5d4db3d78a0fb543e08557ccf5b04

this is repeat of what wieteq just reported but ive provided my log/my game if it helps
Pastel 27 Nov, 2021 @ 4:48pm 
Originally posted by Wieteq:
Harvesting problem

Issue:
When pawn is harvesting plant that keeps some progress (eg. Tomatos or Bearberry bushes from Vanilla Plants Expanded, possibly Ambrosia) it completes harvest, but pawn is stuck in loop trying to harvest that plant again.

HugsLib log:
https://gist.github.com/HugsLibRecordKeeper/ebb6eb0190d45126f18e259f83f30e62
Log after letting pawn be in a loop for a little longer:
https://gist.github.com/HugsLibRecordKeeper/8e3db7bfc153d771622524c3b5207187

(sorry for bad English)

Quick update:
-Ambrosia harvesting also causes looping
-Pawn after harvesting normal plant can be stuck for a few seconds, but after that functions normally

Can confirm, also happening in my game
Arendeth 27 Nov, 2021 @ 5:15pm 
Seems to have a transpiler issue if night vision is active

System.FormatException - Error in transpiling: static System.Single NightVision.CombatHelpers::AdjustCooldownForGlow(System.Single rangedCooldown, Verse.Pawn pawn), type: NightVision.CombatHelpers, exception: System.FormatException: Method static System.Single NightVision.CombatHelpers::AdjustCooldownForGlow(System.Single rangedCooldown, Verse.Pawn pawn) cannot be patched. Reason: The type initializer for 'NightVision.CombatHelpers' threw an exception.
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x0008c] in <c38a8c3281a047488dac8c9d063b7abb>:0
at HarmonyLib.PatchProcessor.Patch () [0x000fc] in <c38a8c3281a047488dac8c9d063b7abb>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00028] in <c38a8c3281a047488dac8c9d063b7abb>:0
at PerformanceOptimizer.GetCompPatches.Patch (System.Collections.Generic.List`1[T] methodsToPatch, HarmonyLib.HarmonyMethod transpiler) [0x00014] in <6b83dfdcab0f4afa827b01928b65fa2c>:0 - InnerException:
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

and potential rimthreaded conflict
---Patch method: RimThreaded.WindManager_Patch Boolean WindManagerTick(Verse.WindManager)---
RimThreaded priority: 0
owner: PerformanceOptimizer.Main - priority: 800

https://gist.github.com/5915146f03afc62ca496b2a3eb8e33b2
大菜鸡🐔 27 Nov, 2021 @ 5:40pm 
This module causes some creatures to wait indefinitely in place, such as pokemon mods
大菜鸡🐔 27 Nov, 2021 @ 5:41pm 
Not sure if it was the reason for joining the module in mid-stream
tuk0z 27 Nov, 2021 @ 7:46pm 
Game crashes to desktop when loading my save file (loads fine without PO).
Mods list: https://gist.github.com/b1fea4495d52df456994aae4ccee606a
Logfile: https://gist.github.com/a6cc481f4eaf9c3839bae151bca8e725
Fury[1SOG] 28 Nov, 2021 @ 4:01am 
The Allow Tool mod right click option for the "Allow" command does not work when Performance Optimizer is enabled. The right click works correctly when Performance Optimizer is disabled.
Mismagius 28 Nov, 2021 @ 5:30am 
miner conflict with "no random quality" mod. normally that mod is suppose to disable the notifications when someone builds a legendary quality building but it seems that this mod overrides that and still creates the notification. and the log in case you ask: https://gist.github.com/4010ef40610182d4faef9e79aacc9a1f
Last edited by Mismagius; 28 Nov, 2021 @ 5:31am
Spawnzy 28 Nov, 2021 @ 7:07am 
Originally posted by Pastel:
Originally posted by Wieteq:
Harvesting problem

Issue:
When pawn is harvesting plant that keeps some progress (eg. Tomatos or Bearberry bushes from Vanilla Plants Expanded, possibly Ambrosia) it completes harvest, but pawn is stuck in loop trying to harvest that plant again.

HugsLib log:
https://gist.github.com/HugsLibRecordKeeper/ebb6eb0190d45126f18e259f83f30e62
Log after letting pawn be in a loop for a little longer:
https://gist.github.com/HugsLibRecordKeeper/8e3db7bfc153d771622524c3b5207187

(sorry for bad English)

Quick update:
-Ambrosia harvesting also causes looping
-Pawn after harvesting normal plant can be stuck for a few seconds, but after that functions normally

Can confirm, also happening in my game

Same Issue in my game, with harvesting berry bushes. I believe its not just harvesting but other actions as well such as construction actions and such that are causing pawns to go in infinite loop.

Was thinking for a while what would be the culprit as my mods hadn't changed much and issue is fixed after removing this mod.
Last edited by Spawnzy; 28 Nov, 2021 @ 7:08am
< >
Showing 1-15 of 161 comments
Per page: 1530 50