![解决[包管理器窗口]无法执行在线搜索的方法 ue3d - 解决[包管理器窗口]无法执行在线搜索的方法](https://su.i3dtt.com/Package-Manager-Window-Unable-to-perform-online-search.jpg)
问题一:
[Package Manager Window] Cannot perform upm operation: Unable to perform online search:
Cannot fetch authorization code. User access token is expired or invalid. You may need to sign out and sign in again. [Unknown].
问题二:
[Package Manager Window] Unable to perform online search:
Request [PoST https://api.unity.com/v1/oauth2/token] failed. One or more invalid parameters was given.
上面在控制台输出的俩种不同错误提示,一般跟UnityHub有关,这跟确认电子邮件以及管理员身份运行是没关系的,原因是因为ID登录已过期导致该问题的出现,以下是解决方法:
1.首先,保存你的Unity项目,然后关闭或退出软件。
![解决[包管理器窗口]无法执行在线搜索的方法 ue3d - 解决[包管理器窗口]无法执行在线搜索的方法](https://su.i3dtt.com/Close-Unity-Software.jpg)
2.打开Unity Hub,然后点击登出。
![解决[包管理器窗口]无法执行在线搜索的方法 ue3d - 解决[包管理器窗口]无法执行在线搜索的方法](https://su.i3dtt.com/Log-out-of-Unity-Hub.jpg)
3.重新登录Unity Hub,接着启动软件,就可以解决了。
![解决[包管理器窗口]无法执行在线搜索的方法 ue3d - 解决[包管理器窗口]无法执行在线搜索的方法](https://su.i3dtt.com/Log-in-to-Unity-Hub-from-scratch.jpg)
….
以上是解决无法执行在线搜索错误的全部内容,如果你有任何反馈,请随时在本页面下方留言。