有一个称为太空射击的统一教程,由于某种原因,我遇到以下错误:
AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.package-manager-ui@2.0.3/Editor/Sources/Services/Upm/UpmBaseOperation.cs(34,43):
error CS1061: Type 'UnityEditor.PackageManager.PackageInfo' does not contain a definition for 'author' and no extension method 'author' of type 'UnityEditor.PackageManager.PackageInfo' could be found.
Are you missing an assembly reference?
这只是项目的开始,我什至没有编写任何脚本。我不知道这意味着什么。
答案 0 :(得分:1)
我自己遇到了这个问题,它来自在/ Packages /
中找到的“ manifest.json”文件中的错误设置即使在Unity运行时,删除(或移动)清单文件,Unity也会重建它。错误消失了。