Jump to content

Scripts-only package throws assembly reference error in clean project


Recommended Posts

I'm trying to import a scripts-only package generated by Gaia Pro into a clean 2021.3 URP project. Creating the package goes smoothly, but importing into the new project throws the following error:


Assets\Procedural Worlds\Gaia\Scripts\Utils\GaiaUtils.cs(29,12): error CS0234: The type or namespace name 'ShaderUtilities' does not exist in the namespace 'Gaia' (are you missing an assembly reference?)

Has anyone run into this? Cheers.

Link to comment
Share on other sites

Further investigation: this is maybe only for built-in pipeline. When I comment it out, the build works. That's probably not the right way to fix it, though.

Link to comment
Share on other sites

Hi @twoevils I looked into this error a bit, and I find it a bit odd, basically the original error reads as Gaia.ShaderUtilities was not defined in the project, but it definitely is, it should be defined in the file

Assets\Procedural Worlds\Gaia\Shaders\Scripts\ShaderUtility.cs

The entire folder Gaia\Shaders\Scripts should still be included when creating the "Scripts only package" of Gaia. Could you please check if this file exists in your project? If commenting out the line works for you, I would not expect any negative consequences, it is a bit strange though because I would expect a different error to pop up then when you comment out that line.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

  • Create New...