We’ve pushed an update to the canary branch, which will be pushed to prod once someone verifies it works. This fixes a total of one and adds some code to handle other cases of the same bug.
(o btw its on prod now )
Summarized changelog
- Add logging for long
LoadObjectsNow
calls. If any of these happens during gameplay, a really big entry will be written to CitizenFX.log. - Show
LoadObjectsNow
log data in ResourceCacheDevice::EnsureFetched errors. - Remove blocking
LoadObjectsNow
calls caused by: - Loading collisions. This defaults
SET_GAME_CAN_PAUSE_FOR_STREAMING
to false. - Loading .gfx files upon entering MP mode.
- The above fixes quite a few causes of ResourceCacheDevice::EnsureFetched errors.
Developer information
If your server now ends up spawning people falling through the ground, try adding the following to spawnmanager.lua
:
FIND:
ShutdownLoadingScreen()
ADD BEFORE:
while not HasCollisionLoadedAroundEntity(ped) do
Citizen.Wait(0)
end
This is a necessary consequence of not blocking the streamer anymore when loading collisions.