fivem icon indicating copy to clipboard operation
fivem copied to clipboard

CreateObjectNoOffset on server crashes client if object is changed

Open DarinBeard opened this issue 1 month ago • 4 comments

What happened?

If I create an object using CreateObjectNoOffset on the server side... then the owner on client side alters the object by setting collision to off/on or freezing position it crashes the client. OneSync related? Clonemanager is mentioned in the error. I am not sure what settings changed are causing it but those are the two I've tested and it consistently crashes with this message.

[ 207062] [b3095_DumpServ] 10552/ Process crash captured. Crash dialog content: [ 207062] [b3095_DumpServ] 10552/ GTA5_b3095.exe!sub_1416E43B0 (0x5b) [ 207062] [b3095_DumpServ] 10552/ An error at GTA5_b3095.exe!sub_1416E43B0 (0x5b) caused FiveM to stop working. A crash report is being uploaded to the FiveM developers. [ 207062] [b3095_DumpServ] 10552/ [ 207062] [b3095_DumpServ] 10552/ Legacy crash hash: fish-bulldog-missouri [ 207062] [b3095_DumpServ] 10552/ Stack trace: [ 207062] [b3095_DumpServ] 10552/ GTA5_b3095.exe!sub_1416E43B0 (0x5b) [ 207062] [b3095_DumpServ] 10552/ GTA5_b3095.exe!sub_1411CF2A0 (0x89) [ 207062] [b3095_DumpServ] 10552/ GTA5_b3095.exe!sub_1411C9F10 (0x14c) [ 207062] [b3095_DumpServ] 10552/ GTA5_b3095.exe!sub_1411C8BA4 (0xaaf) [ 207062] [b3095_DumpServ] 10552/ gta-net-five.dll!rage::netObject::Update (0x51) (<A HREF="https://sourcegraph.com/github.com/citizenfx/fivem/-/blob/production/fivem/code/components/gta-net-five/include/netObject.h?L166">netObject.h:166</A>) [ 207078] [b3095_DumpServ] 10552/ gta-net-five.dll!sync::CloneManagerLocal::Update (0x1de) (<A HREF="https://sourcegraph.com/github.com/citizenfx/fivem/-/blob/production/fivem/code/components/gta-net-five/src/CloneManager.cpp?L1911">CloneManager.cpp:1911</A>) [ 207078] [b3095_DumpServ] 10552/ gta-net-five.dll!std::invoke (0x4) (type_traits:1576) [ 207078] [b3095_DumpServ] 10552/ [ 213203] [b3095_DumpServ] 10552/ Crash report service returned si-95d10f6b06544260959fdaa1c3d54782

Expected result

It not to crash

Reproduction steps

  1. CreateObjectNoOffset on server
  2. Go to client of owner and change the object's position and that's fine
  3. Change the object's collision and/or whether its position is frozen and the client crashes

Importancy

Crash

Area(s)

FiveM

Specific version(s)

FiveM 8444 fx b7326

Additional information

No response

DarinBeard avatar Jun 11 '24 16:06 DarinBeard