CS0234 Error

Does somebody know what how to solve this? Thank you.

Assets\Samples\Scriptable Render Pipeline Core\17.3.0\Common\Scripts\InstallPackage.cs(2,19): error CS0234: The type or namespace name ‘PackageManager’ does not exist in the namespace ‘UnityEditor’ (are you missing an assembly reference?)

Assets\Samples\Scriptable Render Pipeline Core\17.3.0\Common\Scripts\InstallPackage.cs(3,19): error CS0234: The type or namespace name ‘PackageManager’ does not exist in the namespace ‘UnityEditor’ (are you missing an assembly reference?)

You use samples for another version of Unity:

Try to update URP to 17.4 and install the correct samples.

Try to delete the Library folder.

But I have version 17.4.0. installed.

Scriptable Render Pipeline Core package doesn’t have samples tab in 17.4.

Universal Render Pipeline ⁣has it, when you install samples from it, it will have the correct version of samples 17.4 and not 17.3.

I see.

It’s even a bigger mess now:


  1. Delete 17.3.
  2. Close Unity.
  3. Try to delete the Library folder.
  4. Open Unity.

Why do you need samples? It is optional.

“Optional” – It seems otherwise from here :slight_smile: I have no idea where it came from.

I got rid of this one, thank you.

It gives me a few new errors :see_no_evil_monkey:

Then delete all the samples.

Now I have CS0246

Assets\Samples\Scriptable Render Pipeline Core\17.4.0\RendererShaderUserValue_Common\Scripts\VertexAnimationTextureBaker.cs(10,44): error CS0246: The type or namespace name ‘EditorWindow’ could not be found (are you missing a using directive or an assembly reference?)

Assets\Samples\Scriptable Render Pipeline Core\17.4.0\RendererShaderUserValue_Common\Scripts\VertexAnimationTextureBaker.cs(16,6): error CS0246: The type or namespace name ‘MenuItemAttribute’ could not be found (are you missing a using directive or an assembly reference?)

Assets\Samples\Scriptable Render Pipeline Core\17.4.0\RendererShaderUserValue_Common\Scripts\VertexAnimationTextureBaker.cs(16,6): error CS0246: The type or namespace name ‘MenuItem’ could not be found (are you missing a using directive or an assembly reference?)

It’s still the folder of samples.

I see now! I am sorry. If I read the path properly I would see it straight.

It’s gone, 0 errors, and my game in version 0.1 is ready to go :slightly_smiling_face:

Thank you very much for your patience and for your help.