Environment
- RimWorld: 1.6
- Performance Fish: latest GitHub version
- FisheryLib: latest GitHub version
- Platform: Windows
- Harmony: latest
- HugsLib: installed
Description
An InvalidOperationException is consistently thrown when using the God Wrench from the GodHand mod to move any spawned thing.
The error is reproducible with ordinary items and is not limited to a specific ThingDef.
Disabling Performance Fish completely eliminates the error.
Reproduction
- Enable Performance Fish + FisheryLib.
- Enable GodHand.
- Load an existing save.
- Use God Wrench to pick up and place any normal item or building.
- Release the object.
Result:
An InvalidOperationException is thrown every time.
Expected:
The object should be placed normally without exceptions.
Stack Trace
System.InvalidOperationException: Operation is not valid due to the current state of the object.
FisheryLib.Collections.IndexedFishSet.Add()
PerformanceFish.Listers.ThingsPrepatches.AddToTypeList()
Verse.ListerThings.Add()
Verse.Thing.SpawnSetup()
GodHandMod.GodWrenchController.ReleaseGrab()
Additional Information
- The problem only occurs when using God Wrench.
- Normal gameplay does not appear to trigger the exception.
- Disabling Performance Fish completely resolves the issue.
- The issue is reproducible with ordinary items as well as buildings.
HugsLib Log
https://gist.github.com/HugsLibRecordKeeper/4634d24977f09cfc6de7d521af6ce192
Compatibility
The issue appears to be triggered by the GodHand mod's God Wrench.
Unfortunately, the GodHand author is currently unable to maintain the mod due to health reasons, so I am reporting it here in case Performance Fish can safely handle this spawn sequence or detect it more gracefully.
Environment
Description
An
InvalidOperationExceptionis consistently thrown when using the God Wrench from the GodHand mod to move any spawned thing.The error is reproducible with ordinary items and is not limited to a specific ThingDef.
Disabling Performance Fish completely eliminates the error.
Reproduction
Result:
An
InvalidOperationExceptionis thrown every time.Expected:
The object should be placed normally without exceptions.
Stack Trace
Additional Information
HugsLib Log
https://gist.github.com/HugsLibRecordKeeper/4634d24977f09cfc6de7d521af6ce192
Compatibility
The issue appears to be triggered by the GodHand mod's God Wrench.
Unfortunately, the GodHand author is currently unable to maintain the mod due to health reasons, so I am reporting it here in case Performance Fish can safely handle this spawn sequence or detect it more gracefully.