Jump to content

HDRP Water Issues


Tikal

Recommended Posts

I've had a number of water issues with Gaia Pro and it's driving me crazy.

The most pressing issue is that Gaia's water will crash, leaving me with no water. This is the error I get.

[Error] Updating all reflection settings had a issue Object reference not set to an instance of an object This came from   at Gaia.PWS_WaterSystem.UpdateShaderValues (Gaia.GaiaWaterProfileValues profileValues) [0x0003e] in G:\Unity Projects\ARPG 10.0\Assets\Procedural Worlds\Gaia\Scripts\Water System\Reflections\PWS_WaterSystem.cs:1984 
  at Gaia.GaiaWater.SetupWaterReflectionSettings (Gaia.SceneProfile profile, Gaia.GaiaWaterProfileValues waterProfileValues, System.Boolean forceUpdate) [0x00097] in G:\Unity Projects\ARPG 10.0\Assets\Procedural Worlds\Gaia\Scripts\Water System\Editor\GaiaWater.cs:1410 
GaiaWater.SetupWaterReflectionSettings() at /Procedural Worlds/Gaia/Scripts/Water System/Editor/GaiaWater.cs:1508
1506:       catch (Exception e)
1507:       {
-->1508:           Debug.LogError("Updating all reflection settings had a issue " + e.Message + " This came from " + e.StackTrace);
1509:       }
1510:   }

GaiaWater.UpdateGlobalWater() at /Procedural Worlds/Gaia/Scripts/Water System/Editor/GaiaWater.cs:199
198:   //Sets the waters reflection settings
-->199:   SetupWaterReflectionSettings(m_waterProfile, profile, true);
201:   Material underwaterMaterial = GaiaUtils.GetWaterMaterial(GaiaConstants.waterSurfaceObject, true);

GaiaWater.GetProfile() at /Procedural Worlds/Gaia/Scripts/Water System/Editor/GaiaWater.cs:91
89:       }
-->91:       UpdateGlobalWater(m_masterMaterial, currentProfileValues, spawnWater, updateSettingsOnly, sceneProfile);
92:   }
93:   else

GaiaManagerEditor.CreateWater() at /Procedural Worlds/Gaia/Scripts/Editor/GaiaManagerEditor.cs:5574
5572:               {
5573:                   GaiaSceneManagement.SaveToProfile(gaiaSettings.m_gaiaWaterProfile);
-->5574:                   GaiaWater.GetProfile(gaiaSettings.m_gaiaWaterProfile.m_selectedWaterProfileValuesIndex, GaiaGlobal.Instance.SceneProfile, true, false);
5575:               }
5576:   #endif

GaiaManagerEditor.CreateGaiaExtras() at /Procedural Worlds/Gaia/Scripts/Editor/GaiaManagerEditor.cs:5419
5417:       }
5418:   }
-->5419:   CreateWater(gaiaSettings);

GaiaManagerEditor.DrawRuntimeCreation() at /Procedural Worlds/Gaia/Scripts/Editor/GaiaManagerEditor.cs:2343
2341:   {
2342:       //Creates gaia water, lighting, player etc.
-->2343:       CreateGaiaExtras(m_settings, m_profileList, newProfileListIndex);
2344:       m_runtimeCreated = true;
2345:   }

EditorUtils.Panel()

EditorUtils.Panel()

EditorUtils.Panel()

GaiaManagerEditor.RuntimeCreationTab() at /Procedural Worlds/Gaia/Scripts/Editor/GaiaManagerEditor.cs:655
653:   private void RuntimeCreationTab()
654:   {
-->655:       m_editorUtils.Panel("RuntimeCreation", DrawRuntimeCreation, true);
656:   }

EditorUtils.Tabs()

GaiaManagerEditor.StandardTab() at /Procedural Worlds/Gaia/Scripts/Editor/GaiaManagerEditor.cs:1107
1105:   {
1106:       m_worldCreationShown = false;
-->1107:       m_editorUtils.Tabs(m_creationTabs);
1108:   }

EditorUtils.Tabs()

GaiaManagerEditor.OnGUI() at /Procedural Worlds/Gaia/Scripts/Editor/GaiaManagerEditor.cs:3803
3801:               GUILayout.Space(4);
-->3803:               m_editorUtils.Tabs(m_mainTabs);
3805:   #if GAIA_PRO_PRESENT

GUIUtility.ProcessEvent()

Since it mentions Reflection Probes, one of the first things I do is remove any baked lighting to make sure. And then when that doesn't work, I delete all the Reflection Probes that Gaia adds. Reimport doesn't fix it either. I can only only fix it by importing Gaia Pro again. This happens in 2021LTS (regardless of version).

As a whole I have reflection issues with the water. I get this flickering on the water where it goes back and forth from showing reflections to no reflections. And then eventually it settles on reflections for terrain and such.

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