Search Issue Tracker

Active

Under Consideration for 1.14.X

Votes

0

Found in [Package]

1.14.0

Issue ID

ISXB-1509

Regression

No

ArgumentOutOfRangeException thrown when defining device in [OneTimeSetUp] and using [OneTimeTearDown] to remove it

Package: Input System

-

How to reproduce:

1. Open the project "IN-97542_Keyboard"
2. Open Windows → General → Test Runner
3. Click on "PlayMode"
4. Double click the "Ch 18 - Unity testing"
5. Observe the Console

Expected result: Fails gracefully, with a more defined error message
Actual result: ArgumentOutOfRangeException thrown

Reproducible with: 1.5.0 (2023.2.0a1) 1.14.0 (2023.2.0a1, 2022.3.61f1, 6000.0.46f1, 6000.1.0b14, 6000.2.0a8)

Reproducible on: Windows 11
Not reproducible on: No other environments tested

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.