Weird error messeges in console

Also the newest version may have this problem fixed because the version i used was the v3.3.0-pre

1 Like

I just updated mine today, v3.3.1, and almost immediately had issues.

That’s sad

What kind of issues

The above mentioned error as well as server crashes.

If you’re having “server crashes”, have you considered uploading the dumps?

Where should I do that? In the vMenu thread?

I’ve been told memory dumps can contain sensitive information so I was leery of posting them on this forum.

Im using an old vMenu and linux server, same issue…

I’m using vMenu v3.3.1 and having the same issue, I’m going to submit a issue on the github maybe vespura will have more insight. P.S. I have force game version 2060 enabled.

I had this issue as well. If you are on an older version of the server artifact that could also be causing the issues. once I updated to the latest recommended artifact it seems to no longer SPAM the error. However if you go take a look at the vMenu original post the creators seem to be aware of the issue. I would recommend updating the server artifact (currently 3184 as of today 12-7-2020) and maybe even the cfx-server-data. That is what I did and I have not been getting the error SPAM.

I am using the same artifact as you and the latest version of vMenu and the spam keeps happening

I just went back and looked at the vMenu original post and i noticed that they have comments stating its been fixed.

Can you link one of them

Sure here is the link for the original post. if you go to the end of the comments over the last like 48 hours people have been talking about this issue. people have suggested they believe its a fivem issue . That is what leads me to think server artifact, and the cfx-server-data. and now im not having the issues . vMenu hope you figure it out.

i’m on build 3270, I’ll just keep a watch for updates from fivem and vespura.

I kept having these problems too and after trying stopping vMenu while the error happened, I can now confirm that vMenu is causing the problem.
I think the error should tell us the resource name and the script instance name.

Btw, in my experience, that error is most likely caused by something like:

foreach (var item in collection)
{
    collection.Remove(item);
}

Easy fix that works most of the times:

foreach (var item in collection.ToList()) // assuming System.Linq was imported
{
    collection.Remove(item);
}

Hey! I’m having the same issue, you should make a PR into the vMenu repo.

I’m also having this problem.

So I was investigating the cause to this error spam on the console and appears to be vMenu Script error. I still don’t have a solution to the fix Ill try and reinstall vMenu into the FiveM

Image:

I was convinced it was a vMenu problem, however, I now experienced this problem also without vMenu but with other C# scripts, some already existing such as FivePD, and others I made from scratch, of which I’m sure they’re not causing that error.

My conclusion is that it must be a FiveM problem related to C# scripts. If the thrown error was a bit more specific it would be a lot easier to fix and send a PR.