Jump to content

Compile errors after updating to Gaia Pro 2021 3.2.3


mroshaw

Recommended Posts

Hi!

I see similar posts below, but thought I'd add my own account.

I have a Unity 2021.3 LTS staging project that I use to stage all assets, before copying them over to my working project.

As I usually do, I removed the old "Procedural Worlds" folder, and re-imported Gaia Pro 2021 3,2,3 and GeNa Pro 3.3.18 from the Asset Store.

I get a number of errors in the console, and cannot launch the Gaia Manager:

Assets\Procedural Worlds\Gaia\Scripts\Photo Mode\PhotoMode.cs(1868,70): error CS0103: The name 'm_lightingGeneralHeader' does not exist in the current context
Assets\Procedural Worlds\Gaia\Scripts\Photo Mode\PhotoMode.cs(1869,65): error CS0103: The name 'm_gaiaTime' does not exist in the current context
Assets\Procedural Worlds\Gaia\Scripts\Photo Mode\PhotoMode.cs(1869,219): error CS0103: The name 'SetGaiaTime' does not exist in the current context
Assets\Procedural Worlds\Gaia\Scripts\Photo Mode\PhotoMode.cs(1869,232): error CS0103: The name 'SetGaiaTime' does not exist in the current context
Assets\Procedural Worlds\Gaia\Scripts\Photo Mode\PhotoMode.cs(1871,67): error CS0103: The name 'm_gaiaTimeOfDayEnabled' does not exist in the current context
Assets\Procedural Worlds\Gaia\Scripts\Photo Mode\PhotoMode.cs(1871,188): error CS0103: The name 'SetGaiaTimeOfDayEnabled' does not exist in the current context
Assets\Procedural Worlds\Gaia\Scripts\Photo Mode\PhotoMode.cs(1872,65): error CS0103: The name 'm_gaiaTimeScale' does not exist in the current context
Assets\Procedural Worlds\Gaia\Scripts\Photo Mode\PhotoMode.cs(1872,237): error CS0103: The name 'SetGaiaTimeScale' does not exist in the current context
Assets\Procedural Worlds\Gaia\Scripts\Photo Mode\PhotoMode.cs(1872,255): error CS0103: The name 'SetGaiaTimeScale' does not exist in the current context
Assets\Procedural Worlds\Gaia\Scripts\Photo Mode\PhotoMode.cs(1874,70): error CS0103: The name 'm_lightingGeneralHeader' does not exist in the current context
Assets\Procedural Worlds\Gaia\Scripts\Photo Mode\PhotoMode.cs(1875,218): error CS0103: The name 'SetGlobalSunIntensity' does not exist in the current context
Assets\Procedural Worlds\Gaia\Scripts\Photo Mode\PhotoMode.cs(1875,241): error CS0103: The name 'SetGlobalSunIntensity' does not exist in the current context
Assets\Procedural Worlds\Gaia\Scripts\Photo Mode\PhotoMode.cs(1876,210): error CS0103: The name 'SetGlobalFogDensity' does not exist in the current context
Assets\Procedural Worlds\Gaia\Scripts\Photo Mode\PhotoMode.cs(1876,231): error CS0103: The name 'SetGlobalFogDensity' does not exist in the current context
Assets\Procedural Worlds\Gaia\Scripts\Photo Mode\PhotoMode.cs(1877,221): error CS0103: The name 'SetGlobalShadowDistance' does not exist in the current context
Assets\Procedural Worlds\Gaia\Scripts\Photo Mode\PhotoMode.cs(1877,246): error CS0103: The name 'SetGlobalShadowDistance' does not exist in the current context
Assets\Procedural Worlds\Gaia\Scripts\Photo Mode\PhotoMode.cs(1881,41): error CS0103: The name 'm_gaiaTimeScale' does not exist in the current context
Assets\Procedural Worlds\Gaia\Scripts\Photo Mode\PhotoMode.cs(1883,41): error CS0103: The name 'm_gaiaTimeScale' does not exist in the current context

Something not right with the 3.2.3 release?

Thanks!

Link to comment
Share on other sites

So, two problems I think:

  1. GAIA_PRO_PRESENT missing from my Project Settings.
  2. Issue in the GeNaGaiaUtility.cs file, where using Gaia; is wrapped up in a #if GAIA_2_PRESENT directive. As I'm using Gaia Pro 2021, this didn't work. Once I moved the using statement out of the #if directive, all was well in the world!

Cheers!

 

Link to comment
Share on other sites

I have been using Unity 2021.3.2 editor with the the old Gaia in an 3D-HDRP environment and everything worked fine. I set up a brand new project with the same editor and 3D-HDRP. No other additions or changes were made.

I tried to import the 3.2.3 release. that listed multiple critical errors but I was able to clear those in the console.

Then I attempted to set up Gaia twice, Once with the Gaia pipeline update and once without. Both times, the results were the same terminal compile errors as listed above.

In summary, the old version worked. The new one doesn't.

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