ShooterGame / StrategyGame can't generate Visual Studio projects (so they can't run after)
Greetings everyone and thank you for this awesome Engine. My friend got UE4 and we are both discovering it. His english is not good enough, that is why I am speaking of his behalf. Well, it seems we are encountering the same problem as here: https://answers.unrealengine.com/questions/18770/shootergame-strategygame-wont-open-in-an-editor-bu.html: we can not open ShooterGame and StrategyGame and we got the same message: 'ShooterGameLoadingScreen' could not be found. Please ensure that this module exists and that it is compiled." After running the RegisterShellCommands.bat as an admin, we got the "Generate Visual Studio Files." by right clicking on ShooterGame.uproject and StrategyGame.uproject and according to this: https://wiki.unrealengine.com/Generate_Visual_Studio_Project , we should get the sln file of the game and then start the steps that you mentionned. Unfortunately, the VS project wasn't created "Just above your Strategy Game project, you should see a new file for Visual Studio. Open it up to take a peek at all of the C++ code behind your game! " like how the tutorial indicates. So If we didn't get the sln file, then we can not continue the following steps to make the project run. Can you please help us? Thanks.
asked Mar 28 '14 at 09:53 PM in C++ Programming
I replied to you on the other answer (https://answers.unrealengine.com/questions/16760/how-to-compile-the-shooter-game-sample-manually.html), but to repeat:
I was having a similar problem, after I had built my own version of the editor I wanted to try working with ShooterGame and StrategyGame. Using 'Generate Solution' worked once, but it generated paths to the installed version, and subsequent uses weren't working.
The solution: Call the GenerateProjectFiles.bat manually. You could also try the method listed by badsensation, however this is what I used (call from cmd):
You will need to change build location to the location where your source built engine is. Also, this is assuming the location for your ShooterGame project is in the documents folder as listed. If not, change the project variable so that the format is: -project="path_to_project\ProjectName" If you do it right, there won't be an error. If you do it wrong, you might get an exception complaining about no source directory found.
Once you have your solution, you will need to change the build to "Development Editor", as the advice above suggests. This will allow you to build the appropriate missing files, which will appear in ShooterGame/Binaries/Win64 (if you are working with a Win64 build) as several UE4Editor-* files.
answered Mar 29 '14 at 02:00 PM
i had the same problem, and it was the enginelauncher program that caused it. you might have noticed that as soon as you click generate visual studio files, the blue colored engine launcher pops up.
i had the engine files etc, moved to another location. thus the enginelauncher tried to download it again, but could not do it, as i didnt have enough disk space. for some reason this whole debacle also stopped tgenerating the visual studio files.
try making enough room on the partition on which the enginelauncher wants to download the engine, and see if it enginelauncher.exe fires up without problems.
Follow this question
Once you sign in you will be able to subscribe for any updates here