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
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!!
Thanks buddy, helped me finish upgrading to 5.1!
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
9 ай бұрын
Happy to help. Feel free to share the video in unreal forum or anywhere you like. That would help me greatly
You saved me with this, thanks a lot! Project launches normally now.
@CodeLikeMe
9 ай бұрын
You are welcome!
you saved my project bro, i love you
@CodeLikeMe
Жыл бұрын
Glad I could help. Love you back
:( Visual Studio says "The command: ... Exited with code 6"
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
Жыл бұрын
I'm running into this as well
@DayzeXzxR
Жыл бұрын
me to
@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
Жыл бұрын
@@Need2pee not working ,...i did that and i get same error
@user-yw9ti4es7v
Жыл бұрын
@@MaxStudioCG2023 Just make any C++ class in Unreal Engine
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
2 ай бұрын
Glad it helped!
Thanks a lot mate!!
You are glorious. Thank you so much for this.
@CodeLikeMe
8 ай бұрын
You're very welcome!
Thanks men! Like always the best!
@CodeLikeMe
8 ай бұрын
Thanks
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.
Thank you man works for me! I wish you good luck in the future!
@CodeLikeMe
2 ай бұрын
Glad I could help
Thank you man! I was struggling with it. You solved my problem!
@CodeLikeMe
2 ай бұрын
great
thank you ! helped a lot
It really worked, thank you very much for sharing this tip
@CodeLikeMe
5 ай бұрын
Great to hear!
Worked for me. Lots of thanks!
@CodeLikeMe
9 ай бұрын
You're welcome!
Thank you for this guide! In my case the error was caused by the megascan plugin.
@CodeLikeMe
9 ай бұрын
Glad it helped!
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.
THANK YOU
You saved my project, thank you very much
@CodeLikeMe
5 ай бұрын
Welcome
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
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.
It worked 😊 thank u
@CodeLikeMe
7 ай бұрын
Welcome
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
Thank you! You saved me :D
@CodeLikeMe
Жыл бұрын
Glad I could help!
Thank you so much you are a Hero
@CodeLikeMe
Жыл бұрын
:D
THANK YOU BRO
@CodeLikeMe
28 күн бұрын
No problem
You are awesome! Thank you!
@CodeLikeMe
25 күн бұрын
welcome!
thank you so much for this solution, dont know what i wouldve done without you haha
@CodeLikeMe
4 ай бұрын
:D
This did it!
Problem fixed. Nice video ;)
@CodeLikeMe
Жыл бұрын
Good to hear!
Thanks bro!
@CodeLikeMe
Жыл бұрын
No problem!
Thanks :)
LIFE SAVER BRO
@CodeLikeMe
5 ай бұрын
happy to help
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?
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
25 күн бұрын
Thanks for the comment. That made my day
how to do this on the mac?
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?
Thanks you help me debug rapidly
I wish I could give you 1,000 likes because this helped me when nothing else could
you save my life
@CodeLikeMe
3 ай бұрын
great
Thank you!!!!
@CodeLikeMe
6 ай бұрын
You're welcome!
I have an Invalid x64 - Thie selected platform/config is not valid for this target?
Ya this did not work for me is there any other way to do this?
YESSSSS! I LOVE YOU BROO! VUHHUUUUUUUUU!
@CodeLikeMe
Жыл бұрын
guess your problem is solved. :D
i've tried for a month now without success.. cant get houdini engine installed on my UE 5... tried everything online, no success
thank you
@CodeLikeMe
2 ай бұрын
You're welcome
Big thanx
@CodeLikeMe
9 ай бұрын
thank you so much!
My gosh... thank you so much! show more options helped me!
@CodeLikeMe
10 ай бұрын
You're welcome!!
what if it still fails when you right click and say it failed to generate project files??
@CodeLikeMe
2 ай бұрын
Have you installed visual studio?
I Hecking love you!
@CodeLikeMe
Ай бұрын
Happy to help
Duuuuuuuuuuude You just saved my sorry a*se
I get error messages and am not sure how to resolve them. Wondering if you'd be willing to help?
@CodeLikeMe
Жыл бұрын
perhaps, you can post the error here. If that is something I am, or someone else is familiar, you might get an answer
lol I know this is a 7 month old video, but dang gotta appreciate Elden Ring + artbook
@CodeLikeMe
Жыл бұрын
Yeah, couldn't finish it though
Can you make wall climb like in spiderman2
@CodeLikeMe
Жыл бұрын
sure, If I can get a proper animation set
I could open my project in General but not Source 5.2.1? Rebuild did the trick. Compiling shaders....:)
And in C++ if you have a non-English letter in the destination folder, it won't compile either.
@CodeLikeMe
11 күн бұрын
Thanks for the tip
you say if you dont have an issue it will succeed what if you have a problem how do you fix the issues
@CodeLikeMe
Жыл бұрын
Refer to the error messages and fix them. Those are specific to what's written in code. No general fixes
for me it gave me this error when I made my first project
thanks was afraid my project is corrupted
hi i tried all u showed. doesnt work it comes with really complicated message. can u help me out?thanksss
@CodeLikeMe
10 ай бұрын
What's the message?
I tried these and still get the same errors saying it can't find project lol
Thanks a lot! Now my project does not start and nothing works! The same success to you! May everything break for you too!
@CodeLikeMe
7 ай бұрын
Thanks
"generate visual studios project files" is not an option
@CodeLikeMe
2 ай бұрын
If you are in Windows 11, you may have to use "show more options"
@pleasedontsub2732
2 ай бұрын
@@CodeLikeMe i'm on a mac and don't see it under more show more options
this project does not have any source code
@CodeLikeMe
7 ай бұрын
So, do you have any plugins in the project?
hi bro i have a different problem
@CodeLikeMe
Жыл бұрын
What happened?
@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
Жыл бұрын
@@CodeLikeMe thanku so much bro
@CodeLikeMe
Жыл бұрын
@@fmjavedgaming2198 no problem
please help me
If you can't build manually. Right click the uproject, properties, open with Unreal engine (instead of Unreal editor) worked for me
@CodeLikeMe
4 ай бұрын
I'm not clear. what do you mena by engine, not editor
@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
3 ай бұрын
Where did you find Unreal Engine? I can only find the unreal editor when looking for it
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?
same shit, doesnt work.
My whole hard work project has been deleted thanks to u
@CodeLikeMe
Жыл бұрын
What happened?
@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
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!
fix ur voice its too hard to understand you mr salad fingers
@grimmkin3741
Жыл бұрын
who raised you
@rubaduba8263
Жыл бұрын
@@grimmkin3741 have u seen the flash animations salad fingers? u cant tell me he dose not sound like salad fingers lol
@grimmkin3741
Жыл бұрын
@@rubaduba8263 i guess but no need to be so harsh
@user-td9hg5pe6z
Жыл бұрын
hey,i'm china man,say something to me
@alexjr977
11 ай бұрын
@@user-td9hg5pe6z hey china man !
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
Жыл бұрын
The engine is probably under a different path than previously set inside the project
@grimmkin3741
Жыл бұрын
@@adamodimattia so how do you fix that
@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
11 ай бұрын
@@armeddreams9141 You are a hero, thank you!
@CodeLikeMe
9 ай бұрын
Thank you.
BRO SAVED MEEEEEEEEEE
@CodeLikeMe
3 ай бұрын
My preasure!