- Home /
custom spawn unet weird behaviour ?
hello,
im following this tutorial http://docs.unity3d.com/Manual/UNetCustomSpawning.html
and tested it, and had some weird behaviour
UnSpawnObject (is both called in client and server) is ok, but SpawnObject is not called in anywhere (neither server or client). is this expected? why?
on server side the instance was properly pooled and reused, but on clientside not using object in pool, new object is created per spawned, and not destroyed (just inactived). i can easyly noticed on hierarchy view. im afraid of memory leak here. is this expected ?
my expectation is both server and client while re-use object in this pool, but its not, client keep creating instance per server spawn.
im using Unity 5.3.1
Your answer
Follow this Question
Related Questions
How to find gameobject through SpawnMessage? 0 Answers
can't get clients to spawn object 0 Answers
Network Instantiate Pickup Problem 1 Answer
How to optimize a lot of network traffic 1 Answer
Spawn Cube doesnt Show up on client. (Unity Networking) 0 Answers