Can't CreateObject network on newer Artifact (tested 9940-56) + desync

Hello! Facing a recent issue here.

  1. Config
    a) Client (production/canary) : Tested and had issue on all client types (release, beta…)
    b) FXServer version : 9940 - 9956 (Linux)

  2. Issue :
    I’m using CreateObjectNoOffset client side to spawn entities with network on true,
    right after i get the network id of the entity using “NetworkGetNetworkIdFromEntity” but since using newer artifact (9940-9956) sometimes the object is created, i can see it on my screen but other player don’t, the network value doesn’t work and my “NetworkGetNetworkIdFromEntity” does return a Warning in the client console saying “no net object for entity”, i downgraded artifact to 9780 and didn’t have the issue anymore. I also have a lot desync, like a lot of latency but with 0% PL but again downgrading fixed the issue.

Here is the code to create the object :

local entity = CreateObjectNoOffset(`props_hash`, 0.0, 0.0, 0.0, true, false, true)
local entityNetID = NetworkGetNetworkIdFromEntity(entity)

If you need any more infos i can get, let me know.
Thanks for your help.


Screenshot of the NetworkGetNetworkIdFromEntity

Hi, the code you provided won’t work for 2 reasons : the prop hash doesn’t exists in this case, you’re not requesting its model. Please provide a working code so we can try to help diagnose it

This has been fixed in recent artifacts, there was an issue on the artifact 9940 or so

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.