Skip to content

5.4.20 causes FileNotFoundException "Unity.InputSystem" in Potion Craft #446

@joesondow

Description

@joesondow

What happened?

I installed BepInEx 5.4.20 Stable into Potion Craft (from Steam). The game title screen loads, but when I click the button for Continue or Load Game Save 1, the game does not respond, and the BepInEx log shows an error.

Rolling back to BepInEx 5.4.19 avoids this problem.

Steps to reproduce

  1. Install Potion Craft via Steam.
  2. Verify the game plays properly past the loading screen and into the gameplay screens. Save the game.
  3. Quit the game.
  4. Download BepInEx 5.4.20 Stable.
  5. Unzip it into the folder where the Potion Craft.exe file exists.
  6. Run Potion Craft again to create the BepInEx configuration files.
  7. Quit the game again.
  8. Edit the installed BepInEx/config/BepInEx.cfg to turn on [Logging.Console] Enabled = true and save the config file change.
  9. Run Potion Craft again. See the BepInEx console log window.
  10. Click Continue in the game. See the game fail to respond.
  11. Read the error in the console log.

BepInEx Distribution

Stable from GitHub

Log outputs

[Message:   BepInEx] BepInEx 5.4.20.0 - Potion Craft (7/17/2022 6:23:32 PM)
[Info   :   BepInEx] Running under Unity v2020.2.1.2559448
[Info   :   BepInEx] CLR runtime version: 4.0.30319.17020
[Info   :   BepInEx] Supports SRE: False
[Info   :   BepInEx] System platform: Bits64, Windows
[Message:   BepInEx] Preloader started
[Info   :   BepInEx] Loaded 1 patcher method from [BepInEx.Preloader 5.4.20.0]
[Info   :   BepInEx] 1 patcher plugin loaded
[Info   :   BepInEx] Patching [UnityEngine.CoreModule] with [BepInEx.Chainloader]
[Message:   BepInEx] Preloader finished
[Message:   BepInEx] Chainloader ready
[Message:   BepInEx] Chainloader started
[Info   :   BepInEx] 0 plugins to load
[Message:   BepInEx] Chainloader startup complete
[Info   : Unity Log] Loading Global: C:/Users/joesondow/AppData/LocalLow/niceplay games/Potion Craft/Saves/Global - 2022.07.07 03.56.30.955 UTC.pcsave
[Info   : Unity Log] GlobalState loaded.
[Info   : Unity Log] Loading Save1: C:/Users/joesondow/AppData/LocalLow/niceplay games/Potion Craft/Saves/Save1 - 2022.07.13 09.17.41.012 UTC - Day 34.pcsave
[Error  : Unity Log] FileNotFoundException: Could not load file or assembly 'Unity.InputSystem, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Stack trace:
System.Reflection.MonoMethodInfo.GetMethodInfo (System.IntPtr handle) (at <2b3a3162be434770b7a4fac8b896e90c>:0)
System.Reflection.MonoMethodInfo.GetDeclaringType (System.IntPtr handle) (at <2b3a3162be434770b7a4fac8b896e90c>:0)
System.Reflection.MonoMethod.get_DeclaringType () (at <2b3a3162be434770b7a4fac8b896e90c>:0)
QFSW.QC.QuantumConsoleProcessor.GenerateCommandTable (System.Boolean deployThread, System.Boolean forceReload) (at <f3043cccd93c40a78d95483c85351c09>:0)
QFSW.QC.QuantumConsoleProcessor.InvokeCommand (System.String commandString, System.Boolean ignoreCommandNotFoundError) (at <f3043cccd93c40a78d95483c85351c09>:0)
LocalizationSystem.Key.GetParameterText (System.String parameter) (at <64fd3e98c78c493884d03e151a66f240>:0)
LocalizationSystem.Key.GetText () (at <64fd3e98c78c493884d03e151a66f240>:0)
Books.GoalsBook.TrackedGoalObject.AssignGoal (Books.GoalsBook.Goal goal, System.Single fontSize) (at <64fd3e98c78c493884d03e151a66f240>:0)
Books.GoalsBook.GoalsTrackPanel.<AssignGoalsToPanel>g__FillGoalsObjectsWithContent|10_0 (Books.GoalsBook.GoalsTrackPanel+<>c__DisplayClass10_0& ) (at <64fd3e98c78c493884d03e151a66f240>:0)
Books.GoalsBook.GoalsTrackPanel.AssignGoalsToPanel (System.Collections.Generic.List`1[T] goalsToTrack) (at <64fd3e98c78c493884d03e151a66f240>:0)
Books.GoalsBook.GoalsTrackPanel.UpdatePanelContent () (at <64fd3e98c78c493884d03e151a66f240>:0)
GoalsManager.OnLoad () (at <64fd3e98c78c493884d03e151a66f240>:0)
UnityEngine.Events.InvokableCall.Invoke () (at <5d84d0f1c6e24f478d0c70a7a9da83be>:0)
UnityEngine.Events.UnityEvent.Invoke () (at <5d84d0f1c6e24f478d0c70a7a9da83be>:0)
OrderedEvent.Invoke () (at <64fd3e98c78c493884d03e151a66f240>:0)
SaveLoadManager.LoadSelectedState (System.Type type) (at <64fd3e98c78c493884d03e151a66f240>:0)
SaveLoadManager.LoadLastProgressFromPool (SaveFileSystem.SavePool pool) (at <64fd3e98c78c493884d03e151a66f240>:0)
MenuButtonContinue.ButtonAction () (at <64fd3e98c78c493884d03e151a66f240>:0)
MenuButton.OnButtonReleasedPointerInside () (at <64fd3e98c78c493884d03e151a66f240>:0)
ObjectBased.UIElements.Button.OnRelease (System.Boolean byHotkey) (at <64fd3e98c78c493884d03e151a66f240>:0)
MenuSelectableObject.OnPrimaryCursorRelease () (at <64fd3e98c78c493884d03e151a66f240>:0)
CursorManager.ReleasePrimary () (at <64fd3e98c78c493884d03e151a66f240>:0)
UnityEngine.Events.InvokableCall.Invoke () (at <5d84d0f1c6e24f478d0c70a7a9da83be>:0)
UnityEngine.Events.UnityEvent.Invoke () (at <5d84d0f1c6e24f478d0c70a7a9da83be>:0)
InputSystem.Command.set_State (InputSystem.State value) (at <64fd3e98c78c493884d03e151a66f240>:0)
InputSystem.Command.UpdateState () (at <64fd3e98c78c493884d03e151a66f240>:0)
InputSystem.Command.UpdateValues () (at <64fd3e98c78c493884d03e151a66f240>:0)
InputSystem.Command.UpdateAll () (at <64fd3e98c78c493884d03e151a66f240>:0)
InputManager.Update () (at <64fd3e98c78c493884d03e151a66f240>:0)

Environment

- OS: Windows 10
- BepInEx: 5.4.20
- Game: Potion Craft

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions