Construction Script that contains Draw Debug (Anything) breaks packager

Any attempt to render debug output into the viewport during object construction (such as attempting to give the level designer a preview of an aperture setting or other parameter not neatly representable using string output) will break the build on the map containing the offending component.

Expected result:

If draw debug does not work in builds the blueprint item should either indicate as such in its notes section; or the call should be skipped altogether during build output.

Please note, this does not effect playing in the editor; launching to new windows or the output log. No indication whatever is made to the end-user that there is a problem with the construction script.

This occurs whether the delta on the debug draw call is -1 or +1.


Thank you for your report. We were not able to investigate this on the engine version you reported, but there have been many version changes to UE4 since this question was first posted. With a new version of the Engine comes new fixes and it is possible that this issue has changed or may no longer occur. Due to timetable of when this issue was first posted, we are marking this post as resolved for tracking purposes.

If you are still experiencing the issue you reported in the current engine version, then please respond to this message with additional information and we will investigate as soon as possible. If you are experiencing a similar, but different issue at this time, please submit a new report for it.

Thank you.