Playmaker Forum
Bug Reporting => PlayMaker Bug Reporting => Topic started 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.
-
Hi
Not sure if this is the correct way but I commented out those lines and it was fine after.
Lines: 369-376
#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
#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
-
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)
-
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.
-
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
-
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
-
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 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.
-
The link in GH is not working.
-
Hi,
where did you get the Github link?
Bye,
Jean
-
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)
-
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