#NetworkBehaviour could not be found when trying to parse OwnershipChange packet.

6 messages · Page 1 of 1 (latest)

left bay
#

Fishnet version 4.6.8

Basically when removing ownership from an object and despawning it in the same frame(tick?) causes this warning. The method to remove the ownership and despawn is called from a serverrpc.

One workaround I found was to add a predicted spawn component to the object, send a targetrpc from the serverrpc to PredictedSpawn.Despawn().

Am I doing something wrong?

hardy patrol
left bay
#

Okay, I get really iffy if I get warnings haha. I transfer ownership of the worlditem to the player on a physical pickup because I wanted it to feel responsive for clients and avoid CSP (which I feel is overkill for just picking up items)

#

and if that item is pocketable, just remove any ownership of it and despawn it

hardy patrol
#

Ah ok, just despawning it should work well

left bay
#

Thanks @hardy patrol