#Syncvar Modifying In edit mode (18.0.1)

14 messages · Page 1 of 1 (latest)

karmic spoke
#

so, When setting it in the editor in edit mode , due to the components not being initialised It errors with no reference exception Related to the network identity, This is fixed in honour of the future versions or is there a workaround?

karmic spoke
#

looks like part of the issue also that k__BackingFieldNetId doesn't get set in the Inspector properly it's 0

#

this error comes from setting fire code the one above

dull spruce
karmic spoke
#

support could be theoretically added if it uses the scenes ID ( vaguely remembering that something )

#

shouldn't be a problem for too long since, will be moving to loading maps in runtime and that should work fiine

dull spruce
#

doesn't matter - it's a race condition. By "exist" I meant "spawned"

#

Almost always when this comes up, there's a better way than SyncVars, or you're trying to get client to do server stuff

karmic spoke
#

found a workaround for it and, the planned future roadmap we won't be using scenes , so wouldn't be an issue for too long

#

shall I mark as a result?

#

*resolved

dull spruce
#

sure