Of course in that case Visual Studio will still find all project files it needs and be able to build the project.Ģ) This one is even better, especially for version control: Open your project in Unreal Engine 4 editor and go to "File > Refresh Visual Studio Project". But there are two easy workarounds for this.ġ) Just don't ignore the Intermediate directory. If the Intermediate directory is ignored, you won't be able to build the project because the Visual Studio solution won't find it. The Intermediate directory actually contains Visual Studio's project files, which are needed to build the project. gitignore now look like: DerivedDataCacheĪnd the level designer will put all of our assets in Content/Reall圜oolGame instead. I've only just committed this myself, and I've yet to test it with my level designer, so caveat emptor.Īlso, I'm referring to a project created using the first-person C++ template, which gets saved to: E:\Documents\Unreal Projects\Reall圜oolGame ( My Documents = E:\Documents on my machine) and not within the Unreal Engine source directory structure.Įdit: I also don't want to include all the default content, so I'm going to have a subdirectory within Content just for the game assets themselves with the same name as the project, and ignore all other subdirectories of Content. I'm pretty much only committing the following (where "Reall圜oolGame" is the name of your project).
Unreal engine 4 github windows#
I'm not going to ignore Binaries, if only because I'm working with a level designer who doesn't have VS and so will need the DLL files I build (I assume, I could be wrong).Īgain keep in mind I'm using Git for Windows that generates gitignore for you when you create a project, and it's pretty big. I'm using GitHub for Windows which generates a nice gitignore ignoring most extraneous files like log files or files specific to VS that don't need to be shared.įrom what I can gather from this page in the Unreal docs, you can probably ignore these directories: DerivedDataCache