程序包管理器找不到依赖项

时间:2019-07-19 06:17:36

标签: unity3d package-managers

我无法在Unity项目中执行任何操作,名称空间在包管理器中无法解析。

完整日志:

Library\PackageCache\com.unity.ide.visualstudio@1.0.11\Editor\Discovery.cs(5,13): error CS0234: The type or namespace name 'CodeEditor' does not exist in the namespace 'Unity' (are you missing an assembly reference?)
Library\PackageCache\com.unity.ide.visualstudio@1.0.11\Editor\VSEditor.cs(11,13): error CS0234: The type or namespace name 'CodeEditor' does not exist in the namespace 'Unity' (are you missing an assembly reference?)
Library\PackageCache\com.unity.ide.visualstudio@1.0.11\Editor\Discovery.cs(35,16): error CS0246: The type or namespace name 'CodeEditor' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.ide.visualstudio@1.0.11\Editor\Discovery.cs(14,9): error CS0246: The type or namespace name 'CodeEditor' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.ide.visualstudio@1.0.11\Editor\VSEditor.cs(30,29): error CS0246: The type or namespace name 'IExternalCodeEditor' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.ide.visualstudio@1.0.11\Editor\Discovery.cs(62,66): error CS0246: The type or namespace name 'CodeEditor' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.ide.visualstudio@1.0.11\Editor\ProjectGeneration.cs(285,21): error CS0246: The type or namespace name 'ResponseFileData' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.ide.visualstudio@1.0.11\Editor\VSEditor.cs(79,16): error CS0246: The type or namespace name 'CodeEditor' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.ide.visualstudio@1.0.11\Editor\VSEditor.cs(89,70): error CS0246: The type or namespace name 'CodeEditor' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.ide.visualstudio@1.0.11\Editor\ProjectGeneration.cs(371,25): error CS0246: The type or namespace name 'ResponseFileData' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.ide.visualstudio@1.0.11\Editor\ProjectGeneration.cs(496,25): error CS0246: The type or namespace name 'ResponseFileData' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.ide.visualstudio@1.0.11\Editor\VSEditor.cs(65,9): error CS0246: The type or namespace name 'CodeEditor' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.ide.visualstudio@1.0.11\Editor\ProjectGeneration.cs(604,25): error CS0246: The type or namespace name 

屏幕转储:

enter image description here

我尝试过的事情:

我已经删除了程序包管理器的缓存,将程序包重置为默认值并重新安装了每个程序包,并重新导入了资产。没有任何办法解决此问题。我怀疑是因为我使用的某些SDK已经过时,但是据我所知,所有内容都是最新的。这是Unity错误吗?

0 个答案:

没有答案