#Objects with a network Identity are not being spawned on client connection

27 messages · Page 1 of 1 (latest)

spice dagger
#

They do not have server only enabled

meager violet
spice dagger
#

Visibility is set to default, it is not under a parent object, only objects at the top of the hierarchy have a network identity.
Im not so sure about interest management

meager violet
#

Are these scene objects or runtime instantiated and spawned?

spice dagger
#

These are scene objects, theres nothing to do with interest management

#

Sorry for the slow reply, i was booting my unity up

meager violet
spice dagger
#

Just one, I've got everything showing up in console afaik. I'm on the bus home now so I'll have more answers and information in about 30 minutes

#

I remember back a month or so ago when I first started implementing it, things did spawn on the host.

#

So I can only assume things are actually loading on the server, but not connected clients

spice dagger
#

this is how the network id looks

#

Its the same across both of them

spice dagger
spice dagger
meager violet
spice dagger
#

Its the other objects in the scene that wont spawn

meager violet
spice dagger
#

Oh right, uhm im not sure in that case

#

i assumed local player assigned was normal

spice dagger
#

the player spawn method is random

spice dagger
#

@meager violet Sorry to necro this help, but its been months and i still cannot fix this issue.

Ive tried investigating similar posts ranging from the readniess of the client etc, none were applicable to my issue.
The Local player assigned log entry is derived from player.cs
Its code is provided here: https://pastie.io/dknorx.cs
Its used in relation to a matchmaker script i am using.

Server only is not enabled on any network identities.
Ive added a debug line to check if the client is being declared as ready by the server, it returns true
(Client disconnected here is just me closing the test)
We are recieving no errors or warnings related to networking.

The player prefab containing player.cs does contain a network identity, however successfully spawns.
All prefabs are registered in the spawnable prefabs list.

#

Me and my team have absolutely no idea what is causing this, or has been for months

#

We have attempted removing things such as Network transforms and other data with no success