Note that if you having issues where your project compiles stop very early in the build process, then ensure your antivirus client has not already quarantined any of the GameMaker runtime files - if it has, you will need to release them from the quarantine and mark them as safe/trusted.
Open the below section of your antivirus settings and find any files belonging to GameMaker. Send them off to your provider for analysis, but then also use the settings panel to remove them from your quarantine straight away.
Doing this should fix your GameMaker install straight away; however, as you have had this issue we would strongly recommend you now review the whole of our permissions guide, in case there are other issues on the system.
Before You Begin...
The word "quarantine" in this guide is a generic/traditional name for virus protection, but your chosen provider will often use its own branding for this action - Avast, for example, calls it the "Virus Chest", as you can see below.
Also, due to the nature of GameMaker having different runtime installs, the files legitimately are located in a different folder, and so you may well need to repeat this antivirus configuration each time you install a new version of GameMaker.
Note that your provider has a specific extra step where you also need to mark the issue as having been "Resolved" by you, otherwise it will continue to ignore your request to allow the files and instead keep showing you error messages to click during a run or silently failing your builds.
For example, from the Home menu you might see Igor being flagged after installing GameMaker, looking something like the dialog here:
You need to select the file you want to resolve, and then mark it as resolved:
Similarly, when building your projects inside GameMaker, the following desktop pop-up warning might also be triggered:
Selecting the ‘See details’ option will take you to the Real-time Scanning section, where you will need to select ‘Mark this threat as resolved’ and then click ‘Done’.
If the file has already been quarantined, you will need to go to My Protection> Quarantined Items and click on ‘Restore’ (please make sure that you have closed GameMaker before doing this):
Then go back to My Protection > Real-Time Scanning and Select ‘Add File’. Browse for the directory of the file which was quarantined and add it as an excluded file entry:
Note: You will need to perform these steps for every new runtime installed. As an alternative, you can just temporarily disable the Real-time scan while using GameMaker.