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)
Comments (3)
-
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
- Dragging any draggable query block makes the query block background invisible until hovering on it again
- Alternating row background lines in table view are left over when clearing the search field
- Getting duplicate search query results for created scripts in search window
- There is no information or any visual indicator/response when some properties are set as inline value in the UI Builder
- Dialog Text during the Confirmation stage of Bug Report Submission is cut off when the Bug Reporter Window is resized to it's smallest possible size
Resolution Note (fix version 1.3.0):
Fixed in Input System 1.3.0 available for 2019.4 and up