Search Issue Tracker
Fixed in 1.1-preview.3
Votes
0
Found in [Package]
1.0.0-preview6
Issue ID
1231968
Regression
No
Cloning ActionMap through JSON converts empty paths to NULL which is not allowed
-error:
When adding a binding to an InputActionMap, there is a check to make sure the binding's path is not null:
In order to add a placeholder binding that will be bound later, the path can be set to an empty string instead.
However, if the asset (or even just the map) is cloned through json, any empty strings in the bindings are converted to null when they are loaded.
This results in a map that has a binding with a null path, which isn't supposed to be allowed.
-repro:
--open attached project
--open Test Runner window
--run the test
--NOTICE it fails
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
- Shader Graph Swizzle Node Input/Output and Mask Update Incorrectly After Undo
- [URP] Crash on GameObject::QueryComponentByType when baking a Reflection Probe in an unsaved/untitled Scene
- No Icons are used for the Entry and Exit States in the Inspector when selected in an Animator Controller
- Crash on PlayerMain(int, char const**) when exiting Standalone Player with a Particle System in the Scene
- No Icon is used for the Runtime Animator Controller Type in a Search Window when assigning an Animator Controller in the Animator Component
Resolution Note (fix version 1.1-preview.3):
Fixed by https://github.com/Unity-Technologies/InputSystem/pull/1237.