This is the problem: I've made a template from basic Cube object . It is a modified Cube, with new material and changed scale (it's like a thin segment of metal(. It is visible in the list of templates and has its own name.
Now I drag it into the Script properties. And when the script spawns it, it shows as a standard cube without changed scale (although material is there!).
I have tried to instance that template in the world, click and drag that modified cube from hiearchy to script property, but when I try to spawn that from script, I get an error message on SpawnAsset (gets StaticMesh instead of string).
Where am I making a mistake?
Thanks in advance