[Bug] Client skips onResourceStop/onClientResourceStop #371
Closed
0xMxh
started this conversation in
[BUG] FiveM for GTAV Enhanced
Replies: 4 comments 3 replies
|
Can confirm this does happens |
0 replies
|
Thanks, we are looking into this. So the client resource does not receive its own onResourceStop and onClientResourceStop before it is erased? Because restarts of resources are just deletion of the resource and recreation. |
1 reply
|
same when i ensure any scripts : |
1 reply
|
A fix for this bug has been implemented and is available in August 11 Patch. Please try again and let us know if the issue persists. Thanks for your help! |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Summary
On FiveM for GTAV Enhanced, client-side onResourceStop / onClientResourceStop never fire when a resource is stopped or restarted. The client remounts scripts with no stop handlers in between. resource.rpf is often re-downloaded into the Enhanced servercache. Server-side onResourceStop on the same shared script works normally.
Issue type
Client
Repro rate
Always
Server build version
FXServer-early-access b110 win32
OS
Windows 11
CPU
No response
GPU
No response
RAM
No response
Storage type
None
Connection type
None
ISP and bandwidth
No response
DxDiag
No response
Network graph
No response
Platform
None
OS version / distribution
No response
CPU
No response
RAM
No response
Using txAdmin?
None
Hosting provider
None
Machine type
None
/perf endpoint output
No response
DDoS protection
No response
ulimit -n value (Linux only)
No response
Docker Compose file (Docker only)
No response
Steps to Reproduce
testwith only:ensure test, START appears on server and in F8 (expected).stop testthenensure test.Expected Behavior
Normally, onResourceStop and/or onClientResourceStop should fire on the client when the resource is stopped.
Actual Behavior
Nothing happens — those events never fire, and START runs right after.
Evidence
F8 excerpt:
Downloading file resource.rpf to .../FiveM for GTAV Enhanced/servercache/...
[CLIENT] loaded in test
[CLIENT] loaded in test
[CLIENT] loaded in test
(no STOP lines)
Server onResourceStop for other resources still completes normally (server-side only).
Additional Context
No response
All reactions