Search Unity

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

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,609