Jump to content

The type or namespace name 'Gaia' could not be found


Vladimir Bogdanov
Go to solution Solved by Peter,

Recommended Posts

Gaia 2023 4.0.8

Unity version 2022.3.21

After installing from from Package Manager

Assets/Procedural Worlds/Frameworks/PWAddressables1/PWAddressables.cs(2,7): error CS0246: The type or namespace name 'Gaia' could not be found (are you missing a using directive or an assembly reference?)
Assets/Procedural Worlds/Frameworks/Setup1/Scripts/PWPackageInfo.cs(6,7): error CS0246: The type or namespace name 'Gaia' could not be found (are you missing a using directive or an assembly reference?)
Assets/Procedural Worlds/Frameworks/PWAddressables1/PWAddressables.cs(320,50): error CS0246: The type or namespace name 'Gaia' could not be found (are you missing a using directive or an assembly reference?)
 

Снимок экрана 2024-03-21 в 13.04.23.png

Link to comment
Share on other sites

What I did:

1) Installing gaia

2) Remove gaia

3) Install again and have this error

 

Tried on new project and Gaia setup window appeared, but in my project no. Maybe I need to delete some cache?

Link to comment
Share on other sites

  • Solution

Hi @Vladimir Bogdanov, please go to 

Edit > Project Settings > Player

and remove all scripting defines starting with "GAIA":

image.png

then click the "Apply" button. After that it should be possible to open the setup window from

Window > Procedural Worlds > Setup

and continue the Gaia installation. The reason why you were getting those issues is because Gaia probably was installed in there earlier, and then those scripting defines are causing errors because the setup window "thinks" gaia is installed already, but the required scripts etc. are all missing (since in reality, it is not installed yet).
 

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