Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@matniedoba
Created September 8, 2021 06:36
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save matniedoba/07f913e4c69c6bfe8bf5d3e2901d27a8 to your computer and use it in GitHub Desktop.
Save matniedoba/07f913e4c69c6bfe8bf5d3e2901d27a8 to your computer and use it in GitHub Desktop.
Gitignore for Unreal Engine 5
# Visual Studio 2015 user specific files
.vs/
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers
*.gch
*.pch
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
# Fortran module files
*.mod
# Compiled Static libraries
*.lai
*.la
*.a
*.lib
# Executables
*.exe
*.out
*.app
*.ipa
# These project files can be generated by the engine
*.xcodeproj
*.xcworkspace
*.sln
*.suo
*.opensdf
*.sdf
*.VC.db
*.VC.opendb
# Precompiled Assets
SourceArt/**/*.png
SourceArt/**/*.tga
# Builds
Build/*
# Whitelist PakBlacklist-<BuildConfiguration>.txt files
!Build/*/
Build/*/**
!Build/*/PakBlacklist*.txt
# Don't ignore icon files in Build
!Build/**/*.ico
# Configuration files generated by the Editor
Saved/*
# Compiled source files for the engine to use
Intermediate/*
# Cache files for the editor to use
DerivedDataCache/*
@Chreas
Copy link

Chreas commented Sep 21, 2022

The .gitignore file provided by Github (at least I think it was provided by Github) also lists Binary Files. Is there a reason you didn't ignore them?

Binary Files

Binaries/*
Plugins//Binaries/

@matniedoba
Copy link
Author

We tested it with the Unreal Engine 5 project Valley of the ancient. The default gitignore file did not work, because Unreal needed some modules to start the project. So when a collaborator was pulling that project, he could not start it. Removing Binaries and Plugins solved that problem for us. It can be that it's because of the "Plugins" folder only, but I would need to investigate further.

@Chreas
Copy link

Chreas commented Sep 22, 2022

Thanks for the insight!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment