fivem icon indicating copy to clipboard operation
fivem copied to clipboard

Warning: LoadObjectsNow took 4000 msec

Open HeyyCzer opened this issue 4 weeks ago • 24 comments

What happened?

Warning: LoadObjectsNow took 4000 msec (invoked from 00007ff62aeff6ce)!
---------------- DO FIX THE ABOVE ^
---------------- IF YOU CAN NOT FIX IT AND THIS OCCURS DURING GAMEPLAY
---------------- PLEASE CONTACT THE FIVEM DEVELOPERS ON https://forum.fivem.net/
---------------- WITH THIS CITIZENFX.LOG FILE
---------------- 
---------------- THIS BLOCKING LOAD _WILL_ CAUSE CLIENT GAME CRASHES

Expected result

Not having these warnings

Reproduction steps

  1. Updated to FXServer 38220
  2. Starting having these warnings and freezes on a server with many assets

Importancy

Crash

Area(s)

FXServer, FiveM

Specific version(s)

FiveM b3095 e3889 / FXServer 38220

Additional information

CitizenFX_log_2026-11-05T022815.log

HeyyCzer avatar Nov 05 '26 03:11 HeyyCzer

I can't even get 3889 to load at all. It just hangs after collision is loaded. No clue why. No errors on client or server side. Going back to 3258 I guess.

Also lets just hope they merge this ASAP into release. https://github.com/citizenfx/fivem/pull/4317

Please open an issue describing your problem, with logs attached. That PR does not affect LoadObjectsNow

Gogsi avatar Nov 05 '26 11:11 Gogsi

Same issue here after updating. Server: FXServer 38317, game build 3889, OneSync, many streamed vehicle/map assets.

One client session (~106 min) logged 9 LoadObjectsNow warnings during gameplay, each 2.0–5.6 s, and players felt them as freezes.

All 9 came from the same call site: invoked from 00007ff79929f6ce = GTA5_b3889.exe+0x16AF6CE

The address in this issue resolves to the same offset, assuming the same build: 00007ff62aeff6ce - 0x16AF6CE gives a 64K-aligned image base.

Server profiling looked healthy (max tick 38.8 ms), though that 25 s capture may not include a freeze. Client profiler captures were too short to catch one, with a max script tick of 13 ms.

The same session later crashed at GTA5_b3889.exe+17033AA (dakota-michigan-rugby), about 10 minutes after the last warning. I can't confirm the two are related, and this client had graphics mods installed (QuantV/dxgi).

I can provide the full log and crash dump if useful.

polisei avatar Nov 05 '26 16:11 polisei

I have same issue on my friends PC with pc I7 6700 Rx580 and 16GB ram, stalls the game and process stops with no crash data ( no crash report )

florijanftw avatar Nov 07 '26 01:11 florijanftw

Image

Are you experiencing this kind of problem as well?

Whisperisgod avatar Nov 07 '26 18:11 Whisperisgod

Wonder how long it'll take to get a fix for this. Players are constantly experiencing stutters and freezes now with LoadObjectsNow.

  • LoadObjectsNow took 5890 msec (invoked from 00007ff6bf36f6ce)
  • LoadObjectsNow took 2125 msec (invoked from 00007ff6bf36f6ce)

Maybe we can get insight from @Gogsi since he's the only one who replies to people...

dlikedior avatar Nov 08 '26 02:11 dlikedior

Can we collect some information on what hosting and what resource caching the people with this issue have?

Gogsi avatar Nov 08 '26 15:11 Gogsi

About hosting and caching, we use Ecxon (a brazilian company). They provide us caching as well with no additional cost, but I almost sure they use Cloudflare's CDN for this. All the downloads from the server are really fast.

Some info below, idk if its useful. We didn't change hosting/caching provider either.

ASN:270764
ISP:Ecxon Datacenter Ltda
Services:Data Center/Transit
Country:Brazil
State/Region:Sao Paulo
City:Sao Paulo

The artifacts upgrade really increased the crash rates. On the left you can see our normal crash rates, and after that, you can see the numbers exploding. We had no assets changes AT ALL. Image

Image

This below is only from the last 24h.

Image

HeyyCzer avatar Nov 09 '26 01:11 HeyyCzer

Bu sorunu yaşayanların hangi barındırma ve hangi kaynak önbelleğe sahip olduğu hakkında bilgi toplayabilir miyiz?

