Closed bmalrat closed 3 months ago
This seems to mess with scheme order even when there are no missing schemes in the list (In the video I compare your PR with the current develop) https://github.com/Unity-Technologies/InputSystem/assets/54306142/2b904247-bee1-44cc-a3ae-3e43cbd17c9e
This seems to mess with scheme order even when there are no missing schemes in the list (In the video I compare your PR with the current develop) https://github.com/Unity-Technologies/InputSystem/assets/54306142/2b904247-bee1-44cc-a3ae-3e43cbd17c9e
I sorted them alphabetically like mentioned in that comment ////TODO: sort alphabetically I can remove the sort and/or the sort the scheme editor windows
This seems to mess with scheme order even when there are no missing schemes in the list (In the video I compare your PR with the current develop) https://github.com/Unity-Technologies/InputSystem/assets/54306142/2b904247-bee1-44cc-a3ae-3e43cbd17c9e
I sorted them alphabetically like mentioned in that comment ////TODO: sort alphabetically I can remove the sort and/or the sort the scheme editor windows
In my opinion It should be the same list both between the player component and the actual actions window. So probably best to not do any extra sorting in the component at all, if a missing scheme is selected it will already be quite visible by the red highlight. But maybe Hakan thinks otherwise
This seems to mess with scheme order even when there are no missing schemes in the list (In the video I compare your PR with the current develop) https://github.com/Unity-Technologies/InputSystem/assets/54306142/2b904247-bee1-44cc-a3ae-3e43cbd17c9e
I sorted them alphabetically like mentioned in that comment ////TODO: sort alphabetically I can remove the sort and/or the sort the scheme editor windows
In my opinion It should be the same list both between the player component and the actual actions window. So probably best to not do any extra sorting in the component at all, if a missing scheme is selected it will already be quite visible by the red highlight. But maybe Hakan thinks otherwise
I removed the sort. If @ekcoh prefer with it I will revert the last change
I think we can skip sort. Consistency between different places representing the same thing makes sense.
Sorry, had to change the status. I took a look at the original bug report and noticed that action map specific fields do not dirty the prefab is this not what the user had trouble with? Are we truly fixing the issue properly here?
Notice how none of the action specific fields get the blue highlights next to them when they're changed, so if the user wants to override their prefab they can't. The only way is to go into prefab mode and change it there.
Sorry, had to change the status. I took a look at the original bug report and noticed that action map specific fields do not dirty the prefab is this not what the user had trouble with? Are we truly fixing the issue properly here?
thanks for the highlight
Description
Fixed Prefabs and missing default control scheme used by PlayerInput component are now correctly shown in the inspector ISXB-818. Before the change previously defined PlayerInput's default control scheme that doesn't exist exist any more are not shown and produce some error when entering in playmode. Disabling/enabling component silently remove the lost control scheme. Also Default Scheme, Auto-Switch,Default Map fields was not well displayed(no blue override color and no context actions) for prefabs.
Changes made
Changed the PlayerInput's inspector the show the missing default control scheme with a red background and a suffix.
The missing one is always in second position after and others schemes are now sorted in the popup.
Changed the ways that Default Scheme, Auto-Switch,Default Map are displayed to support prefabs.![Capture d'écran 2024-05-24 160723](https://github.com/Unity-Technologies/InputSystem/assets/47957918/d0487fc0-0a05-49da-9c1a-a9554b5986e4)
Notes
Please write down any additional notes, remove the section if not applicable.
Checklist
Before review:
Changed
,Fixed
,Added
sections.([case %number%](https://issuetracker.unity3d.com/issues/...))
.Area_CanDoX
,Area_CanDoX_EvenIfYIsTheCase
,Area_WhenIDoX_AndYHappens_ThisIsTheResult
.During merge:
NEW: ___
.FIX: ___
.DOCS: ___
.CHANGE: ___
.RELEASE: 1.1.0-preview.3
.