Its been a while now that I realized the luajit-32.exe file - which is unpacked in the AppData\Local\Temp\defold-unpack-xxx folder is always being flagged by the McAfee antivirus on Windows, and it actively stops a Defold game from running. It seems its a false positive. Maybe this may need to be brought up with the guys at McAfee?
Wow. I wonder how and why it quarantines the executable… Does it provide a reason?
We recently purchased an EV Code Signing certificate and we’ll see if it helps to sign the executable. Perhaps it passes the check if the exe is signed.
Hi, just wondering when you might use the EV Code Signing certificate to sign the executable to see if it resolves the McAfee issue which I am also experiencing?
Hi there, somebody have found a some solution for this issue? I have tried several versions and with all of them I can’t compile, McAfee always block luajit-32.exe.
Hi,
Version 1.3.0 works for me. It’s the only option I can find to carry on using Defold.
Not been able to exclude luajit-32.exe from McAfee.
I am finding each time the Defold editor is opened, luajit-32.exe is unpacked into a folder in C:\Users[Username]\AppData\Local\Temp that is named defold-unpack-xxx, where xxx is a 40-character hexadecimal string. McAfee will not allow the luajit-32.exe file to be added to its real time scanning exclude list at this point - I assume because it is in use by the editor. When the editor is closed, the folder is emptied and the luajit-32.exe file no longer exists. Reopening the editor creates a new folder in C:\Users[Username]\AppData\Local\Temp using a different 40-character hexadecimal for the name.
So the file path varies and at no point can the file be excluded from the McAfee real time scan.
Precisely. This is the exact reason I have not been able to use Defold. I mean Defold is amazing, its just that each time I run it I have to run into problems whitelisting the luajit-32 executable because apparently it keeps on extracting it to a different folder each time.
Excluding files from real-time scanning is impractical because it doesn’t function as intended. However, the method described below works effectively.
Here’s a temporary solution: Open McAfee, navigate to real-time scanning, and temporarily disable real-time scanning for, let’s say, 15 minutes, which is the shortest option. It will automatically resume afterward, but you can also manually turn it back on. After doing so, go to the quarantined items and restore the luajit-32.exe file. Now you can use Defold until this method is no longer effective. You can easily repeat this workaround; it takes just two minutes. For me, this method works even after updating Defold and rebooting my PC.
We will address this issue for the next release. We will see if we can sign the LuaJIT exe with our code signing certificate, and possibly also look into how and where we unpack the files.
Thx, I have experiment a little and in order to make working the 1.6.0 version I had to replace the luajit-32.exe with a copy of luajit-64.exe in the .jar file, although is not the cleanest option this worked to me.
Can you please right-click the luajit-32.exe and select Properties on the file. There should be a tab Digital Signatures showing “Stiftelsen Defold Foundation”. Like this: