# .pdb file in packaged game since 4.20

**URL:** <https://forums.unrealengine.com/t/pdb-file-in-packaged-game-since-4-20/430743>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, packaging-projects, question\
**Created:** [August 1, 2018, 4:44pm UTC](https://forums.unrealengine.com/t/pdb-file-in-packaged-game-since-4-20/430743 "2018-08-01T16:44:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dscottwilson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dscottwilson](https://forums.unrealengine.com/u/dscottwilson)\
**Post date:** [August 1, 2018, 4:44pm UTC](https://forums.unrealengine.com/t/pdb-file-in-packaged-game-since-4-20/430743/1 "2018-08-01T16:44:28Z")

</div>

In 4.19 and before, in the file “Engine\Binaries\Win64” of my packaged game, there would only be a .exe file (Blueprints only project) but since 4.20, there is an additional .pdb file included. Deleting the file still allows the game to work properly and drastically reduces the file size .

Is this file actually needed? If not, how do I remove it from the build?

---

<div class="post-metadata">

**Author:** ![BCETracks](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BCETracks](https://forums.unrealengine.com/u/BCETracks)\
**Post date:** [August 24, 2018, 1:05am UTC](https://forums.unrealengine.com/t/pdb-file-in-packaged-game-since-4-20/430743/2 "2018-08-24T01:05:59Z")

</div>

The pdb files suggest that it is forced into building /DEBUG somehow even when set to Shipping (release) mode. And I can confirm the files are there and causing size issues. My settings are set to not include debug data. Can we get some help on this?

(oh and yes you can search .pdb and delete them without the game being bricked, still needs to be fixed)

---

<div class="post-metadata">

**Author:** ![zincr0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zincr0](https://forums.unrealengine.com/u/zincr0)\
**Post date:** [October 6, 2018, 11:15pm UTC](https://forums.unrealengine.com/t/pdb-file-in-packaged-game-since-4-20/430743/3 "2018-10-06T23:15:38Z")

</div>

4.20.3, the bug is still there.

---

<div class="post-metadata">

**Author:** ![Steeve\_Kilhoffer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/steeve_kilhoffer/32/464715_2.png) [@Steeve\_Kilhoffer](https://forums.unrealengine.com/u/Steeve_Kilhoffer)\
**Post date:** [November 1, 2018, 8:40am UTC](https://forums.unrealengine.com/t/pdb-file-in-packaged-game-since-4-20/430743/4 "2018-11-01T08:40:32Z")

</div>

I don’t know if you did it before, but I just submitted a bug about this problem (that I just noticed as well) through [Unreal Engine Community](https://epicsupport.force.com/unrealengine/s/)

Don’t forget to submit the bug there in the future, otherwise I doubt it will be noticed.

---

<div class="post-metadata">

**Author:** ![Steeve\_Kilhoffer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/steeve_kilhoffer/32/464715_2.png) [@Steeve\_Kilhoffer](https://forums.unrealengine.com/u/Steeve_Kilhoffer)\
**Post date:** [November 1, 2018, 4:14pm UTC](https://forums.unrealengine.com/t/pdb-file-in-packaged-game-since-4-20/430743/5 "2018-11-01T16:14:21Z")

</div>

The bug was entered in the database: [Unreal Engine Issues and Bug Tracker (UE-66075)](https://issues.unrealengine.com/issue/UE-66075)

---

<div class="post-metadata">

**Author:** ![3D\_Masons](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3d_masons/32/484377_2.png) [@3D\_Masons](https://forums.unrealengine.com/u/3D_Masons)\
**Post date:** [March 6, 2019, 6:41pm UTC](https://forums.unrealengine.com/t/pdb-file-in-packaged-game-since-4-20/430743/6 "2019-03-06T18:41:26Z")

</div>

There are .pdb files also in Engine/Binaries/ThirdParty/PhysX3/Win64/VS2015 – I’m assuming they are not needed either? The game launches fine but I don’t have a lot going on to determine if everything PhysX related works.

---

<div class="post-metadata">

**Author:** ![dscottwilson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dscottwilson](https://forums.unrealengine.com/u/dscottwilson)\
**Post date:** [May 6, 2021, 10:24pm UTC](https://forums.unrealengine.com/t/pdb-file-in-packaged-game-since-4-20/430743/7 "2021-05-06T22:24:42Z")

</div>

Fixed in 4.21
