Hi all,
I'm having trouble spawning dynamically created objects onto the server/client. I know that my issue is related to the registration of the "prefab" (ClientScene.RegisterPrefab) but I can't figure out how to solve it. I've seen a couple of questions and answers on this topic, but they don't seem to help.
At the moment I've got this:
[Command]
void Cmd_SpawnAnObject()
{
GameObject spawned_object = GameObject.CreatePrimitive(PrimitiveType.Cube);