Commit c12d059
[VFX] Avoid file forbidden characters in shortcut name
Jira: https://jira.unity3d.com/browse/UUM-71918
Steps to reproduce:
- Create a Project and Install the Visual Effect Graph Package
- In the Project Browser right-click and Create > Visual Effects > Visual Effect Graph
- Double click any of the Templates
- Open the Asset
Actual results
Error "ArgumentException: Illegal characters in path.
System.IO.Path.GetFileName (System.String path) (at <a35250a304174d009b77e5c5f6695f54>:0)
UnityEditor.ShortcutManagement.HelperWindow+<>c.<UpdateContext>b__7_2 (UnityEditor.ShortcutManagement.ShortcutEntry s) (at <7b4ba97968ea4dd39e76baa286b7953f>:0)" logged when opening the Asset or manipulating the VFX Graph Window
Expected results
No Error issues when creating VFX Graphs
Reproducible with versions: 2023.3.0b1, 6000.0.2f1
Not reproducible with versions: 2021.3.38f1, 2022.3.39f1, 2023.1.20f1, 2023.2.20f1, 2023.3.0a19
Tested on (OS): Windows 11 (Reproducible), macOS Sonoma (Not reproducible)

1 parent e9b4a98 commit c12d059
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
| 236 | + | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| |||
0 commit comments