Jump to content

Why does Gaia think I'm underwater?


stevanas
Go to solution Solved by stevanas,

Recommended Posts

Hello everyone. I'm facing this issue and I cant seem to find a proper solution even after trying several things. Not sure why but on this particular terrain the underwater FX get triggered even if the player is literally in the sky. I have attached two screenshots to maybe help. In the second one I just disabled the Post Proccessing to make it easier to see where the water is. Thank you in advance for any help!spacer.pngspacer.png

Link to comment
Share on other sites

Hi @stevanas, Gaia normally "knows" if it is underwater by checking the height of the camera that is set up in the Underwater Effects object against the sea level. If the camera goes below the height of this sea level, the underwater effects should kick in. If the checkbox for "start underwater" is checked, the underwater FX will be active immediately at scene start as well.
Can you please check if the correct camera is set up in here, and the sea level height also checks out?

image.png

Link to comment
Share on other sites

Hello! Yep checked the box and it's unchecked. I have played around with the sea level but no luck. When I set the sea level to 0 the FX go away but then there is no water of course. I've also tried moving the object you mentioned or any of the PostProccessing but then it messes up the underwater triggerr which makes sense. Gaia sets that all up properly by default. Also, I don't believe Gaia thinks I'm actually underwater because when I actually go underwater the other FX kick in like the sounds etc. My spawner is really high and my camera is as well. Im instantiating on a network but I had no issues like this on other terrains. Thank you for your help

Link to comment
Share on other sites

  • Solution

Solved it! Turns out the PP Layer was referencing the wrong camera prefab as a trigger. Not really sure how this happened but the issue was my fault. Multiple debug statements did the trick to trace down the actual issue. Appreciate the help now back to worl building!

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