Did not find target for sync message for XX intermittent warning.

I am having some internittent warnings when I am spawning an object.

The object is spawned on the server and then NetworkServer.Spawn is called on the object.
I then run a method from the server that Rpc’s the object and causes an animation to be run on all clients(needs a value to be the same on all the clients so the animation ends up in the same place).
This works just fine, client and host see the same thing, even though the warning comes up intermittently. It doesn’t seem to affect the object at all, it still does what its supposed to.

I thought maybe it needed some time before calling the Rpc, but that didn’t work, I get the warning and then the animation plays. I’ve tried some of the solutions I have found on the internet, like checking the scene id of the object and making sure server only isn’t checked in the NetworkIdentity. Nothing is working to get rid of the intermittent warning. I’ve even tried to set up syncvar’s to set the values I am setting in the Rpc so I can set them before the call to NetworkServer.Spawn, to no avail warning still pops up.

Solved the problem.

I had added a NetworkTransform to the objects causing the error. I was attempting to turn it on and off and had some problems with that so I took the code out and forgot to remove the NetworkTransform that was set to sync none.