Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Lots of .pdb and .dll files under Binaries/Win64


im pretty new to unreal and was setting up a new repo to work with an artist for the coming gamejam. One thing i noticed is: although the github gitignore template ignores the binaries folder, the artist is unable to open/recompile the project when i change a single line of code (adding classes, changing classes etc.).

Also: Everytime i make changes in code there are added new .dll and .pdb files as seen in the screenshot.

alt text

Is it correct to NOT ignore the binaries folder with its .dll and .pdb files in it? Isnt the project going to become very huge very fast as those .pdb files are around ~25mb big in size?

Product Version: UE 4.19
unreal-dlls.png (10.9 kB)
more ▼

asked May 10 '18 at 03:13 PM in C++ Programming

avatar image

6 3 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

You should have a way of sharing binary files with artists, but git is not appropriate for that, since the repository would be huge. Use another file sharing tools using the cloud (Dropbox, Drive...)

more ▼

answered May 10 '18 at 04:06 PM

avatar image

1.1k 22 17 97

avatar image Desoxi May 10 '18 at 04:30 PM

So it is normal that all those files with numbers are generated each time i make a change in code? That is pretty weird as they disappear when i remove the binary folder manually and recompile it. Why are they generated in the first place then and is there a way to turn that off?

avatar image SRombauts May 10 '18 at 05:01 PM

They are build with numbers when you compile while the Editor is running, for Hot-Reload, ie your changes in code are applied live to your game in the editor! To clean them you just have to close the editor, than recompile, et voilà !

avatar image Desoxi May 10 '18 at 06:11 PM

That's what I wanted to know, thank you very much!

avatar image Shadowriver May 11 '18 at 01:01 AM

DLL can't be deleted whole process using them is running that why UBT creates another copy and editor swaps the modules in memory. New PBD needs to be created in progress, note PDB is not needed for artist, this fine is only needed for code debugging.

avatar image Chkoupinator May 07 '19 at 04:17 AM

I strongly disagree with that, sharing Binary files is fine with git as long as you share only the necessary ones, the only time where git really fails is when it comes to uploading heavy files like textures, HDRIs or music.

I am currently using GitLab for source control (for myself only) with a peak upload speed of 64KB/s and I can say that it never took me more than a minute to push anything to source control (although I don't push textures, so these do have to be sent another way around but currently I only use starter content textures)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I know this question is old and I hope you got your answer already but for the record:

Everything ignored by the default .gitignore can be rebuilt one way or another, I've also already done some playing with source control myself and it usually is fine as long as you recompile but if something breaks for someone (i.e. launcher not opening at all as you said) they usually have to:

1 - Right click in the .uproject file and select "Generate Visual Studio project files"

2 - Open the visual studio .sln file and open it

3 - In Visual Studio: press Build -> Build Solution or Ctrl + F9

4 - Double click the .uproject file in order to open it.

I hope this helps someone in the future as this is the first result in Google when searching "binaries win64 pdb file ue4"

I was hoping I'd find an answer about whether it's safe to delete them or not, I am almost sure it is safe to delete them but I don't want to rebuild everything, here's a screenshot of my Binaries/Win64 folder: Binaries/Win64 Note that every UE4Editor-ProjectName-0000.pdb has a size between 27 and 28MB and that the main ProjectName.pdb file has a size of 116MB, the whole folder takes 3.45GB and I'm fairly sure (at 99.99%) that sharing this with your artist would be completely pointless (unless you want to share the debug info, but even then you should probably only send the most recent one or something)

more ▼

answered May 07 '19 at 04:18 AM

avatar image

132 1 5 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question