My FiveM doesn't want to download to install it

What is the issue you’re having?

Last night I was playing on a roleplay server. I got to a point where I was kicked out of town (I thought it was a normal crash, like everyone else). I closed the FiveM launcher (as I always do) and when I tried to run it to log in again, FiveM wouldn’t load. When I clicked on it to open it, the screen would appear (as if I were logging in) and then it would close by itself.
I thought I would just have to restart the PC and that would be it. But that wasn’t the case.
When I restarted the PC and tried to log in again, the same thing happened. The FiveM square would appear and then close right after.
I reinstalled FiveM to see if that would fix it, but it didn’t work. And now when I click to install FiveM again, it simply won’t download and the screen disappears.

What have you tried already to fix the issue?

I tried reinstalling Fivem, but I was unsuccessful.
I tried using a VPN (thinking it could be my internet connection), but it didn’t work.
I reinstalled the entire game (GTAV), but it didn’t work.
Note: My GTAV is from Epic Games.

What server did you get this issue on?

I’m not having it on a specific server. I’m having problems launching FiveM

Windows version

Windows 10 PRO

System specifications

Main-board: Gigabyte AORUS B450M; Memory 2x8GB 3600mHz; CPU Ryzen 7 5700G; GPU RTX 3060 12GB

Antivirus software

Avast

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the Cfx.re community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!
:mascot:

Disable “Game Filters” in your Nvidia App and any screen recording software

I managed to “solve” the problem by placing the main FiveM folder on the desktop.
I tested it by placing the main folder in the correct location, which would be: C:\Users\RezaH_TRN\AppData\Local\FiveM. But when I placed the folder there, the FiveM launcher still had the same problem of not wanting to open.
Now I’m here and I can play. But I’m always researching to find out why this is happening.

The main FiveM folder on the desktop.