Unit spawning rpc