Jump to content

Problem in Unity 2022.1


szczepan
Go to solution Solved by Peter,

Recommended Posts

I believe there's a problem with latest version of GTS:

#if UNITY_2022_1_OR_NEWER
            int prevMasterTextureLimit = QualitySettings.globalTextureMipmapLimit;
            QualitySettings.globalTextureMipmapLimit = 0;
#else
            int prevMasterTextureLimit = QualitySettings.masterTextureLimit;
            QualitySettings.masterTextureLimit = 0;
#endif

globalTextureMipmapLimit is in fact available in 2022.2 but not 2022.1

 

  • Like 1
Link to comment
Share on other sites

  • Solution

Hi @szczepan, we checked and you are indeed correct, this is a bug / error in GTS. We are looking into getting a corrected version out, as a workaround for now you can fix those errors where they occur by changing the line

#if UNITY_2022_1_OR_NEWER
to
#if UNITY_2022_2_OR_NEWER

and saving the file. 

  • Like 1
Link to comment
Share on other sites

  • 11 months later...

There's same error about "globalTextureMipmapLimit" in Gena pro. In method "TerrainTools.GenerateTerrainEntity"

Link to comment
Share on other sites

My bad,I used higher Unity version before, and downgraded it one day.Delete Gena and reimport package fix this.

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