Jump to content

Moving the GAIA folder


Go to solution Solved by MiTschMR,

Recommended Posts

Posted

As the Gaia 2021 asset pack is large I want to move it to a separate folder which I keep untracked in my repo. But when I do that I can't render the scene as some shaders are not accessible. The error is 

"Shader error in 'Shader Graphs/PW_General_ShaderGraph_URP': Couldn't open include file 'Assets/Procedural Worlds/Gaia/Shaders/PW General/PW_GeneralFuncs.cginc'. at line 890".
Is there a workaround to this problem or do I have to keep the Procedural World folder in the same place and keep that untracked?

Posted

@Bryan, is your post in reply to my query about moving the GAIA folder or an unrelated one?

Posted

@Diliup I think Bryan might have misread that question - there was a common error with shaders recently that his reply was aiming at, but that has nothing to do with your issue. Please do not move the Gaia folder at the moment as it will break some of the shaders included (this was the error message you were seeing). It should still be possible to exclude the Gaia install folder from source control by excluding the 
Assets\Procedural Worlds\Gaia 
folder. Please make sure to INCLUDE the Assets\Gaia User Data folder - that is the one containing the terrain and scene data for the terrains that Gaia created, that one is crucial to have in source control.

Posted

That's what I am doing. Thanks for confirming it. 

  • Solution
Posted

Actually, if you do intend to move the folders, you most likely need to manually change the paths in the shaders that look for these cginc files to point to the new location of them. 

Posted

My bad, yes Peter and MitschMR are right in this case! 

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...