Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot implicitly convert type 'UnityEditor.PackageManager.UI.IPageManager' - OpenUPM install - 2020.1 #93

Closed
MostHated opened this issue Aug 13, 2020 · 4 comments
Assignees
Labels
bug Something isn't working released

Comments

@MostHated
Copy link

Hey there,
This was my first attempt as installing this plugin, but I ran into an issue it seems. I used OpenUPM 1.8.0 via "openupm add com.coffee.upm-git-extension" but after compilation, I received a few errors:

[CompilerError] Cannot implicitly convert type 'UnityEditor.PackageManager.UI.IPageManager' to 'UnityEditor.PackageManager.UI.PageManager'
Compiler Error at Library\PackageCache\com.coffee.upm-git-extension@1.3.0\Editor\Coffee.UpmGitExtension\InternalBridge.cs:137 column 13
135:               ServicesContainer.instance.Resolve<PageManager>();
136:   #else
-->137:               PageManager.instance;
138:   #26 f
[CompilerError] 'PageManager' does not contain a definition for 'onListRebuild' and no accessible extension method 'onListRebuild' accepting a first argument of type 'PageManager' could be found (are you missing a using directive or an assembly reference?)
Compiler Error at Library\PackageCache\com.coffee.upm-git-extension@1.3.0\Editor\Coffee.UpmGitExtension\InternalBridge.cs:143 column 33
141:   {
142:       Action<IPage> act = _ => action();
-->143:       PageManagerInstance.onListRebuild -= act;
144:       PageManagerInstance.onListRebuild += act;
145:   }
[CompilerError] 'PageManager' does not contain a definition for 'GetCurrentPage' and no accessible extension method 'GetCurrentPage' accepting a first argument of type 'PageManager' could be found (are you missing a using directive or an assembly reference?)
Compiler Error at Library\PackageCache\com.coffee.upm-git-extension@1.3.0\Editor\Coffee.UpmGitExtension\InternalBridge.cs:192 column 34
190:   {
191:       var empty = Enumerable.Empty<IPackage>();
-->192:       (PageManagerInstance.GetCurrentPage()).OnPackagesChanged(empty, empty, empty, GetGitPackages());
193:   }

Environment (please complete the following information):

  • Version: 1.3.0
  • Platform: Windows 10 Pro 2004
  • Unity version: 2020.1.2f1
  • Build options: IL2CPP, .Net 4.x
@MostHated MostHated added the bug Something isn't working label Aug 13, 2020
@mob-sakai
Copy link
Owner

@MostHated
Thank you for your reporting!

@MostHated
Copy link
Author

Of course, not a problem. If you need any additional information that might help, don't hesitate to let me know.

github-actions bot pushed a commit that referenced this issue Aug 14, 2020
## [1.3.1](v1.3.0...v1.3.1) (2020-08-14)

### Bug Fixes

* Cannot implicitly convert type 'UnityEditor.PackageManager.UI.IPageManager' ([4122c94](4122c94)), closes [#93](#93)
* Package resolver is not working in Unity 2020.2 ([a3d6140](a3d6140))
* uninstall package from lock file ([ab696d8](ab696d8))
github-actions bot pushed a commit that referenced this issue Aug 14, 2020
## [1.3.1](v1.3.0...v1.3.1) (2020-08-14)

### Bug Fixes

* Cannot implicitly convert type 'UnityEditor.PackageManager.UI.IPageManager' ([4122c94](4122c94)), closes [#93](#93)
* Package resolver is not working in Unity 2020.2 ([a3d6140](a3d6140))
* uninstall package from lock file ([ab696d8](ab696d8))
@github-actions
Copy link
Contributor

🎉 This issue has been resolved in version 1.3.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@MostHated
Copy link
Author

Great news, thanks. I will give this a try again. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

No branches or pull requests

2 participants