Unreal Engine : Debugging a Shipping Packaged Build, with -waitforattach option (based on UE4 4.26)


You need the Engine built from source.
You can not do this with the Launcher version engine.

To make -waitforattach option available in shipping build

Ref: https://unrealcommunity.wiki/debugging-a-packaged-build-o9c2ta8f

You have to commentate these preprocesser directives like below:
(Please ignore very long comment of mine, in the end of line.)





Bonus: To make log available in shipping build

Ref: https://forums.unrealengine.com/t/how-to-log-in-shipping-build-win/349171/26


In addition, You have to add “bUseloggingInShipping = true;” into target cs file like this:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s