Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Feedback Bug-fix for ArgumentOutOfRangeException in PlayerInput

Discussion in 'Input System' started by Peter77, Feb 15, 2023.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,394
    @Rene-Damm @jamesmcgill-dev

    PlayerInput randomly causes
    ArgumentOutOfRangeException
    's in our game when switching scenes. I made the following changes to
    PlayerInput.cs
    to fix them:

    upload_2023-2-15_16-20-39.png

    Can you please integrate these changes in the Input System code?
     
    hakanm likes this.
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,394