Error in Runtime>Tasks>Unity>Renderer> SetMaterial.cs

TheLazerViking

New member
Imported BD to my current project and I'm getting:

Assets\Behavior Designer\Runtime\Tasks\Unity\Renderer\SetMaterial.cs(36,33): error CS0029: Cannot implicitly convert type 'Material' to 'UnityEngine.Material'

Not too sure how to solve this one. It works fine in a fresh project in 2020 and 2019.4.18 (The version my current project is using) Any help would be greatly appreciated.

Untitled.png
 
So it works in a fresh project? It almost looks like the SharedMaterial SharedVariable doesn't exist but I can see that it does above. Maybe you have another SharedMaterial definition?
 
Yes! That was it. Thanks a bunch! Looks like another asset called Quick Outline was interfering with it. I'll see if I can change some stuff in QO to make them play nice.
 
Top