Jr Programmer Tutorial "Challenge 1 - Plane Programming" problems

I have imported the challenge 1 package into my game but it’s not running and I am getting many errors. The game was running fine before the import. I am using Unity 2019.4. Any fix for this.

Errors:

Library\PackageCache\com.unity.package-manager-ui@2.0.7\Editor\AssemblyInfo.cs(7,12): error CS0246: The type or namespace name ‘UxmlNamespacePrefixAttribute’ could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.unity.package-manager-ui@2.0.7\Editor\Sources\Services\Common\Resources.cs(1,32): error CS0234: The type or namespace name ‘UIElements’ does not exist in the namespace ‘UnityEngine.Experimental’ (are you missing an assembly reference?)

Library\PackageCache\com.unity.package-manager-ui@2.0.7\Editor\Sources\UI\PackageDetails.cs(25,26): error CS0246: The type or namespace name ‘VisualElement’ could not be found (are you missing a using directive or an assembly reference?)
.
.
.
.

2 Likes

hello, I went through the same problem, I found that the problem is in the “Unity package Ui” package in this case, it is outdated as was mine.

to solve the problem, open Unity, go to windows, then open the option “package manager”, there you will search for “Unity Package UI”, so when you find it, click on it and in the bottom right corner of the screen, the option “update to 2.2.0” or a newer version, click update and in a few seconds your problem will be solved

Hope this helps