Jump to content

GaiaAPI.GetTimeOfDayEnabled() returning false when HDRP Time of Day is enabled


mroshaw

Recommended Posts

Hi again!

 

I've noticed, recently I think, that the GaiaAPI.GetTimeOfDayEnabled() call doesn't seem to recognise that HDRP Time of Day is enabled. That is, it's returning false, even though HDRP Time of Day is enabled and auto-update is true.

 

I've debugged it down to HDRPTimeOfDayAPI.cs, where there is a function IsPresent() that is returning false. That is, HDRPTimeOfDay.Instance is null when that static class method is called by GaiaAPI.

 

Any idea why that is?

 

I have the latest version of Gaia, GeNa, HDRP ToD and Scene Optimizer, versions below.

 

Thanks again!

 

Oli

 

Gaia Pro 2021: 3.3.0

GeNa Pro: 3.3.21

HDRP ToD: 1.1.0

Scene Optimizer: 1.0.9

Unity 2021.3.8f1 LTS

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