fivem icon indicating copy to clipboard operation
fivem copied to clipboard

Uis dissappear

Open paooleo4-del opened this issue 7 months ago • 10 comments

What happened?

all uis at random times just dissappear

Expected result

not even happen

Reproduction steps

they just reload at random times

Importancy

Unknown

Area(s)

FiveM

Specific version(s)

Latest

Additional information

No response

paooleo4-del avatar Apr 20 '26 12:04 paooleo4-del

you gotta be more specific buddy, tell reproduction steps they aren't Gods to know everything

cristiancibu avatar Apr 20 '26 12:04 cristiancibu

Hi, Someone recommends to update xsound to the experimental branch (in case you are using it). If you are not using xsound, this help is useless.

czsquizer avatar Apr 20 '26 13:04 czsquizer

Hi, Someone recommends to update xsound to the experimental branch (in case you are using it). If you are not using xsound, this help is useless.

i did that and still

paooleo4-del avatar Apr 21 '26 13:04 paooleo4-del

you gotta be more specific buddy, tell reproduction steps they aren't Gods to know everything

Hi, Sorry for the vague first post. What happens: All custom UIs (menus, HUD, inventory, etc.) randomly reload/flicker and some menus completely disappear or fail to open at all. It happens to many players, not just me, at completely random times during normal gameplay. Reproduction steps: No specific action triggers it. It just happens randomly while playing. Right before the UIs reload or disappear, these two errors always show in the F8 console:

Uncaught TypeError: $(...).draggable is not a function (@shooting/html/script.js:101) Uncaught ReferenceError: particlesJS is not defined (@esx_cardealer/ui/js/sparks.js:1)

We already tried:

Updating xsound to the latest experimental branch (still happens) Clearing FiveM cache on client side Fixing the script loading order in both resources (jQuery + jQuery UI loaded first for the shooting menu, particles.js loaded before sparks.js for the cardealer)

Still getting the random UI reloads/disappearing menus. Using the latest FiveM artifact. Let me know if you need any logs or more details.

paooleo4-del avatar Apr 21 '26 13:04 paooleo4-del

Can you close your game quickly after this happens and then send over the following files:

  • %localappdata%\FiveM\FiveM.app\cef_console.txt
  • %localappdata%\FiveM\FiveM.app\logs\CitizenFX_log_2026-xx-xxTxxxxxx (sort by Date modified and get the newest file). This file will contain your Rockstar account's email address and account id right at the start, if you want, you can just open it in notepad and remove it
Image

Gogsi avatar Apr 21 '26 13:04 Gogsi

One of the NUIs on the server is causing the Chromium Embedded Framework to crash. This is commonly associated with playing embedded YouTube videos, as in December 2025 YouTube made some change that causes memory leaks.

Image

The experimental version of xsound attempts to fix this by putting the YouTube frame in a DUI, which means it's destroyed whenever the playing video changes. But you might have other NUI scripts that either leak memory or play YT videos without using xsound.

Gogsi avatar Apr 21 '26 14:04 Gogsi

how can i find which script causes this problem? just search ?

paooleo4-del avatar Apr 21 '26 14:04 paooleo4-del

how can i find which script causes this problem? just search ?

Search through your resources for YT.Player( to identify which script is using it.

xodashy avatar Apr 21 '26 18:04 xodashy

Hey did this ever get resolved Im having the same issue in my server with about 5-10 players

ThunderNLRP avatar May 14 '26 17:05 ThunderNLRP

我该如何找到导致这个问题的脚本?直接搜索吗?

Do your servers have commercial anti-fraud measures in place?

BearCNR avatar Jun 13 '26 11:06 BearCNR