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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment