Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

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,650
    @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,650
  3. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,650