Experimental onesync population (sv_experimentalOneSyncPopulation) doesn't work.
What happened?
With the convar "sv_experimentalOneSyncPopulation", the NPCs doesn't appear.
Expected result
Onesync population working normally.
Reproduction steps
- Start a server with the convar "sv_experimentalOneSyncPopulation" enabled.
- Join the server.
Importancy
Slight inconvenience
Area(s)
FiveM, FXServer, OneSync
Specific version(s)
FiveM 9439 (Latest), Server 9572
Additional information
No response
Hi, all clients needs to be on canary to use this feature. You also need to enable the population with the previous convar.
Hi, all clients needs to be on canary to use this feature. You also need to enable the population with the previous convar.
Hi! I'm the only one on the server and I'm in canary. I'm using sv_experimentalOneSyncPopulation true.
With this convar disabled the population works fine.
What is this feature supposed to do? I thought the AI are already sync'd?
It's "OneSync", has nothing to do with population sync. This new convar replaces the old onesync_population convar
What is this feature supposed to do? I thought the AI are already sync'd?
It fixes the fact that if you turn off population (i.e. set onesync_population false) it will also disable the length hack which is what extends object ids from 8192 to 65535
See: https://github.com/citizenfx/fivem/blob/d5255f9b275a15fc3c693d13141ca19d8f2568b8/code/components/citizen-server-impl/src/state/ServerGameState.cpp#L7415
Any reproduction steps?
I have
set onesync on
sv_maxclients 48
set onesync_population "true"
set sv_experimentalOneSyncPopulation "true"
and population is shown up fine.
Any reproduction steps?
I have
set onesync on sv_maxclients 48 set onesync_population "true" set sv_experimentalOneSyncPopulation "true"and population is shown up fine.
I fixed the issue by using the set command. Previously, I was using sv_experimentalOneSyncPopulation true, but after changing to set sv_experimentalOneSyncPopulation true, the population appeared correctly. This is strange because other Convars, like sv_endpointPrivacy, work normally without using the set command.
issue
Why do you need to try this if the onesync population is already on by default without using any convar? Since you are leaving population on anyways?
issue
Why do you need to try this if the onesync population is already on by default without using any convar? Since you are leaving population on anyways?
I'm just testing the feature, there's no reason.