For a good bug report you should probably include:
- Client (production/canary) and FXServer version: canary | FXServer-master SERVER v1.0.0.5132 win32
- What you expected to happen: entity concealment be persistent when recreating an entity
- What actually happens: entity concealment resets and the recreated entity spawns to a random offset from the initial position
- Category of bug (eg. client, server, weapons, peds, native): client
- Reproducible steps, preferably with example script(s):
- Use the command
spawnveh
, it spawns a vehicle with the server-side experimental native CREATE_AUTOMOBILE (tested with a networked vehicle from CreateVehicle client side and it didnt even despawn when going outside culling radius) - From the repo and with runcode, copy the printed net id and get the client side handle of the vehicle
- Conceal the vehicle with NETWORK_CONCEAL_ENTITY:
crun NetworkConcealEntity(NetToVeh(<NETID_PRINTED_HERE>), true)
- Go far away past culling radius (one trick to check it is just by spamming the
NetToVeh(..)
until it says there’s no entity) - Return to the area and the vehicle appears in a random offset from its initial position, not concealed.
Little video showing it happening:
(2022-01-25 16-16-21_trim Incase the embed breaks)
Repro resource:
repo_conceal.rar (457 Bytes)