Jump to content

New Substance plugin needs support


Kiwiboys

Recommended Posts

Hey Gaia team

I was recently switching over to the new substance plugin that they have recently rewritten and came across an compiler error 

Error can be found here

namespace Gaia
namespace Gaia
{
    /// <summary>
    /// Prototype for textures and their fitness
    /// </summary>
    [System.Serializable]
    public class ResourceProtoTexture
    {
        [Tooltip("Resource name.")]
        public string m_name;
        [Tooltip("Resource texture.")]
        public Texture2D m_texture;
#if SUBSTANCE_PLUGIN_ENABLED
        public int substanceSourceIndex;
        public Substance.Game.Substance m_substanceMaterial;
#endif

I removed the Substance_Plugin_Enabled directive from the player settings and it fixed things but this may need to be updated to support the new version that use's the Adobe.Substance namespace as the old plugin is soon to be deprecated.

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