vibegames cloudflare cdn

Whisperisgod avatar Nov 09 '26 21:11 Whisperisgod

Yarın ayarları deneyeceğim ve bunun bir şeyleri iyileştirip iyileştirmediğini göreceğim.set sv_defaultGameBuild 3258

Image Image Image Image

Do you have these kinds of problems, too?

Whisperisgod avatar Nov 09 '26 21:11 Whisperisgod

Can we collect some information on what hosting and what resource caching the people with this issue have?

We also host with VibeGAMES in Istanbul and use their FiveM resource caching CDN for all resource downloads.

polisei avatar Nov 10 '26 18:11 polisei

i was told that this issue is known so they will probably fix it in the following days

AngeloneISL avatar Nov 10 '26 18:11 AngeloneISL

I believe this is a combination of a few things. One is that there are some issues that were found with b3889, which will like be fixed on Canary in the following days. One of those is related to streaming collisions, which may indirectly affect overall streaming, causing these issues people have.

But on top of that, every server that's replied to me uses Vibe's CDN caching, which I believe uses Cloudflare under the hood. I do wonder if something odd is going on with that, or it's just a matter of many large servers sticking to the most reliable host.

Gogsi avatar Nov 10 '26 18:11 Gogsi

I would like to point out that this issue only affects some Turkish customers, and nothing has changed on our CDN side (which indeed does run through Cloudflare). We initially suspected a general Cloudflare issue in Turkey, as we’ve seen that before, but many Turkish customers report that the problem started right after an artifacts update.

We’ve had zero complaints so far from customers outside Turkey, which suggests the affected Turkish servers have something in common that triggers this behaviour.

VibeGAMESNL avatar Nov 10 '26 19:11 VibeGAMESNL

Tbh, this issue was created by me and I'm not even Turkish and don't host my server in the EU, but in SA. So I'm not sure of that.

HeyyCzer avatar Nov 10 '26 19:11 HeyyCzer

Tbh, this issue was created by me and I'm not even Turkish and don't host my server in the EU, but in SA. So I'm not sure of that.

I’m not sure, but it looks like some of our Turkish customers have started responding here. But looking at this, their issue (textures not loading) seems completely different from what @HeyyCzer is experiencing, though?

VibeGAMESNL avatar Nov 10 '26 19:11 VibeGAMESNL

The "Warning: LoadObjectsNow took xxxx msec" issue is almost certainly caused by new artifacts forcing the use of the 3889 executable (not game build!). It should hopefully be resolved with the next build.

The overall streaming issues (stuck LODs, "texture loss") could be related to the issue above but it's hard to say. I guess it can be retested after the update.

Gogsi avatar Nov 10 '26 19:11 Gogsi

Oh, ok! Thanks Gogsi.

HeyyCzer avatar Nov 10 '26 20:11 HeyyCzer

After a very simple update, there were absolutely no changes to the files, but this situation still exists.

Whisperisgod avatar Nov 10 '26 20:11 Whisperisgod

Follow-up: I analyzed player crash dumps from our server (artifact 38435, sv_enforceGameBuild 3407, clients on b3889 exe).

The freezes now also end as "FiveM has stopped responding" hangs. In two hang dumps from two different players/GPUs, the main thread is stuck in the same code range that dominated our earlier ETW trace:

  • Hang 1 (RTX 3050 Ti Laptop): main thread at GTA5_b3889.exe+1690DAF, stack contains +1690FFD, +169ACA8. 31 LoadObjectsNow warnings earlier in the session (up to 9.6 s), then ~52 s without response.
  • Hang 2 (RTX 3060 Ti): main thread at GTA5_b3889.exe+1690EDE, stack contains +1690FFD, +169AD44. Locked up ~14 s after "Finished connection logic", right after spawning.
  • ETW trace of a 6.25 s freeze (earlier): main thread at 100% CPU, ~91% of samples in exe+1690D00–1691100 (top PCs +1690FA2, +1690EDB), zero Lua samples, no disk waits.

So the LoadObjectsNow freezes (call site +16AF6CE) and these hangs appear to be the same CPU-bound loop in game code, not script or disk related. No script was running during the profiled freezes.

Also seen on 3 different players: GTA5_b3889.exe+17033AA (dakota-michigan-rugby), the last one without any graphics mods.

I can share the dumps and the ETW trace privately (they contain player data).

polisei avatar Nov 10 '26 23:11 polisei