Search Issue Tracker

Active

Under Consideration for 1.11.X

Votes

0

Found in [Package]

1.11.2

Issue ID

ISXB-1257

Regression

No

Contents of existing C# Script get replaced when Input Actions Asset with "Generate C# Class" selected is renamed with the same name as C# Script

Package: Input System

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. In the Project window, move “/Assets/FolderB/InputHolder.inputactions“ to “/Assets/FolderA“
3. Rename “InputHolder.inputactions“ to “ClassA“
4. Observe “ClassA.cs“

Expected result: Contents of “ClassA.cs“ remains the same
Actual result: Contents are replaced inside “ClassA.cs“

Reproducible with: 1.7.0 (2022.3.15f1), 1.11.2 (2022.3.53f1, 6000.0.29f1, 6000.1.0a6)

Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment 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.