Also try the same code you have but without objectid.
I tried without objectid and now the object even didn't spawn. Previous one (with objectid) the object did spawn but disappear after a second. I already tried this on a clean script but the problem still happened.