{"id":2365,"date":"2022-04-07T12:25:46","date_gmt":"2022-04-07T10:25:46","guid":{"rendered":"https:\/\/store.algosyntax.com\/?post_type=asx-lms-tutorial-cpt&#038;p=2365"},"modified":"2026-03-09T15:08:18","modified_gmt":"2026-03-09T13:08:18","slug":"unreal-engine-could-not-find-code-error-fix","status":"publish","type":"asx-lms-tutorial-cpt","link":"https:\/\/store.algosyntax.com\/tutorials\/unreal-engine\/unreal-engine-could-not-find-code-error-fix\/","title":{"rendered":"Unreal Engine Could Not Find Code Error Fix"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"2365\" class=\"elementor elementor-2365\" data-elementor-post-type=\"asx-lms-tutorial-cpt\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a63ab8d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a63ab8d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c8db2df\" data-id=\"c8db2df\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0ca7da7 elementor-widget elementor-widget-global elementor-global-3247 elementor-widget-theme-post-featured-image\" data-id=\"0ca7da7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"theme-post-featured-image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"742\" height=\"222\" src=\"https:\/\/store.algosyntax.com\/wp-content\/uploads\/tutorials\/unreal-engine\/unreal-editor\/unreal-engine-could-not-find-code-error.png\" class=\"attachment-full size-full wp-image-1053\" alt=\"Unreal Engine Could Not Find Code Error\" srcset=\"https:\/\/store.algosyntax.com\/wp-content\/uploads\/tutorials\/unreal-engine\/unreal-editor\/unreal-engine-could-not-find-code-error.png 742w, https:\/\/store.algosyntax.com\/wp-content\/uploads\/tutorials\/unreal-engine\/unreal-editor\/unreal-engine-could-not-find-code-error-300x90.png 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/>\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-14ef4bc elementor-widget elementor-widget-text-editor\" data-id=\"14ef4bc\" 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>Unreal Engine Could Not Find Code File when attempting to navigate to the c++ source file. To solve this error you DO NOT need to build from source or move your Unreal Engine Installation to another drive. So you get to keep it on your C:\/ SSD Drive for fast access.\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-113e69d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"113e69d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1bfb944\" data-id=\"1bfb944\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-14d68b8 elementor-widget elementor-widget-heading\" data-id=\"14d68b8\" 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\">Where It happens<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d80c496 elementor-widget elementor-widget-text-editor\" data-id=\"d80c496\" 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>In Blueprints \u201cGo To Definition\u201d Function<\/li><li>Inside Widget Reflector When Attempting to navigate to C++ Source (on click)<\/li><\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-30a95ea elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"30a95ea\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-69e87e1\" data-id=\"69e87e1\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e444b77 elementor-widget elementor-widget-heading\" data-id=\"e444b77\" 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\">Why Does It Happen<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b05f267 elementor-widget elementor-widget-text-editor\" data-id=\"b05f267\" 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>There are a few number of reasons why Unreal Engine could not find code file error would happen.<\/p><p>Among those is that the binary version of Unreal Engine seems to have been built on a\u00a0 <strong>D:\/ Drive<\/strong> or whatever <strong>Drive<\/strong> <strong>letter<\/strong> it references in the error message. Basically a <strong>hard link<\/strong> was set by the developers and thus unreal engine will always start searching for files by following the <strong>D:\/build\/&#8230;<\/strong>\u00a0path. If the path doesn&#8217;t exist, it assumes the files do not exist and throws that error. A mistake since the files actually DO Exist on your computer, just on a different drive or path.<\/p><p>\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-99bd61b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"99bd61b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4f16ef8\" data-id=\"4f16ef8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c18b5c2 elementor-widget elementor-widget-heading\" data-id=\"c18b5c2\" 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\">How To Fix It<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ca09088 elementor-widget elementor-widget-text-editor\" data-id=\"ca09088\" 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>Although we can not &#8220;fix it&#8221; , we can work around the problem and get unreal engine to play nice. Here is how:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-d138041 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d138041\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-748a662\" data-id=\"748a662\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8a7508a elementor-widget elementor-widget-heading\" data-id=\"8a7508a\" 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\">The D:\/ drive <\/h3>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-014d949 elementor-widget elementor-widget-text-editor\" data-id=\"014d949\" 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>First we need a D:\/ labelled drive. If you have 2 Hard Drives on your computer, you most likely already have an SSD or HDD assigned the drive letter D. You can skip this part.\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-65d1ff8 elementor-widget elementor-widget-image\" data-id=\"65d1ff8\" 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=\"677\" height=\"240\" src=\"https:\/\/store.algosyntax.com\/wp-content\/uploads\/tutorials\/unreal-engine\/unreal-editor\/unreal-engine-d-drive.png\" class=\"attachment-large size-large wp-image-2405\" alt=\"Unreal Engine D Drive for Code file\" srcset=\"https:\/\/store.algosyntax.com\/wp-content\/uploads\/tutorials\/unreal-engine\/unreal-editor\/unreal-engine-d-drive.png 677w, https:\/\/store.algosyntax.com\/wp-content\/uploads\/tutorials\/unreal-engine\/unreal-editor\/unreal-engine-d-drive-300x106.png 300w\" sizes=\"(max-width: 677px) 100vw, 677px\" \/>\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-64cebba elementor-widget elementor-widget-text-editor\" data-id=\"64cebba\" 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>But in case you don&#8217;t, here is what to do:<\/p><p>You have to partition your main \u201cC:\/\u201d Harddrive and assign the newly created Drive with the letter \u201cD\u201d. This doesn\u2019t have to be a large partition. Even 100MB is okay.<\/p><p>See the following for references on how to do so:\u00a0<\/p><p><span style=\"color: #99ccff;\"> <a style=\"color: #99ccff;\" href=\"https:\/\/www.youtube.com\/watch?v=1V2vnfsAe0M\" target=\"_blank\" rel=\"noopener\">https:\/\/www.youtube.com\/watch?v=1V2vnfsAe0M<\/a><\/span><\/p><p><span style=\"color: #99ccff;\"><a style=\"color: #99ccff;\" href=\"https:\/\/www.youtube.com\/results?search_query=How+to+Partition+C+Drive+in+Windows+10\" target=\"_blank\" rel=\"noopener\">https:\/\/www.youtube.com\/results?search_query=How+to+Partition+C+Drive+in+Windows+10<\/a><\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-610a5b2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"610a5b2\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-aa7eaa5\" data-id=\"aa7eaa5\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5e49df2 elementor-widget elementor-widget-heading\" data-id=\"5e49df2\" 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\">Redirecting Unreal Engine<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ca0ece7 elementor-widget elementor-widget-text-editor\" data-id=\"ca0ece7\" 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>To Redirect Unreal Engine from the D Drive and point it to the C Drive where our code files live, we need to use symbolic links. Symbolic links are a feature of windows.\u00a0<\/p><p>I recommend this software for creating symbolic links:<\/p><p><span style=\"color: #99ccff;\"><a style=\"color: #99ccff;\" href=\"https:\/\/schinagl.priv.at\/nt\/hardlinkshellext\/linkshellextension.html\" target=\"_blank\" rel=\"noopener\">https:\/\/schinagl.priv.at\/nt\/hardlinkshellext\/linkshellextension.html<\/a><\/span><\/p><p><span style=\"color: #99ccff;\"><a style=\"color: #99ccff;\" href=\"https:\/\/winaero.com\/manage-symbolic-links-hard-links-and-junctions-easily-with-link-shell-extension\/\" target=\"_blank\" rel=\"noopener\">https:\/\/winaero.com\/manage-symbolic-links-hard-links-and-junctions-easily-with-link-shell-extension\/<\/a><\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5d7f1e2 elementor-widget elementor-widget-text-editor\" data-id=\"5d7f1e2\" 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><strong>For Unreal Engine 4<\/strong>: This is the path you need to build:<\/p><p>D:\\build\\++ue4+Licensee\\sync\\{Engine Folder Symolic Link Here}<\/p><p>\u00a0<\/p><p><strong>For Unreal Engine 5: <\/strong><\/p><p>D:\\build\\++UE5\\Sync\\Engine\\{Engine Folder Symolic Link Here}<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-a2e6f57 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a2e6f57\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-b65cec5\" data-id=\"b65cec5\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1009ba0 elementor-widget elementor-widget-heading\" data-id=\"1009ba0\" 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\">Install Editor Symbols <\/h3>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b0f8cc2 elementor-widget elementor-widget-text-editor\" data-id=\"b0f8cc2\" 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>For the last and final part, we need to install &#8220;Editor Symbols For Debugging&#8221;<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-507f1b1 elementor-widget elementor-widget-image\" data-id=\"507f1b1\" 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=\"989\" height=\"597\" src=\"https:\/\/store.algosyntax.com\/wp-content\/uploads\/tutorials\/unreal-engine\/unreal-editor\/install-editor-symbols-unreal-engine-1.png\" class=\"attachment-large size-large wp-image-2414\" alt=\"\" srcset=\"https:\/\/store.algosyntax.com\/wp-content\/uploads\/tutorials\/unreal-engine\/unreal-editor\/install-editor-symbols-unreal-engine-1.png 989w, https:\/\/store.algosyntax.com\/wp-content\/uploads\/tutorials\/unreal-engine\/unreal-editor\/install-editor-symbols-unreal-engine-1-300x181.png 300w, https:\/\/store.algosyntax.com\/wp-content\/uploads\/tutorials\/unreal-engine\/unreal-editor\/install-editor-symbols-unreal-engine-1-768x464.png 768w\" sizes=\"(max-width: 989px) 100vw, 989px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-89cf9c9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"89cf9c9\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-85cf7e1\" data-id=\"85cf7e1\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-150a923 elementor-widget elementor-widget-heading\" data-id=\"150a923\" 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\">Conclusion<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2ce31f7 elementor-widget elementor-widget-text-editor\" data-id=\"2ce31f7\" 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>That\u2019s It. One important thing to note is that this works only if you have One Version for Unreal Engine installed. So you have to choose the main Version you use and apply this fix to it. Luckily, The paths for UE5 and UE4 versions don\u2019t conflict. So you can have one version of UE4 and one Version of UE5 at the same time using this method.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"featured_media":1053,"template":"","asx-lms-tutorial-categories":[52,45],"asx-lms-tutorial-tags":[46,51,54],"class_list":["post-2365","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-cpp","asx-lms-tutorial-tags-errors","asx-lms-tutorial-tags-visual-studio","entry","has-media"],"acf":[],"_links":{"self":[{"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/asx-lms-tutorial-cpt\/2365","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\/2365\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/media\/1053"}],"wp:attachment":[{"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/media?parent=2365"}],"wp:term":[{"taxonomy":"asx-lms-tutorial-categories","embeddable":true,"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/asx-lms-tutorial-categories?post=2365"},{"taxonomy":"asx-lms-tutorial-tags","embeddable":true,"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/asx-lms-tutorial-tags?post=2365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}