Weird thing I ran into today that I have not been able to solve.
Searching "D:\Unity Projects\ *.hlsl" lists all the HLSL files within that folder and its subfolders, as expected. But I only want hlsl files from another layer deeper. When I try to search that path, no results, nothing there, nada zip. I have tried to regenerate the file index, but it still doesn't find the folder or items.
The weird part is if I only search for PART of the path name, it DOES find it. While this is a hacky work around for now, I'd really like to understand the cause and reason and correct this behaviour.
Pictured are the three search terms returning weirdly.
Trying to search within specific file path folder returns zero objects (despite there being files)
Trying to search within specific file path folder returns zero objects (despite there being files)
- Attachments
-
- folderPaths.png (30.65 KiB) Viewed 837 times
Re: Trying to search within specific file path folder returns zero objects (despite there being files)
Space = AND
D:\Unity
AND
Projects\Share
AND
Experimentation
AND
2022\
AND
*.hlsl
A path separator (\) will match the term anywhere in the path and name.
Please try escaping spaces with double quotes:
"D:\Unity Projects\Share Experimentation 2022\" *.hlsl
-or-
Please consider enabling Match Path from the Search menu.
With Match Path enabled, searching for:
D:\Unity Projects\Share Experimentation 2022\ *.hlsl
will match the path and name.
D:\Unity
AND
Projects\Share
AND
Experimentation
AND
2022\
AND
*.hlsl
A path separator (\) will match the term anywhere in the path and name.
Please try escaping spaces with double quotes:
"D:\Unity Projects\Share Experimentation 2022\" *.hlsl
-or-
Please consider enabling Match Path from the Search menu.
With Match Path enabled, searching for:
D:\Unity Projects\Share Experimentation 2022\ *.hlsl
will match the path and name.