What happened?
I've found that over a long period of time, this happens very rarely. I've caught it 4 times total. One was at 65533
and three were at 65534. For me it happens when creating an object on the server, then trying to use NetworkGetEntityIsNetworked() on the client for the netid. It always returns false. Unfortunately I can't confirm more than that, but I will update with more information when it happens again.
Expected result
NetworkGetEntityIsNetworked() should return true
Reproduction steps
On the server:
local e = CreateObjectNoOffset(mdl, coords, true, true, false)
local netid = NetworkGetNetworkIdFromEntity(e)
when netid is around 65534, then on the client:
(not 100% which returns false first but...)
NetworkDoesEntityExistWithNetworkId() and/or NetworkGetEntityIsNetworked() happen next, and if my suspicion is correct, NetworkGetEntityIsNetworked() actually fails after NetworkDoesEntityExistWithNetworkId() succeeds, but I have to create a test case to know.
I suspect the latter because I'm finding reports of objects with these netids meaning they exist, but return false when queried if their netid does exist, unless the id i'm getting from NetworkGetEntityFromNetworkId() is 0.
Importancy
Slight inconvenience
Area(s)
FiveM, OneSync
Specific version(s)
FiveM server build 3407, linux and windows
Additional information
If you need a test case I'm willing to write one.
What happened?
I've found that over a long period of time, this happens very rarely. I've caught it 4 times total. One was at 65533
and three were at 65534. For me it happens when creating an object on the server, then trying to use NetworkGetEntityIsNetworked() on the client for the netid. It always returns false. Unfortunately I can't confirm more than that, but I will update with more information when it happens again.
Expected result
NetworkGetEntityIsNetworked() should return true
Reproduction steps
On the server:
local e = CreateObjectNoOffset(mdl, coords, true, true, false)
local netid = NetworkGetNetworkIdFromEntity(e)
when netid is around 65534, then on the client:
(not 100% which returns false first but...)
NetworkDoesEntityExistWithNetworkId() and/or NetworkGetEntityIsNetworked() happen next, and if my suspicion is correct, NetworkGetEntityIsNetworked() actually fails after NetworkDoesEntityExistWithNetworkId() succeeds, but I have to create a test case to know.
I suspect the latter because I'm finding reports of objects with these netids meaning they exist, but return false when queried if their netid does exist, unless the id i'm getting from NetworkGetEntityFromNetworkId() is 0.
Importancy
Slight inconvenience
Area(s)
FiveM, OneSync
Specific version(s)
FiveM server build 3407, linux and windows
Additional information
If you need a test case I'm willing to write one.