Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: Harbingers on May 27, 2018, 02:23:10 AM

Title: 1.9.0 Issue[SOLVED]
Post by: Harbingers on May 27, 2018, 02:23:10 AM
Hi

How can resolve that issue?:

Assets/PlayMaker Utils/PlayMakerUtils_FsmVar.cs(372,33): error CS0619: `UnityEngine.ProceduralMaterial' is obsolete: `Built-in support for Substance Designer materials has been removed from Unity. To continue using Substance Designer materials, you will need to install Allegorithmic's external importer from the Asset Store.'

Assets/PlayMaker Utils/PlayMakerUtils_FsmVar.cs(450,32): error CS0619: `UnityEngine.ProceduralMaterial' is obsolete: `Built-in support for Substance Designer materials has been removed from Unity. To continue using Substance Designer materials, you will need to install Allegorithmic's external importer from the Asset Store.'

Assets/PlayMaker Utils/PlayMakerUtils_FsmVar.cs(452,21): error CS0619: `UnityEngine.ProceduralMaterial' is obsolete: `Built-in support for Substance Designer materials has been removed from Unity. To continue using Substance Designer materials, you will need to install Allegorithmic's external importer from the Asset Store.'

Playmaker ver. 1.9.0, Unity ver. 2018.1.1f1

P.S. Sorry for my bad english.





Title: Re: 1.9.0 Issue
Post by: DaiDesign on May 27, 2018, 04:37:10 PM
Hi

Not sure if this is the correct way but I commented out those lines and it was fine after.

Lines: 369-376
Quote
            #if UNITY_WEBGL
            // proceduralMaterial not supported
            #else
//dai            if (valueType.Equals(typeof(ProceduralMaterial))) // we are ok
//dai            {
//dai               ok = true;
//dai            }
            #endif

and

Lines: 447-453
Quote
      #if UNITY_WEBGL
      // proceduralMaterial not supported
      #else
//dai      }else if(valueType == typeof(ProceduralMaterial) ){
//dai         FsmMaterial _target= fromFsm.Variables.GetFsmMaterial(fsmVar.variableName);
//dai         _target.Value = (ProceduralMaterial)value;
      #endif

Just a quick fix
Title: Re: 1.9.0 Issue
Post by: stvbabb on May 28, 2018, 01:09:37 PM
Hi,

You now need to use this from the asset store:

https://assetstore.unity.com/packages/tools/utilities/substance-in-unity-110555 (https://assetstore.unity.com/packages/tools/utilities/substance-in-unity-110555)

and follow these instructions:

https://support.allegorithmic.com/documentation/display/integrations/Upgrading+2017.x+projects (https://support.allegorithmic.com/documentation/display/integrations/Upgrading+2017.x+projects)
Title: Re: 1.9.0 Issue
Post by: Alex Chouls on May 29, 2018, 08:16:28 AM
PlayMakerUtils are included in some packages on the ecosystem (it's not part of the base install). Try downloading the latest version of any packages you imported from the ecosystem. If that doesn't work, Jean will need to update those packages...

Importing the new Substance tools might also work, but I haven't tried them yet.
Title: Re: 1.9.0 Issue
Post by: Hayato on May 31, 2018, 01:01:40 PM
I got the same problem when getting last version of DataMaker , too .
But it can fix by import "PlayMakerUtils" package in ecosystem or GitHub link (https://github.com/jeanfabre/PlayMakerEcosystemPackagesRep_U5/blob/master/PlayMaker/Ecosystem/Custom%20Packages/Utils/PlayMakerUtils.unitypackage?raw=true).


(https://i.imgur.com/ekrRATt.png)

Playmaker ver. 1.9.0, Ecosystem 0.6.1 Unity ver. 2018.1.0f2
Title: Re: 1.9.0 Issue
Post by: Harbingers on June 02, 2018, 08:14:50 AM
I got the same problem when getting last version of DataMaker , too .
But it can fix by import "PlayMakerUtils" package in ecosystem or GitHub page.
https://github.com/jeanfabre/PlayMakerCustomActions_U4/blob/master/PlayMaker/Ecosystem/Custom%20Packages/Utils/PlayMakerUtils.unitypackage (https://github.com/jeanfabre/PlayMakerCustomActions_U4/blob/master/PlayMaker/Ecosystem/Custom%20Packages/Utils/PlayMakerUtils.unitypackage)

(https://i.imgur.com/ekrRATt.png)

Playmaker ver. 1.9.0, Ecosystem 0.6.1 Unity ver. 2018.1.0f2

BIG THANKS  :)

P.S. issue resolved
Title: Re: 1.9.0 Issue[SOLVED]
Post by: wheretheidivides on June 18, 2018, 03:36:48 PM
I just don't understand gethub.  Is there a way just to post the code soit can be downloaded?  With the errors in unity, playmaker does not work so one can not use the ecosystem.
Title: Re: 1.9.0 Issue[SOLVED]
Post by: szomaza on June 19, 2018, 11:17:14 AM
I just don't understand gethub.  Is there a way just to post the code soit can be downloaded?  With the errors in unity, playmaker does not work so one can not use the ecosystem.

I had the same problem.
Just go to the Github link, press download to get the PlayMakerUtils.unitypackage then double click to import it into your running Unity, and the error goes away.
Title: Re: 1.9.0 Issue[SOLVED]
Post by: cmvrgr on January 19, 2019, 03:08:26 PM
The link in GH is not working.
Title: Re: 1.9.0 Issue[SOLVED]
Post by: jeanfabre on January 21, 2019, 01:20:50 AM
Hi,

 where did you get the Github link?

Bye,

 Jean
Title: Re: 1.9.0 Issue[SOLVED]
Post by: szomaza on January 28, 2019, 05:53:44 AM
The link is in a comment above and it worked before:
https://github.com/jeanfabre/PlayMakerCustomActions_U4/blob/master/PlayMaker/Ecosystem/Custom%20Packages/Utils/PlayMakerUtils.unitypackage
 (https://github.com/jeanfabre/PlayMakerCustomActions_U4/blob/master/PlayMaker/Ecosystem/Custom%20Packages/Utils/PlayMakerUtils.unitypackage)
Title: Re: 1.9.0 Issue[SOLVED]
Post by: jeanfabre on January 28, 2019, 07:50:00 AM
Hi,

 I see.
 
the link is this one now (https://github.com/jeanfabre/PlayMakerEcosystemPackagesRep_U5/blob/master/PlayMaker/Ecosystem/Custom%20Packages/Utils/PlayMakerUtils.unitypackage?raw=true)

Bye,

 Jean