# Debug disabling print string

**URL:** <https://forums.unrealengine.com/t/debug-disabling-print-string/384855>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** debug, unreal-engine, print-string, bug-report, question, Blueprint\
**Created:** [February 14, 2017, 1:21am UTC](https://forums.unrealengine.com/t/debug-disabling-print-string/384855 "2017-02-14T01:21:01Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruffhaus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ruffhaus/32/1194663_2.png) [@Ruffhaus](https://forums.unrealengine.com/u/Ruffhaus)\
**Post date:** [February 14, 2017, 1:21am UTC](https://forums.unrealengine.com/t/debug-disabling-print-string/384855/1 "2017-02-14T01:21:01Z")

</div>

When enabling debug via the apostrophe key in a PIE session, print string is disabled and when you close debug print string works again.

However if you press Escape to close the PIE session with the debug information on screen then it does not re-enable print string until you reselect Development build configuration and restart the editor.

Steps to reproduce in a new project: (works 9/10 times)

1. Add Print String to Tick on the character Blueprint
2. While PIE is active press Apostrophe to enter debug mode
3. Press Escape to exit PIE session
4. No more Print String until editor restart

I have seen other forum posts regarding this topic but no working solution was offered or steps to reproduce. (I have included links for convenience)

> **[Print String not working](https://forums.unrealengine.com/questions/527037/print-string-not-working.html)**
>
> For some reason, the print string nodes are no longer printing to the screen. If I press \` twice I can see the prints by opening the console in the PIE, but the UI for that covers the entire game and its annoying to do it every time. This happened...

> **[Print String (on screen) not working for me, in editor.](https://forums.unrealengine.com/showthread.php?53367-Print-String-%28on-screen%29-not-working-for-me-in-editor)**
>
> I have a construction script which is supposed to print a string to the screen if certain conditions are met. I have both the “Print to Screen” and the “Print to Log” booleans checked in the PrintString node, and I have verified that the...

> **[Blueprint "Print String" not outputting to screen](https://forums.unrealengine.com/questions/19120/blueprint-print-not-outputting-to-screen.html)**
>
> I don’t know what I did, it’s just not showing up on the screen. But it’s showing on the output log. It was working a few minutes ago, I didn’t change the HUD class or anything… I’m completely puzzled.

EDIT: I forgot to mention it does still print to the log but not to the screen.

---

<div class="post-metadata">

**Author:** ![TJ\_V](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tj_v/32/1008648_2.png) [@TJ\_V](https://forums.unrealengine.com/u/TJ_V)\
**Post date:** [February 14, 2017, 5:45pm UTC](https://forums.unrealengine.com/t/debug-disabling-print-string/384855/2 "2017-02-14T17:45:04Z")

</div>

Hi Bizmark,

I believe what your are seeing was fixed in the 4.15 preview builds. I answered a similar post [here](https://answers.unrealengine.com/questions/550966/414x-bug-print-string-randomly-stops-working.html).

Try reproducing the issue in 4.15 Preview 4. If it reproduces there, please let me know and we can continue investigating.

Cheers,

TJ

---

<div class="post-metadata">

**Author:** ![Ruffhaus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ruffhaus/32/1194663_2.png) [@Ruffhaus](https://forums.unrealengine.com/u/Ruffhaus)\
**Post date:** [February 14, 2017, 10:37pm UTC](https://forums.unrealengine.com/t/debug-disabling-print-string/384855/3 "2017-02-14T22:37:11Z")

</div>

Afraid this was a no go. Following the above steps I was still able to reproduce the bug in 4.15 Preview 4

---

<div class="post-metadata">

**Author:** ![TJ\_V](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tj_v/32/1008648_2.png) [@TJ\_V](https://forums.unrealengine.com/u/TJ_V)\
**Post date:** [February 15, 2017, 6:24pm UTC](https://forums.unrealengine.com/t/debug-disabling-print-string/384855/4 "2017-02-15T18:24:25Z")

</div>

Thanks for trying that. It also reproduces in the official 4.15 release and out internal builds. I’ve logged it as [JIRA UE-41988](https://issues.unrealengine.com/issue/UE-41988) and our developers will be investigating further. Follow that link to monitor the status of the bug report.

Cheers,

TJ

---

<div class="post-metadata">

**Author:** ![Ruffhaus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ruffhaus/32/1194663_2.png) [@Ruffhaus](https://forums.unrealengine.com/u/Ruffhaus)\
**Post date:** [March 22, 2017, 11:12pm UTC](https://forums.unrealengine.com/t/debug-disabling-print-string/384855/5 "2017-03-22T23:12:05Z")

</div>

The bug is still behaving as described, however, if you follow the steps provided to have debug messages stop displaying on screen, then reactivating debug mode and turning on debug messaging with ctrl-tab and exiting PIE they will work as normal.

It would seem to be the case that exiting of a PIE session with the debugger on just doesn’t reset the messaging variable.

---

<div class="post-metadata">

**Author:** ![TJ\_V](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tj_v/32/1008648_2.png) [@TJ\_V](https://forums.unrealengine.com/u/TJ_V)\
**Post date:** [March 28, 2017, 2:19pm UTC](https://forums.unrealengine.com/t/debug-disabling-print-string/384855/6 "2017-03-28T14:19:18Z")

</div>

Hi Bizmark,

Thanks for the additional info. The JIRA is still active and in queue to be investigated. Make sure to keep an eye on the public version for any status change.

---

<div class="post-metadata">

**Author:** ![schmigel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@schmigel](https://forums.unrealengine.com/u/schmigel)\
**Post date:** [July 3, 2017, 5:30pm UTC](https://forums.unrealengine.com/t/debug-disabling-print-string/384855/7 "2017-07-03T17:30:07Z")

</div>

Thanks for showing the issue. Its happening to me in 4.15. Didnt know what to do.  
But reseting to default and restarting the editor fixed the problem.

Now I bind the console to ´ key (right from the P)  
Before was ’ key (just left from the 1)

ABNT2 , portuguese keyboard.

---

<div class="post-metadata">

**Author:** ![Alexanderigg73](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alexanderigg73/32/88708_2.png) [@Alexanderigg73](https://forums.unrealengine.com/u/Alexanderigg73)\
**Post date:** [August 13, 2023, 3:19am UTC](https://forums.unrealengine.com/t/debug-disabling-print-string/384855/8 "2023-08-13T03:19:26Z")

</div>

I am having this issue on Version: 5.2.1-26001984+++UE5+Release-5.2  
Platform: Windows 11 (23H2) [10.0.22631.2191] (x86\_64)

Resetting the editor fixes the issue.  
I can’t be the only person with this bug, and after 6 years of the fix? surely?

---

<div class="post-metadata">

**Author:** ![tipson4490](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tipson4490](https://forums.unrealengine.com/u/tipson4490)\
**Post date:** [November 19, 2023, 9:43pm UTC](https://forums.unrealengine.com/t/debug-disabling-print-string/384855/9 "2023-11-19T21:43:24Z")

</div>

I have it on 5.1

---

<div class="post-metadata">

**Author:** ![Ruffhaus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ruffhaus/32/1194663_2.png) [@Ruffhaus](https://forums.unrealengine.com/u/Ruffhaus)\
**Post date:** [March 3, 2024, 2:15am UTC](https://forums.unrealengine.com/t/debug-disabling-print-string/384855/10 "2024-03-03T02:15:02Z")

</div>

Can confirm this is also happening again in 5.3.2 after it was previously fixed. Also the workaround that I posted for the original bug no longer appears to be working. I have submitted another bug report.

---

<div class="post-metadata">

**Author:** ![VytiokasLtu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VytiokasLtu](https://forums.unrealengine.com/u/VytiokasLtu)\
**Post date:** [June 14, 2024, 10:17am UTC](https://forums.unrealengine.com/t/debug-disabling-print-string/384855/11 "2024-06-14T10:17:23Z")

</div>

This bug seems to be happening in 5.3.2 also. After AI debbuging print doesn’t work anymore. However, the same solution seems to work (restarting the editor)
