Steps to reproduce:
- Create a URP 3D project with the Visual Effect Graph package installed
- Create a Visual Effect Graph asset and open it
- In the Blackboard, create a Category (e.g. "MyCategory")
- Rename the Category to a name ending with a space (e.g. "MyCategory ")
- Press Enter and observe the Console
Actual results:
The Console logs: "Can't change name, category with the same name already exists"
(with a UnityEditor.GUIView:ProcessEvent stack), even though no other category has
that name.
The Category is still renamed (the trailing space is trimmed).
Expected results:
Renaming a Category to a name with a trailing space trims it silently and
applies the rename without a false Error
Reproducible with versions: 6000.0.0f1, 6000.0.77f1, 6000.3.16f1, 6000.4.12f1, 6000.5.0f1, 6000.6.0a7
Tested on (OS): Windows 11