Search Issue Tracker
Fixed
Fixed in 6000.5.0a7
Votes
0
Found in
6000.0.63f1
6000.2.14f1
6000.3.0f1
6000.4.0a5
6000.5.0a2
Issue ID
UUM-128486
Regression
No
UI Toolkit Editor Window Creator accepts immutable Project Folders as valid paths which locks the Window
Steps to reproduce:
- Open any Project
- Right click in the Project Browser and select Create > UI Toolkit > Editor Window
- In the UI Toolkit Editor Window Creator select "Choose Folder" and select any immutable Project folders (ProjectSettings, Library, Packages etc.)
- Enter any string into the C# field and click the button "Confirm"
Actual results: The UI Toolkit Editor Window Creator Window becomes locked and has to be closed, Error is logged: "NullReferenceException: Object reference not set to an instance of an object
UnityEditor.UIElements.StyleSheets.URIHelpers.EncodeUri (System.String uri) (at <e19b8cc993aa46059ccba20cdf23f134>:0)
UnityEditor.UIElements.UIElementsEditorWindowCreator.CreateNewTemplatesFiles () (at <49948881918a4691bbfeb7755bb6fdb9>:0)
UnityEngine.UIElements.Clickable.Invoke (UnityEngine.UIElements.EventBase evt) (at <52787476209b4258babbe60e60b4d9e0>:0)"
Expected results: Immutable Project folders are counted among invalid Paths{}.{} The invalid path warning message is not descriptive enough and the warning is removed when selecting input fields.
Reproducible with versions: 6000.0.63f1, 6000.2.14f1, 6000.3.0f1, 6000.4.0a5, 6000.5.0a2
Tested on (OS): Windows 11
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
- [UWP] Mouse movement re-triggers stale <Mouse>/scroll value after the scroll wheel is used once
- "Shutdown worker was forced killed because it kept running. Worker ..." errors are thrown after building a blank HDRP project
- [UI Toolkit] USS materials in AssetBundles break due to InstanceID referencing a material that no longer exists when a Scene is loaded through Addressables for the second time
- Help button leads to a missing documentation page when clicked on a Font Import Settings in the Inspector
- TextMeshPro Text Component reads bottom-to-top instead of top-to-bottom when using RTL Editor
Resolution Note:
Fixed in 6000.5.0a7
Resolution Note (fix version 6000.5.0a7):
Fixed in 6000.5.0a7