After 3 days of not opening my project I came across this problem on this old post. Right now I opened my project and I saw an error saying my weapon blueprint (the one I created last time I was working) isn’t derived from a proper class. And I can’t see my class in content browser aswell. Then I opened my vs22 and couldn’t compile because of this error. But unlike the solution on post there is only 2 build files in my Engine/Source file. What should I do?
Where are your projects files? Did you delete your project source folder by any chance?
Inside your project you should have a Config, External Dependencies and source folder
Inside the source folder should be your project files
- headers
- cpp files
- build file
- target files
- uproject file
- plugins (if you have any)
So far your project looks broken.
If you have a source folder with files then try right clicking your uproject and Generate Visual Studio project files.
But it looks to me like you might be missing some folders.
My project files aren’t broken I think, photo is engine file. My project source file is okay. I posted engine file because on other post there is a solution about engine files.
So what is the exact error that is stopping you from compiling?
Are you using vs and live coding at the same time?
Missing parent classes in bp usually come from launching the uproject fine instead of compiling via the ide.
I noticed that you’re using a non English language. Do your subfolders have any language specific names? Unreal tends to break in these cases.
07:11:05:921 | 8>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command …..\Build\BatchFiles\Build.bat -Target=UnrealEditor Win64 Development -Target=ShaderCompileWorker Win64 Development -Quiet -WaitMutex -FromMsBuild exited with code 6. |
---|---|
07:11:05:921 | 8>Done building project UE5.vcxproj – FAILED. |
I am having the same problem on the post I attached.
What does the output window show? It usually has more in depth information than just the pure error.
Compile errors are usually due to .Net versions, old versions of MSVC or corrupt windows SDK