There's this unity tutorial called space shooter and for some reason i am getting the following error:
AppData/Local/Unity/cache/packages/packages.unity.com/[email protected]/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?
Its just the beginning of the project and i haven't even written any scripts. I have no idea what this means.
In the Project window, select the folder in which you want to place the Assembly Definition. See in Glossary > Create > Assembly Definition. Select the new Assembly Definition you created. Set the properties in the Inspector window, as necessary.
An Assembly Definition groups code into an Assembly. An Assembly might be based on origin, purpose, and/or whatever criteria best suits your project. An Assembly Definition can also depend on the platform. By default, all code in a Unity project belongs to a single Assembly, called Assembly-CSharp.
I just encountered this myself, and it comes from erroneous settings in "manifest.json" file, found inside /Packages/
Delete (or move) the manifest file, even while Unity is running, and Unity will rebuild it. The errors then go away.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With