Decal spawned via C++ has always the same material

Finally solved the problem. I had to change my material’s domain property to be a Deferred Decal rather than just a surface