NetworkView doesn't exist but I can see it in the editor

Hi

Received state update for view id’ AllocatedID: 2’ but the NetworkView doesn’t exist

I’m getting this message (Same as many others do), and most answers seem to be that either the object wasn’t created properly, or it was deleted and the RPC buffer not cleared.

The general implication is that when the message appears the game doesnt have an object with the network ID in order to update it.

However when looking for the cause of the problem I found that I can see the network view IDs that its complaining about → Screenshot of the error and the view its complaining about

Does anyone know why it is unable to make use of the network ID? The only bit that is different to all the other IDs is that this network object (Uzi(Clone)(remote)) is a child of “1 Alpha Squad Manager”

Thanks

Stuart

To answer my own question. The cause was that I’d called setActive(false) on these weapons for the clients.

setActive false seems to prevent any sort of networking (including RPC calls that would trigger a setActive(true). My solution was to just disable the renderer, and add a check for renderer.enabled at the beginning of my Update() code.

Thanks

Stuart