A quick note about OneSync server-side persistence

Originally published at: https://cookbook.fivem.net/2020/07/10/a-quick-note-about-onesync-server-side-persistence/

Starting at server build 2689 and above, when using OneSync, there’s a few differences regarding entity lifetime compared to before. Entities that are owned by a script (not marked as no-longer-needed, or re-assigned as mission entity) will now be able to be in an ‘unowned’ state in which the server is the owner of the…