{"id":2627,"date":"2022-04-10T09:50:00","date_gmt":"2022-04-10T07:50:00","guid":{"rendered":"https:\/\/store.algosyntax.com\/?post_type=asx-lms-tutorial-cpt&#038;p=2627"},"modified":"2026-03-09T05:49:25","modified_gmt":"2026-03-09T03:49:25","slug":"ue5-how-to-speed-up-compiling-shaders","status":"publish","type":"asx-lms-tutorial-cpt","link":"https:\/\/store.algosyntax.com\/tutorials\/unreal-engine\/ue5-how-to-speed-up-compiling-shaders\/","title":{"rendered":"UE5 How To Speed Up &#8220;Compiling Shaders&#8221;"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"2627\" class=\"elementor elementor-2627\" data-elementor-post-type=\"asx-lms-tutorial-cpt\">\n\t\t\t\t<div class=\"elementor-element elementor-element-337d4ff e-con-full e-flex e-con e-parent\" data-id=\"337d4ff\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-07c7e28 elementor-widget elementor-widget-text-editor\" data-id=\"07c7e28\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>If your computer is taking too long compiling shaders, try these tweaks that assign more CPU power to compilation. Unreal Engine by default sets shader compilation priority to low.\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f1d74e9 elementor-widget elementor-widget-heading\" data-id=\"f1d74e9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Summarised Solution<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5152e02 elementor-widget elementor-widget-text-editor\" data-id=\"5152e02\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<ol><li><p>Add ShaderCompileWorker.exe to antivirus exclusions or temporarily disable real-time scanning.<\/p><\/li><li>Increase shadercompileworker.exe priority in task manager or engine config files<\/li><\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-25b2cbf elementor-widget elementor-widget-heading\" data-id=\"25b2cbf\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Full Solution Steps<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7a148fa elementor-widget elementor-widget-heading\" data-id=\"7a148fa\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Antivirus Exclusions<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8761e23 elementor-widget elementor-widget-text-editor\" data-id=\"8761e23\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>We need to exclude the process shadercompilerworker.exe from the antivirus real-time scanner. If you look at the task manager while compiling shaders in UE5, you may notice that your antivirus is using a lot of CPU power or actively scanning. This shows it&#8217;s interfering with the process and thus slowing it down. How to exclude processes depends on your antivirus program so this tutorial will focus on Windows Defender.<\/p><ol><li>Open windows defender<\/li><li>Click Virus &amp; Threat Protection<\/li><li>Under Virus &amp; Threat Protection Settings, Click &#8220;manage settings&#8221;<\/li><li>Scroll down to Exclusions and select &#8220;Add or remove exclusions&#8221;<\/li><li>On the next window select &#8220;Add an Exclusion&#8221; then choose &#8220;Process&#8221;<\/li><li>Under process name type &#8220;ShaderCompileWorker.exe&#8221;<\/li><li>You can also add another process for &#8220;UnrealEditor.exe&#8221;<\/li><\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1903c1c elementor-widget elementor-widget-image\" data-id=\"1903c1c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/store.algosyntax.com\/wp-content\/uploads\/tutorials\/unreal-engine\/unreal-editor\/add-unreal-shadercompileworker-to-antivirus-exclusions-1024x1024.png\" class=\"attachment-large size-large wp-image-2726\" alt=\"Add Unreal ShaderCompileWorker to antivirus exclusions\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e6afd95 elementor-widget elementor-widget-heading\" data-id=\"e6afd95\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Increase Process Priority<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ad7c7ea elementor-widget elementor-widget-text-editor\" data-id=\"ad7c7ea\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>A temporary solution is to do this in the task manager while the process is running. We prefer a permanent fix so follow these steps to increase shadercompileworker.exe priority for all future shader compilation.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7f80d20 elementor-widget elementor-widget-text-editor\" data-id=\"7f80d20\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<ol>\n \t<li>Navigate to the path C:\\Program Files\\Epic Games\\UE_5.0\\Engine\\Config and open BaseEngine.ini.<\/li>\n<\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b368bcc elementor-widget elementor-widget-image\" data-id=\"b368bcc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"815\" height=\"815\" src=\"https:\/\/store.algosyntax.com\/wp-content\/uploads\/tutorials\/unreal-engine\/unreal-editor\/unreal-engine-baseengineini-config-file.png\" class=\"attachment-large size-large wp-image-2731\" alt=\"unreal engine baseEngine.ini config file\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fb2b866 elementor-widget elementor-widget-text-editor\" data-id=\"fb2b866\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<ol start=\"2\"><li>\u00a0Search for <strong>WorkerProcessPriority<\/strong> and set its value to 0, which is normal. By default, it&#8217;s set to -1, which is below normal.<\/li><\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f73e357 elementor-widget elementor-widget-image\" data-id=\"f73e357\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"800\" height=\"422\" src=\"https:\/\/store.algosyntax.com\/wp-content\/uploads\/tutorials\/unreal-engine\/unreal-editor\/ue-set-worker-process-priority.jpg\" class=\"attachment-large size-large wp-image-6983\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-98089f2 elementor-widget elementor-widget-text-editor\" data-id=\"98089f2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>This should be enough to see a drastic change. All your future shader compilation tasks should be at least 5x faster than before.<br \/><br \/>If you want an even bigger boost and you have a lot of CPU cores, you can change the variable; <strong>PercentageUnusedShaderCompilingThreads<\/strong> , to a lower value. A lower number or percentage means unreal engine should use more\u00a0 CPU cores when compiling shaders.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"featured_media":6983,"template":"","asx-lms-tutorial-categories":[52,45],"asx-lms-tutorial-tags":[53],"class_list":["post-2627","asx-lms-tutorial-cpt","type-asx-lms-tutorial-cpt","status-publish","has-post-thumbnail","hentry","asx-lms-tutorial-categories-unreal-editor","asx-lms-tutorial-categories-unreal-engine","asx-lms-tutorial-tags-general","entry","has-media"],"acf":[],"_links":{"self":[{"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/asx-lms-tutorial-cpt\/2627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/asx-lms-tutorial-cpt"}],"about":[{"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/types\/asx-lms-tutorial-cpt"}],"version-history":[{"count":0,"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/asx-lms-tutorial-cpt\/2627\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/media\/6983"}],"wp:attachment":[{"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/media?parent=2627"}],"wp:term":[{"taxonomy":"asx-lms-tutorial-categories","embeddable":true,"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/asx-lms-tutorial-categories?post=2627"},{"taxonomy":"asx-lms-tutorial-tags","embeddable":true,"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/asx-lms-tutorial-tags?post=2627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}