Skip to content

[Bug]: f15 not recognized as a valid keycode #115

@Deflaktor

Description

@Deflaktor

Are you on the latest version of CinematicUnityExplorer?

  • Yes, I'm on the latest version of CinematicUnityExplorer.

Which release are you using?

BepInEx 5.X Mono

Which game did this occur on?

Risk of Rain 2 with the combination of the DebugToolkit mod.

Describe the issue.

It seems there is an error in the OverrideKeyDownString method due to it not recognizing f15 as valid keycode.

See also harbingerofme/DebugToolkit#194

Relevant log output

[Error  : Unity Log] ArgumentException: Requested value 'f15' was not found.
Stack trace:
System.Enum+EnumResult.SetFailure (System.Enum+ParseFailureKind failure, System.String failureMessageID, System.Object failureMessageFormatArgument) (at <7e05db41a20b45108859fa03b97088d4>:IL_0023)
System.Enum.TryParseEnum (System.Type enumType, System.String value, System.Boolean ignoreCase, System.Enum+EnumResult& parseResult) (at <7e05db41a20b45108859fa03b97088d4>:IL_017A)
System.Enum.Parse (System.Type enumType, System.String value, System.Boolean ignoreCase) (at <7e05db41a20b45108859fa03b97088d4>:IL_0010)
System.Enum.Parse (System.Type enumType, System.String value) (at <7e05db41a20b45108859fa03b97088d4>:IL_0000)
UniverseLib.Input.ILegacyInput.OverrideKeyDownString (System.Boolean& __result, System.String& name) (at <2b8719f1864d4cc0a43661ebce9f6280>:IL_0001)
(wrapper dynamic-method) UnityEngine.Input.DMD<UnityEngine.Input::GetKeyDown>(string) (at IL_001D)
DebugToolkit.Code.MacroSystem.Update () (at <2b1d752963484eef958dbd22918f9e0a>:IL_0075)
DebugToolkit.DebugToolkit.Update () (at <2b1d752963484eef958dbd22918f9e0a>:IL_0000)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions