Search Issue Tracker
Fixed in 1.3.0
Votes
1
Found in [Package]
1.1.0-pre.5
Issue ID
1367240
Regression
Yes
Input Action field is not labeled by variable name when shown in the Inspector as a SerializedField
How to reproduce:
1. Open the user's attached project
2. Open scene Scenes/SampleScene
3. In the Hierarchy window, select the GameObject "Cube"
4. In the Inspector view, observe the three Input Action labels under the component "Controller (Script)"
Expected result: the Input Actions are labeled according to their variable names (Steering Action, Brake Action, Throttle Action)
Actual result: all three different Actions are labeled as "Input Action"
Reproducible with: 1.1.0-pre.5, 1.1.1 (2019.4.31f1, 2020.3.20f1, 2021.1.25f1, 2021.2.0b15, 2022.1.0a12)
Not reproducible with: 1.1.0-preview.3 (2019.4.31f1, 2020.3.20f1, 2021.1.25f1, 2021.2.0b15, 2022.1.0a12)
-
Anthony114
Apr 07, 2022 19:27
still nothing? same issue
-
Zarenityx
Mar 19, 2022 03:57
This problem still exists if the InputAction is inside a serialized non-monobehaviour class.
For example:public class MyScript : MonoBehaviour
{
[SerializeField] private InputAction actionWithWorkingName; //This works
[SerializeField] private MyInputClass nonMonobehaviour; //This doesnt work
}[System.Serializable]
public class MyInputClass
{
[SerializeField] private InputAction brokenName; //This just shows as "InputAction"
} -
pitchblende
Oct 10, 2021 21:43
Watching.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
Resolution Note (fix version 1.3.0):
Fixed in Input System 1.3.0 available for 2019.4 and up