Unreal Project Could Not Be Compiled, Try Re-Building From Source Manually

Today I am going to show the basic steps of how to build a project from source. The reason to make this video is I get many questions n how to build the shooter project. As it contains some C++ classes, when you try to open the project, if you don't have the pre-built binaries of those C++ classes, or if they are built with a different engine version, you will have to re-build them.
► 👇 𝐒𝐮𝐩𝐩𝐨𝐫𝐭 𝐓𝐡𝐞 𝐂𝐡𝐚𝐧𝐧𝐞𝐥 // 𝐁𝐞𝐜𝐨𝐦𝐞 𝐀 𝐏𝐚𝐭𝐫𝐨𝐧!
/ codelikeme
►Patrons will have access to project files of all the stuff I do in the channel and other extra benefits
Join this channel to get access to perks:
/ @codelikeme
Like my facebook page for more content : / gamedevelopersclub
Follow me on twitter : / codelikeme2
Follow me on reddit : / codelikeme
#CodeLikeMe #unrealengine #ue4 #indiegamedev

Пікірлер: 153

  • @TheIronDragonBrigade
    @TheIronDragonBrigade Жыл бұрын

    AHHH THANK YOU SO MUCH!!! You helped me fix my project which I haven't opened for quite some time, so I had no idea why it was broken and just selecting "rebuild" without deleting those folders is why I couldn't fix it. Thank you!!

  • @territorygameofficial
    @territorygameofficial Жыл бұрын

    Thanks buddy, helped me finish upgrading to 5.1!

  • @gurila11
    @gurila119 ай бұрын

    I was having problems, when I started the BP child classes directly from the editor, it didn't recognize the parent C++ class. 2 days ago I had to reference everything from the beginning to each opening of the project. Your video saved me, thank you! Post on the Unreal forum, a lot of people there are having this problem without getting help.

  • @CodeLikeMe

    @CodeLikeMe

    9 ай бұрын

    Happy to help. Feel free to share the video in unreal forum or anywhere you like. That would help me greatly

  • @vadstart
    @vadstart9 ай бұрын

    You saved me with this, thanks a lot! Project launches normally now.

  • @CodeLikeMe

    @CodeLikeMe

    9 ай бұрын

    You are welcome!

  • @ZerofeverOfficial
    @ZerofeverOfficial Жыл бұрын

    you saved my project bro, i love you

  • @CodeLikeMe

    @CodeLikeMe

    Жыл бұрын

    Glad I could help. Love you back

  • @David_Fernandez
    @David_Fernandez10 ай бұрын

    :( Visual Studio says "The command: ... Exited with code 6"

  • @RwanLink
    @RwanLink Жыл бұрын

    When I click on generate project files with Visual Studio I have this error messages ' This project does not have any source code. You need to add C++ source file to the project from Editor before you can generate project files' Any ideas?

  • @CommanderColson

    @CommanderColson

    Жыл бұрын

    I'm running into this as well

  • @DayzeXzxR

    @DayzeXzxR

    Жыл бұрын

    me to

  • @Need2pee

    @Need2pee

    Жыл бұрын

    Easy fix would be create a brand new project then copy all the folders from your corrupted project onto the new one and let it replace all folders, boom it's fixed!

  • @MaxStudioCG2023

    @MaxStudioCG2023

    Жыл бұрын

    @@Need2pee not working ,...i did that and i get same error

  • @user-yw9ti4es7v

    @user-yw9ti4es7v

    Жыл бұрын

    @@MaxStudioCG2023 Just make any C++ class in Unreal Engine

  • @grimlord4765
    @grimlord47652 ай бұрын

    holly moly, thanks a lot. Tryed to find this on redit and UE documents and didnt find this kind of solution. Thanks for your videos they're really helpfull.

  • @CodeLikeMe

    @CodeLikeMe

    2 ай бұрын

    Glad it helped!

  • @Mrafael52
    @Mrafael52 Жыл бұрын

    Thanks a lot mate!!

  • @AJGameDev
    @AJGameDev8 ай бұрын

    You are glorious. Thank you so much for this.

  • @CodeLikeMe

    @CodeLikeMe

    8 ай бұрын

    You're very welcome!

  • @jeyburns.t9209
    @jeyburns.t92098 ай бұрын

    Thanks men! Like always the best!

  • @CodeLikeMe

    @CodeLikeMe

    8 ай бұрын

    Thanks

  • @DragetaLP
    @DragetaLP Жыл бұрын

    Thank you so much for showing the setup guide for Visual Studio by Epic Games. I forgot to add the UE installer option to my Visual Studio and that forced the error message this video is about.

  • @TheSilpperyTrickery
    @TheSilpperyTrickery2 ай бұрын

    Thank you man works for me! I wish you good luck in the future!

  • @CodeLikeMe

    @CodeLikeMe

    2 ай бұрын

    Glad I could help

  • @leonkre4w
    @leonkre4w2 ай бұрын

    Thank you man! I was struggling with it. You solved my problem!

  • @CodeLikeMe

    @CodeLikeMe

    2 ай бұрын

    great

  • @sesyagamez
    @sesyagamezАй бұрын

    thank you ! helped a lot

  • @atypicalcrow
    @atypicalcrow5 ай бұрын

    It really worked, thank you very much for sharing this tip

  • @CodeLikeMe

    @CodeLikeMe

    5 ай бұрын

    Great to hear!

  • @bangalash
    @bangalash9 ай бұрын

    Worked for me. Lots of thanks!

  • @CodeLikeMe

    @CodeLikeMe

    9 ай бұрын

    You're welcome!

  • @Pascha284
    @Pascha2849 ай бұрын

    Thank you for this guide! In my case the error was caused by the megascan plugin.

  • @CodeLikeMe

    @CodeLikeMe

    9 ай бұрын

    Glad it helped!

  • @iansmith3301
    @iansmith33015 ай бұрын

    It's also a good test to make sure you can create a new UE5 C++ project, if that fails, fix what is preventing that from working and retry.

  • @wolfenstine6195
    @wolfenstine6195 Жыл бұрын

    THANK YOU

  • @prodbykingnes
    @prodbykingnes5 ай бұрын

    You saved my project, thank you very much

  • @CodeLikeMe

    @CodeLikeMe

    5 ай бұрын

    Welcome

  • @boisbois2947
    @boisbois29479 ай бұрын

    Hi, I'm using Unreal Engine 5.2 and when I try to generate VS project files I get the error "The batch file does not appear to be located in the Engine/Build/BatchFiles directory. This script must be run from within that directory.". I also get the same error when I try to create a new C++ project. Do you know how to fix it?

  • @CodeLikeMe

    @CodeLikeMe

    9 ай бұрын

    perhaps try re-installing the engine. Or run verify in from launcher for the engine. may be that file is either corrupted or deleted by antivirus.

  • @user-ym6gt8zz4v
    @user-ym6gt8zz4v7 ай бұрын

    It worked 😊 thank u

  • @CodeLikeMe

    @CodeLikeMe

    7 ай бұрын

    Welcome

  • @LazerGODxD
    @LazerGODxDАй бұрын

    Hello, How do i fix this issue on a macbook? currently i'm working on 5.1.1 and i've shifted my project from Windows to Mac. Xcode compiler is compiling the project, also i'm using the latest MacOS(Sonoma) and latest version of Xcode

  • @Frostu_
    @Frostu_ Жыл бұрын

    Thank you! You saved me :D

  • @CodeLikeMe

    @CodeLikeMe

    Жыл бұрын

    Glad I could help!

  • @DangerPilz
    @DangerPilz Жыл бұрын

    Thank you so much you are a Hero

  • @CodeLikeMe

    @CodeLikeMe

    Жыл бұрын

    :D

  • @StanDrago
    @StanDragoАй бұрын

    THANK YOU BRO

  • @CodeLikeMe

    @CodeLikeMe

    28 күн бұрын

    No problem

  • @vocalsync135
    @vocalsync13525 күн бұрын

    You are awesome! Thank you!

  • @CodeLikeMe

    @CodeLikeMe

    25 күн бұрын

    welcome!

  • @suncaye
    @suncaye4 ай бұрын

    thank you so much for this solution, dont know what i wouldve done without you haha

  • @CodeLikeMe

    @CodeLikeMe

    4 ай бұрын

    :D

  • @davidsullivan1254
    @davidsullivan1254 Жыл бұрын

    This did it!

  • @gonzalolopez9768
    @gonzalolopez9768 Жыл бұрын

    Problem fixed. Nice video ;)

  • @CodeLikeMe

    @CodeLikeMe

    Жыл бұрын

    Good to hear!

  • @Seventro7
    @Seventro7 Жыл бұрын

    Thanks bro!

  • @CodeLikeMe

    @CodeLikeMe

    Жыл бұрын

    No problem!

  • @DJenriqez
    @DJenriqez Жыл бұрын

    Thanks :)

  • @prateekraikar2420
    @prateekraikar24205 ай бұрын

    LIFE SAVER BRO

  • @CodeLikeMe

    @CodeLikeMe

    5 ай бұрын

    happy to help

  • @sara-uh8xy
    @sara-uh8xy10 ай бұрын

    Fatal Error: Engine\Engine\Source\Runtime\Core\Private\Modules\ModuleManager.cpp] [Line: 1167] Unable to read module manifest from '../../../Engine/Binaries/Win64/UnrealEditor.modules'. Module manifests are generated at build time, and must be present to locate modules at runtime. how to correct it?

  • @Lerizrn
    @Lerizrn25 күн бұрын

    If I were rich he would make you a statue in your honor, you are a hero without a cape, your just make my day homie, I hope I can continue learning with you and one day I can reward you in a proper way

  • @CodeLikeMe

    @CodeLikeMe

    25 күн бұрын

    Thanks for the comment. That made my day

  • @isitsafe535
    @isitsafe53510 ай бұрын

    how to do this on the mac?

  • @koko-nl5tp
    @koko-nl5tp Жыл бұрын

    I worked many times before but now It does not work anymore. I cant build it anymore. Then, I went inside .h and .cpp. They don't understand unreal. I think I got to build it successfully first. What should I do now?

  • @said_ess661
    @said_ess6616 ай бұрын

    Thanks you help me debug rapidly

  • @Athasin
    @Athasin Жыл бұрын

    I wish I could give you 1,000 likes because this helped me when nothing else could

  • @peacepeace9462
    @peacepeace94623 ай бұрын

    you save my life

  • @CodeLikeMe

    @CodeLikeMe

    3 ай бұрын

    great

  • @hareinferno
    @hareinferno6 ай бұрын

    Thank you!!!!

  • @CodeLikeMe

    @CodeLikeMe

    6 ай бұрын

    You're welcome!

  • @sammypolaroid7225
    @sammypolaroid7225 Жыл бұрын

    I have an Invalid x64 - Thie selected platform/config is not valid for this target?

  • @danielmokobia106
    @danielmokobia106 Жыл бұрын

    Ya this did not work for me is there any other way to do this?

  • @ozgunalemdag
    @ozgunalemdag Жыл бұрын

    YESSSSS! I LOVE YOU BROO! VUHHUUUUUUUUU!

  • @CodeLikeMe

    @CodeLikeMe

    Жыл бұрын

    guess your problem is solved. :D

  • @SuperMyckie
    @SuperMyckie Жыл бұрын

    i've tried for a month now without success.. cant get houdini engine installed on my UE 5... tried everything online, no success

  • @StanfordRodrigues
    @StanfordRodrigues2 ай бұрын

    thank you

  • @CodeLikeMe

    @CodeLikeMe

    2 ай бұрын

    You're welcome

  • @valeravalik6251
    @valeravalik62519 ай бұрын

    Big thanx

  • @CodeLikeMe

    @CodeLikeMe

    9 ай бұрын

    thank you so much!

  • @subzero635
    @subzero63510 ай бұрын

    My gosh... thank you so much! show more options helped me!

  • @CodeLikeMe

    @CodeLikeMe

    10 ай бұрын

    You're welcome!!

  • @calebswann6893
    @calebswann68932 ай бұрын

    what if it still fails when you right click and say it failed to generate project files??

  • @CodeLikeMe

    @CodeLikeMe

    2 ай бұрын

    Have you installed visual studio?

  • @WhyNMan
    @WhyNMan2 ай бұрын

    I Hecking love you!

  • @CodeLikeMe

    @CodeLikeMe

    Ай бұрын

    Happy to help

  • @user-jb4ib8kl8v
    @user-jb4ib8kl8v Жыл бұрын

    Duuuuuuuuuuude You just saved my sorry a*se

  • @KratonWolf
    @KratonWolf Жыл бұрын

    I get error messages and am not sure how to resolve them. Wondering if you'd be willing to help?

  • @CodeLikeMe

    @CodeLikeMe

    Жыл бұрын

    perhaps, you can post the error here. If that is something I am, or someone else is familiar, you might get an answer

  • @moonbather4724
    @moonbather4724 Жыл бұрын

    lol I know this is a 7 month old video, but dang gotta appreciate Elden Ring + artbook

  • @CodeLikeMe

    @CodeLikeMe

    Жыл бұрын

    Yeah, couldn't finish it though

  • @anas-elhabil258
    @anas-elhabil258 Жыл бұрын

    Can you make wall climb like in spiderman2

  • @CodeLikeMe

    @CodeLikeMe

    Жыл бұрын

    sure, If I can get a proper animation set

  • @ruellerz
    @ruellerz9 ай бұрын

    I could open my project in General but not Source 5.2.1? Rebuild did the trick. Compiling shaders....:)

  • @huhubagoly2000
    @huhubagoly200012 күн бұрын

    And in C++ if you have a non-English letter in the destination folder, it won't compile either.

  • @CodeLikeMe

    @CodeLikeMe

    11 күн бұрын

    Thanks for the tip

  • @chris-xi7uo
    @chris-xi7uo Жыл бұрын

    you say if you dont have an issue it will succeed what if you have a problem how do you fix the issues

  • @CodeLikeMe

    @CodeLikeMe

    Жыл бұрын

    Refer to the error messages and fix them. Those are specific to what's written in code. No general fixes

  • @akhilldhilipkumarkalaiyara1601
    @akhilldhilipkumarkalaiyara16013 ай бұрын

    for me it gave me this error when I made my first project

  • @patrik6088
    @patrik608810 ай бұрын

    thanks was afraid my project is corrupted

  • @shamabdullah7249
    @shamabdullah724910 ай бұрын

    hi i tried all u showed. doesnt work it comes with really complicated message. can u help me out?thanksss

  • @CodeLikeMe

    @CodeLikeMe

    10 ай бұрын

    What's the message?

  • @unique8721
    @unique8721 Жыл бұрын

    I tried these and still get the same errors saying it can't find project lol

  • @Sharlito
    @Sharlito7 ай бұрын

    Thanks a lot! Now my project does not start and nothing works! The same success to you! May everything break for you too!

  • @CodeLikeMe

    @CodeLikeMe

    7 ай бұрын

    Thanks

  • @pleasedontsub2732
    @pleasedontsub27322 ай бұрын

    "generate visual studios project files" is not an option

  • @CodeLikeMe

    @CodeLikeMe

    2 ай бұрын

    If you are in Windows 11, you may have to use "show more options"

  • @pleasedontsub2732

    @pleasedontsub2732

    2 ай бұрын

    @@CodeLikeMe i'm on a mac and don't see it under more show more options

  • @user-nz1vg2gu8c
    @user-nz1vg2gu8c7 ай бұрын

    this project does not have any source code

  • @CodeLikeMe

    @CodeLikeMe

    7 ай бұрын

    So, do you have any plugins in the project?

  • @fmjavedgaming2198
    @fmjavedgaming2198 Жыл бұрын

    hi bro i have a different problem

  • @CodeLikeMe

    @CodeLikeMe

    Жыл бұрын

    What happened?

  • @fmjavedgaming2198

    @fmjavedgaming2198

    Жыл бұрын

    @@CodeLikeMe sorry for disturbing you it works i made a mistake by myself i added a megascane plugin in unreal engine 5 version although it has already in engine.. so i deleted the megascane folder and it works fine

  • @fmjavedgaming2198

    @fmjavedgaming2198

    Жыл бұрын

    @@CodeLikeMe thanku so much bro

  • @CodeLikeMe

    @CodeLikeMe

    Жыл бұрын

    @@fmjavedgaming2198 no problem

  • @fmjavedgaming2198
    @fmjavedgaming2198 Жыл бұрын

    please help me

  • @laurino.
    @laurino.4 ай бұрын

    If you can't build manually. Right click the uproject, properties, open with Unreal engine (instead of Unreal editor) worked for me

  • @CodeLikeMe

    @CodeLikeMe

    4 ай бұрын

    I'm not clear. what do you mena by engine, not editor

  • @laurino.

    @laurino.

    4 ай бұрын

    When you choose with what to open the .uproject you can choose between those two, I don't know the difference, just that there was an option that you had in the video (generate visual studio files or something like that) that I didn't have but I had them when I did that@@CodeLikeMe

  • @jasonchangedanimation1015

    @jasonchangedanimation1015

    3 ай бұрын

    Where did you find Unreal Engine? I can only find the unreal editor when looking for it

  • @PhatNguyen-cu2bx
    @PhatNguyen-cu2bx Жыл бұрын

    I wonder why you animated time or exported time. Next, why don't you use Swat model in mixamo to upload but use skeletal mesh Swat In your video TPS! Ah or Skeletal Mesh! 🧐? Or are both ways the same?

  • @furkanserdar8725
    @furkanserdar87253 ай бұрын

    same shit, doesnt work.

  • @tx7shoorxxmw948
    @tx7shoorxxmw948 Жыл бұрын

    My whole hard work project has been deleted thanks to u

  • @CodeLikeMe

    @CodeLikeMe

    Жыл бұрын

    What happened?

  • @MaxStudioCG2023

    @MaxStudioCG2023

    Жыл бұрын

    you should know that when you do something to any of the projects you should have a backup copy before you do anything lol

  • @Reapervaloratch
    @Reapervaloratch8 күн бұрын

    Let's be honest, this tutorial is like torture to watch!! You're too slow and talk about unnecessary things. 7min video could be 3min maximum , and in the end it didn't solve my problem, what a waste of time to hear you just talk about useless things!

  • @rubaduba8263
    @rubaduba8263 Жыл бұрын

    fix ur voice its too hard to understand you mr salad fingers

  • @grimmkin3741

    @grimmkin3741

    Жыл бұрын

    who raised you

  • @rubaduba8263

    @rubaduba8263

    Жыл бұрын

    @@grimmkin3741 have u seen the flash animations salad fingers? u cant tell me he dose not sound like salad fingers lol

  • @grimmkin3741

    @grimmkin3741

    Жыл бұрын

    @@rubaduba8263 i guess but no need to be so harsh

  • @user-td9hg5pe6z

    @user-td9hg5pe6z

    Жыл бұрын

    hey,i'm china man,say something to me

  • @alexjr977

    @alexjr977

    11 ай бұрын

    @@user-td9hg5pe6z hey china man !

  • @damienbarthe2373
    @damienbarthe2373 Жыл бұрын

    Hello! Thanks for your videos!!! But I've a little problem. When I use visual studio for to do same thing like you(for to use on UE 4.27), I've an Error : MSB3073 Command ""C:\Program Files\Epic Games\UE_4.27\Engine\Build\BatchFiles\Build.bat" ShootLikeMeEditor Win64 Development -Project="C:\Users\conta\Desktop\ShootLikeMe\ShootLikeMe.uproject" -WaitMutex -FromMsBuild" stopped with code 6. What do you think? I searched on web but... ^^ Thank you Damien From France

  • @adamodimattia

    @adamodimattia

    Жыл бұрын

    The engine is probably under a different path than previously set inside the project

  • @grimmkin3741

    @grimmkin3741

    Жыл бұрын

    @@adamodimattia so how do you fix that

  • @armeddreams9141

    @armeddreams9141

    Жыл бұрын

    Alright, several fixes for this Error, for anyone encountering this in the future. These are not steps but all individual solutions that may or may not work. 1. If any build error you see says ...\....UE_5.1\ etc, if you see a ... as the file name for a folder in the error, that means your file path or folder/project names is too long. Move your installation or project folder closer to the C drive or whatever drive you have. 2. If you have your projects on OneDrive, move it closer to your root drive. 3. Disable Live Coding inside of unreal engine by going into the settings. Before you do this, open up VS and use CTRL+ALT+F11 and see if live coding works or not. Otherwise try disabling. 4. Do not have unreal engine open when trying to build. 5. If you get the stopped with code 6 error in VS, at the bottom left, double click on output to see all the steps the compiler did and look at any errors that popped up. In my case, my SDK .NET was not fully updated.

  • @user-oo7kc1pu2l

    @user-oo7kc1pu2l

    11 ай бұрын

    @@armeddreams9141 You are a hero, thank you!

  • @omphya6229
    @omphya62299 ай бұрын

  • @CodeLikeMe

    @CodeLikeMe

    9 ай бұрын

    Thank you.

  • @zqz.66
    @zqz.663 ай бұрын

    BRO SAVED MEEEEEEEEEE

  • @CodeLikeMe

    @CodeLikeMe

    3 ай бұрын

    My preasure!