hi guys, i want instantiate a cube on network with RPC (first allocate view ID)
but when i instantiate i have this log in unity:
Receiving state for an object whose network view exists but the observed object no longer exists
I don’t know about it
That problem should be fixed by using
Network.Instantiate() and instantiate the object at run time, after connecting or hosting a network server.
This error tells you that you have an object with a NetworkView and a valid ViewID which is receiving an update from the network, but the observed component, that is the component that is actually synchronised by this NetworkView, is missing. This can happen when you either don’t assign the wanted component on the other side, or you have destroyed that component only on one side.
You have to give us more information.