Viruses in my game

Godot Version

4.5

Question

I’ve recently released the first version of my game. And I dont know why, but antiviruses keep detecting a trapmine in my game. The problem is that i did not put any malware in my game, and I am afraid it might scare off potential players. How do I fix it?

Put it on Steam.

Are you using any add ons?

Windows generally does not trust un-certified developers, and you probably do not want to pay for certification.

On itch, I had much less false positives with a singular exe than with a zip. Especially when it comes to windows defender “realtime protection”. On the other hand, if the same thing is on Steam - defender will always consider it safe.

That’s a simple odd problem.

You can follow this post first:

https://itch.io/t/3990804/tips-avoid-false-positives-with-anti-viruses-and-godot-engine-4-exports

Then see Does it works or not.

1 Like

I did exactly that and got false positives. Then I did the opposite and didn’t get them. Go figure.
In any case, hosting on Steam costs 100 bucks, which is way less expensive than buying certificates.

Nope
@ComicallyUnfunny have made a game called Wombo(check it out,it’s cool) and when I tried to install a new version of it from itch,windows went crazy mad,detected a trojan virus,I informed him and showed that post and now it work smooth as butter.
The only thing I noticed that changed is the fixed version got a .pck file,that’s it

I don’t know anymore.

Hey there.
Frozen is correct: he reported that the antivirus flagged my file as a trojan. All game engines have this issue with antiviruses: a certain pattern of bytes just looks like something malicious they’ve seen before.
To work around it, you can codesign the game (paid), put it on Steam (paid), or if you’re lucky like me, removing the embedded PCK and having it alongside the EXE made the file’s signature different, which sometimes satisfies the antivirus. This isn’t a guaranteed method; maybe the file still has a scary-looking sequence.

1 Like

Putting on steam costs money, and I am not going to invest in a project that might end up not earning me even 10 dollars

2 Likes

I think that’s the right decision. I thought the same for my game.

1 Like

Fair enough, but then you don’t have any options other than trying to pack in different ways and see which one causes the least trouble. Nothing else can really be done about it.

The only other suggestion I can give you is to take good care of presentation and metadata; nice videos and screenshots, descriptions, headers etc… This will make your game look legit and increase the likelihood of people believing you when you tell them it’s just a false positive.

4 Likes