Search Issue Tracker

Duplicate

Votes

0

Found in [Package]

1.5.1

1.6.3

Issue ID

ISXB-598

Regression

No

Crash on UnityEngine.InputSystem.InputActionState:EnableControls when entering the Play Mode after modifying Input Actions Asset and Enter Play Mode Options are used

Package: Input System

-

Reproduction steps:
1. Open the attached project “InputSystemCrash”
2. In the Project window search and open “RxC_Controls” Input Actions Asset
3. In the Actions list select “Look” Action and then it’s “Delta” property
4. Change Scale Vector X Y properties (reproduces more consistently with bigger values like 20000)
5. Press “Save Asset”
6. Enter the Play Mode

Expected result: Editor enters the Play Mode
Actual result: Editor crashes

Reproducible with: 1.5.1 (2023.1.0b19), 1.6.3 (2021.3.29f1, 2022.3.6f1, 2023.1.7f1)

Could not test with: 1.6.3 (2023.2.0b3) (3rd party package errors)

Reproducible on: macOS 13.4.1 (c) (M1 Max)

Note: If the project doesn't crash after the 6th step, exit the Play Mode and repeat 2-6 steps

First few lines of stack trace:
#0 0x00000352ee9ec8 in UnityEngine.InputSystem.InputActionState:EnableControls (int,int,int) [

{0x34e8d97f0}

+ 0x178] [./Library/PackageCache/com.unity.inputsystem@1.6.3/InputSystem/Actions/InputActionState.cs :: 1132u] (0x352ee9d50 0x352ee9fa8) [0x137f82a80 - Unity Child Domain]
#1 0x00000352eefc00 in UnityEngine.InputSystem.InputActionState:EnableControls (UnityEngine.InputSystem.InputAction) [

{0x34e8fa508}

+ 0x200] [./Library/PackageCache/com.unity.inputsystem@1.6.3/InputSystem/Actions/InputActionState.cs :: 988u] (0x352eefa00 0x352eefc34) [0x137f82a80 - Unity Child Domain]
#2 0x00000352eef870 in UnityEngine.InputSystem.InputActionState:EnableSingleAction (UnityEngine.InputSystem.InputAction) [

{0x34e8fa4e0}

+ 0x80] [./Library/PackageCache/com.unity.inputsystem@1.6.3/InputSystem/Actions/InputActionState.cs :: 959u] (0x352eef7f0 0x352eef92c) [0x137f82a80 - Unity Child Domain]
#3 0x00000352eef760 in UnityEngine.InputSystem.InputAction:Enable () [

{0x2d189e748}

+ 0x58] [./Library/PackageCache/com.unity.inputsystem@1.6.3/InputSystem/Actions/InputAction.cs :: 870u] (0x352eef708 0x352eef770) [0x137f82a80 - Unity Child Domain]
#4 0x00000352eedeb8 in UnityEngine.InputSystem.UI.InputSystemUIInputModule:EnableInputAction (UnityEngine.InputSystem.InputActionReference) [

{0x2cbd06890}

+ 0x128] [./Library/PackageCache/com.unity.inputsystem@1.6.3/InputSystem/Plugins/UI/InputSystemUIInputModule.cs :: 1543u] (0x352eedd90 0x352eedec8) [0x137f82a80 - Unity Child Domain]

  1. Resolution Note:

    Although the InputSystem doesn't support officially support Configurable PlayMode Options, various issues around modifying InputActions when domain reloads are disabled have been reported by a number of users.

    Therefore, this bug is being fixed in 1.8.3 InputSystem package release.
    Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-718

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.