You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FIX: Allow default UI actions to work without setting up a project-wide actions file (ISXB-811). (#1899)
* FIX: Allow default UI actions to work without setting up a project-wide actions file (ISXB-833).
Also, fix newlines not functioning correctly in uxml file.
* Evaluate InputSystemProvider has an asset
This makes sure that InputForUI input will not break during tests.
* Add tests which use and remove project-wide actions
Evaluates that there is an action asset fallback in case there are no project-wide actions.
* Fix formatting issues
* Don't need to pass around a member variable.
* Restrict visibility of private member variable to only share what's required.
* Update CHANGELOG.md
* Move assertion to separate test.
---------
Co-authored-by: João Freire <[email protected]>
Copy file name to clipboardExpand all lines: Packages/com.unity.inputsystem/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ however, it has to be formatted properly to pass verification tests.
11
11
## [Unreleased] - YYYY-MM-DD
12
12
13
13
### Fixed
14
+
- Fixed an issue where UI interactions would not function without setting up a project-wide actions asset in Project Settings. Default UI actions are now created on the fly, if no asset for project-wide actions has been set. [ISXB-811](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-811).
14
15
- Physical keyboards used on Android/ChromeOS could have keys "stuck" reporting as pressed after a long press and release [ISXB-475](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-475).
15
16
- NullReferenceException thrown when right-clicking an empty Action Map list in Input Actions Editor windows [ISXB-833](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-833).
16
17
- Fixed an issue where `System.ObjectDisposedException` would be thrown when deleting the last ActionMap item in the Input Actions Asset editor.
Copy file name to clipboardExpand all lines: Packages/com.unity.inputsystem/InputSystem/Editor/UITKAssetEditor/Resources/InputActionsProjectSettings.uxml
<ui:HelpBox text="Actions for the Input System are stored in an Action Asset. You can assign an Action Asset as project-wide in the field above to make them accessible directly through the InputSystem.actions API.\n\nClick the button below to create a new Action Asset containing default actions, which will be assigned as project-wide." message-type="Info"/>
11
+
<ui:HelpBox text="Actions for the Input System are stored in an Action Asset. You can assign an Action Asset as project-wide in the field above to make them accessible directly through the InputSystem.actions API. Click the button below to create a new Action Asset containing default actions, which will be assigned as project-wide." message-type="Info"/>
12
12
<ui:Button text="Create and assign a default project-wide Action Asset" name="create-asset"/>
0 commit comments