Search Issue Tracker
Fixed in 2018.2.X
Votes
0
Found in
2018.2.0b3
Issue ID
1035715
Regression
No
[Package Manager] ArgumentException on selecting subfolders of "Packages" folder from project view
ArgumentException is thrown on a console while selecting folders inside "Packages" folder from Two Column Layout project tab.
Steps to reproduce:
1. Create a new project.
2. Select "Two Column Layout" from a dropdown of project tab
3. Window > Package Manager > Remove any package.
4. Select Packages folder from Project tab.
5. Select any subfolder of package folder from second column of project view.
Actual Result.
1. ArgumentException is thrown in console.
2. Icons of subfolder disappear in the second column of project tab.
Expected result.
Project tab should show content inside subfolders.
Reproducible on
2018.2.0b3, 2018.2.0b2.
Note:
1. On 2018.2.0b1 to 2018.2.0a5, user is unable to select Package folder from project tab.
2. On 2018.2.0a4 and lower versions, packages folder in project tab is not included.
3. Not sure if the packages folder should be showing inside the project window
Environment
Mac 10.13 , 10.12 and Windows 10
Stack Trace:
ArgumentException: Asset path cannot be empty.
Parameter name: assetPath
UnityEditor.PackageManager.Packages.GetForAssetPath (System.String assetPath) (at /Users/builduser/buildslave/unity/build/Modules/PackageManager/Editor/Managed/PackageManager.cs:25)
UnityEditor.ProjectBrowser.RefreshSearchText () (at /Users/builduser/buildslave/unity/build/Editor/Mono/ProjectBrowser.cs:580)
UnityEditor.ProjectBrowser.FolderTreeSelectionChanged (Boolean folderWasSelected) (at /Users/builduser/buildslave/unity/build/Editor/Mono/ProjectBrowser.cs:2381)
UnityEditor.ProjectBrowser.ShowFolderContents (Int32 folderInstanceID, Boolean revealAndFrameInFolderTree) (at /Users/builduser/buildslave/unity/build/Editor/Mono/ProjectBrowser.cs:924)
UnityEditor.ProjectBrowser+BreadCrumbListMenu.SelectSubFolder () (at /Users/builduser/buildslave/unity/build/Editor/Mono/ProjectBrowser.cs:2917)
UnityEditor.GenericMenu.CatchMenu (System.Object userData, System.String[] options, Int32 selected) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/GenericMenu.cs:121)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment