Simple Decals not appearing at runtime

I have downloaded the Simple Decals System Simple Decal System | Particles/Effects | Unity Asset Store

It does not seem to work at runtime, in the editor my decals look great, but nothing when i hit play.

Going through the comments I see that @unity_4IOhqkA32olzpg has offered some code to get it all working, but i am getting an error in his code

Assets\Decal_Script.cs(41,32): error CS1503: Argument 1: cannot convert from ‘Decal’ to ‘DecalSystem.Decal’

I see that @Lone-Developer has had luck by saying it needed a simple code adjustment, but no mention of what that code adjustment is.

Has anyone had any luck with this decal system? Any help would be greatly apprecaited

Please describe how you are run time debugging, and provide the code that you refer to. And what comments?

in runtime when i look at my asset which is to have decals on it they are not there. I’m not sure of a way to debug it other than visually. The decals look fine in the editor. They are not visible in the prefab editor(I have attached the decals inside a prefab)

The code provided in the comments of the Simple Decals System is this

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DecalSystem;

public class Decal_Script : MonoBehaviour
{
    public GameObject ThisDecal;

    // Start is called before the first frame update
    void Start()
    {

        CreatePrefab();

    }

    // Update is called once per frame
    void Update()
    {

    }

    void CreatePrefab()
    {
        // instantiate decal

        GameObject obj = Instantiate(ThisDecal, ThisDecal.transform.position, ThisDecal.transform.rotation);

        //decal implementation!!
        var decal = obj.GetComponent<Decal>();
        if (decal) //if this obj has decal script
        {
            var filter = decal.GetComponent<MeshFilter>();
            var mesh = filter.mesh;
            if (mesh != null)
            {
                mesh.name = "DecalMesh";
                filter.mesh = mesh;
            }
            DecalBuilder.Build(decal); //THE ERROR IS HAPPENING HERE

        }

    }
}

Please use Code tags when posting code, see the Code: icon on the edit bar ^ And this may help Tips for new Unity users Specifically you’ll want to contact the asset developer, they have a support link on their asset page

thanks for that. it’s seeming that this code is set to be in the Editor folder, so this is likely why it’s only showing up in the editor. @nickgirga seemed to get it working. I wonder if he could share what he did on that?

He could share if he chooses to and is reading this (?), I would not know of course. Does the asset have any examples? Are they working? Have you contacted the developer directly?

there doesn’t appear to be any support option from the developer

Yes, I see a link to their support website, and then a Connect button.