# Print String not working

**URL:** <https://forums.unrealengine.com/t/print-string-not-working/377050>\
**Category:** Pipeline & Plugins\
**Tags:** debug, unreal-engine, log, print-string, editor, question\
**Created:** [November 21, 2016, 10:43pm UTC](https://forums.unrealengine.com/t/print-string-not-working/377050 "2016-11-21T22:43:59Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Willard720](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Willard720](https://forums.unrealengine.com/u/Willard720)\
**Post date:** [November 21, 2016, 10:43pm UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/1 "2016-11-21T22:43:59Z")

</div>

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 after I was playing in the editor, and I did some weird order of keystrokes that had a bunch of stats and other logs open in the PIE that covered nearly all of the top left screen. I wasn’t sure what it was so, I pressed the same keys, more or less, and it went away, but after that, I can’t view the normal logs.

Is there some sort of a short cut I used to toggle the viewing of these logs, or something?

---

<div class="post-metadata">

**Author:** ![sloppyjava](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sloppyjava](https://forums.unrealengine.com/u/sloppyjava)\
**Post date:** [November 22, 2016, 6:22am UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/2 "2016-11-22T06:22:48Z")

</div>

The same thing happened to me after using AI gameplay debugger. disabling it in project settings got print strings working again for me, although now I can’t debug AI visually. seems like a bug to me.

---

<div class="post-metadata">

**Author:** ![sloppyjava](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sloppyjava](https://forums.unrealengine.com/u/sloppyjava)\
**Post date:** [November 22, 2016, 6:27am UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/3 "2016-11-22T06:27:42Z")

</div>

I’d like to add that (for the moment at least) after re-enabling the plugin, print strings are still working. even after toggling the AI debugger off and on again in PIE (with the apostrophe key).

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8806768e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8806768e](https://forums.unrealengine.com/u/anonymous_user_8806768e)\
**Post date:** [January 3, 2017, 3:42am UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/4 "2017-01-03T03:42:50Z")

</div>

Williard did you get it to work? I’m still having trouble

---

<div class="post-metadata">

**Author:** ![Los313](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/los313/32/465130_2.png) [@Los313](https://forums.unrealengine.com/u/Los313)\
**Post date:** [January 17, 2017, 1:20am UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/5 "2017-01-17T01:20:34Z")

</div>

I’m having the same problem. Turned AI gameplay debugger and print strings stopped printing, but when I turned Ai gameplay debugging off, my print srtings still won’t print.

---

<div class="post-metadata">

**Author:** ![Willard720](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Willard720](https://forums.unrealengine.com/u/Willard720)\
**Post date:** [January 17, 2017, 11:18am UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/6 "2017-01-17T11:18:41Z")

</div>

I’m sorry, I did eventually get it to work, but it was so long ago, I forgot. I’m not even sure which project it was on. I check around but they all had it working. I suppose the most brute force/last resort work around is to create a new project and reimport all the assets. Sorry guys 😕

---

<div class="post-metadata">

**Author:** ![shotty46290](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shotty46290](https://forums.unrealengine.com/u/shotty46290)\
**Post date:** [January 17, 2017, 11:41am UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/7 "2017-01-17T11:41:42Z")

</div>

it’s ok you probably hit the ’ button which opens the basic info data and turns off your print strings, but when its on there is a list of commands above it and you can have them on while basic data is open.

---

<div class="post-metadata">

**Author:** ![Willard720](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Willard720](https://forums.unrealengine.com/u/Willard720)\
**Post date:** [January 17, 2017, 9:23pm UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/8 "2017-01-17T21:23:54Z")

</div>

I’m pretty sure that wasn’t working, which is why I posted this question.

---

<div class="post-metadata">

**Author:** ![Dealman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dealman](https://forums.unrealengine.com/u/Dealman)\
**Post date:** [January 17, 2017, 10:31pm UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/9 "2017-01-17T22:31:35Z")

</div>

I can confirm that this is a bug in 4.14, however I can not seem to find any steps to reproduce it. But I can not have a single session longer than 30 minutes without Print String “breaking” in the entire project.

The only fix I know of is to restart the editor entirely. This is probably the most frustrating bug I’ve encountered in UE4 thus far ☹

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_312101ed](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_312101ed](https://forums.unrealengine.com/u/anonymous_user_312101ed)\
**Post date:** [February 20, 2017, 11:29am UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/10 "2017-02-20T11:29:40Z")

</div>

Go to “Editor Preferences…” and click “Reset to Defaults” button,  
then close the editor and restart it, and it’s ok.

![127016-qq截图20170220192345.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/7/6/076cb381877472db0f8b447b322ad0e992a1a80e.png)

![127017-qq截图20170220192419.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/c/c/6cc319ae9cd4f91c7100269cfc611251f6c26dff.png)

---

<div class="post-metadata">

**Author:** ![Willard720](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Willard720](https://forums.unrealengine.com/u/Willard720)\
**Post date:** [February 20, 2017, 11:43am UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/11 "2017-02-20T11:43:01Z")

</div>

Yup, this did the trick.

---

<div class="post-metadata">

**Author:** ![caleb.tenebrous](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@caleb.tenebrous](https://forums.unrealengine.com/u/caleb.tenebrous)\
**Post date:** [July 11, 2017, 10:39pm UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/12 "2017-07-11T22:39:28Z")

</div>

It’s still broken for me. I’ve combed the internet for 4 hours now looking for fixes but no matter what I try, I can’t get messages to appear on screen or in the output log.

---

<div class="post-metadata">

**Author:** ![Fredrum](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fredrum](https://forums.unrealengine.com/u/Fredrum)\
**Post date:** [August 20, 2017, 8:01am UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/13 "2017-08-20T08:01:24Z")

</div>

Hi did you figure out how to get the messages back?  
I’m having the same problem.

---

<div class="post-metadata">

**Author:** ![Dealman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dealman](https://forums.unrealengine.com/u/Dealman)\
**Post date:** [August 20, 2017, 3:56pm UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/14 "2017-08-20T15:56:19Z")

</div>

Last few times I was encountering this issue it was related to my level blueprint. I had to make a new one and it would work again for that level.

I’ve used PrintString quite a lot to debug my code, but as of late I barely use it at all it’s just far too buggy and seemingly no effort is being put into fixing them as of yet.

---

<div class="post-metadata">

**Author:** ![Fredrum](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fredrum](https://forums.unrealengine.com/u/Fredrum)\
**Post date:** [August 20, 2017, 6:57pm UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/15 "2017-08-20T18:57:48Z")

</div>

Ok thanks. For me it’s not related to the level as I can start a new map/level and the problem is still there.  
Its agonizing as it is my main tool of debugging, im doing a networked game and it means that many things I have to test running on two computers and that rules out the in-editor debug tools.  
I don’t understand why they don’t spend some time fixing it. I mean come on, ‘Print’ should just work.

---

<div class="post-metadata">

**Author:** ![Dealman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dealman](https://forums.unrealengine.com/u/Dealman)\
**Post date:** [August 20, 2017, 7:34pm UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/16 "2017-08-20T19:34:52Z")

</div>

Other than the levels the only thing that comes to mind was PrintString being bugged when you used the Gameplay Debugger. Whenever that happened I don’t think I was ever able to find a way to fix it other than to start a new project.

I agree it’s incredibly annoying. It’s easy to think a lot of stuff ‘should just work’ but sadly this isn’t the case a lot of the time.

Really all we can do is try and find a way to reproduce it, note it and submit a bug report. I too find it rather peculiar how this has been around since like 4.9 or so - personally I think it’s rather despicable how little attention it’s been getting but they might have other bigger priorities.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1c2bbdd0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1c2bbdd0](https://forums.unrealengine.com/u/anonymous_user_1c2bbdd0)\
**Post date:** [September 15, 2017, 11:57pm UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/17 "2017-09-15T23:57:14Z")

</div>

Just ran into this, and it also didn’t fix itself when I reset my editor preferences. I **was** able to cheat my way around it in visual studio.

In UnrealEngine.cpp, there’s a function:

```
void UEngine::Init(IEngineLoop* InEngineLoop)
{
	...

	if (GConfig)
	{
		bool bTemp = true;
		GConfig->GetBool(TEXT("/Script/Engine.Engine"), TEXT("bEnableOnScreenDebugMessages"), bTemp, GEngineIni);
		bEnableOnScreenDebugMessages = bTemp ? true : false;
		bEnableOnScreenDebugMessagesDisplay = bEnableOnScreenDebugMessages; // Force these to TRUE

		GConfig->GetBool(TEXT("DevOptions.Debug"), TEXT("ShowSelectedLightmap"), GShowDebugSelectedLightmap, GEngineIni);
	}
	...
}

```

If you force the values of _bEnableOnScreenDebugMessagesDisplay_ and _bEnableOnScreenDebugMessages_ to _TRUE_ while starting up the editor, it clears out the issue so you can launch normally.

Still not sure what breaks it, but wanted to share the workaround.

---

<div class="post-metadata">

**Author:** ![Fredrum](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fredrum](https://forums.unrealengine.com/u/Fredrum)\
**Post date:** [September 18, 2017, 3:38pm UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/18 "2017-09-18T15:38:44Z")

</div>

Very cool thanks a million for sharing !  
This is such a stupid and annoying problem and Iv’e had it for a loong time now.  
In my case I figure out that the print still worked with one particular Pawn but not with the others. So now I have a custom print function on that Pawn that I call instead. So I have to message pass to it for every Print. Silly but it seems to work mostly.  
But your fix is easier to work with so I will save this link and if things go too bad I know how I can move forward!  
Cheers,

---

<div class="post-metadata">

**Author:** ![WixZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WixZ](https://forums.unrealengine.com/u/WixZ)\
**Post date:** [September 19, 2017, 4:22pm UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/19 "2017-09-19T16:22:00Z")

</div>

For all those who are experiencing this issue, what fixed it for me was typing “EnableAllScreenMessages” in console while in-game or you can use an execute console command node somwhere on beginplay in an actor you use in your level.

---

<div class="post-metadata">

**Author:** ![Fredrum](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fredrum](https://forums.unrealengine.com/u/Fredrum)\
**Post date:** [September 19, 2017, 4:43pm UTC](https://forums.unrealengine.com/t/print-string-not-working/377050/20 "2017-09-19T16:43:01Z")

</div>

Tried that. Does not work unfortunately in my case.  
Also in my case it was working for one actor but not for others.

[Next page](https://forums.unrealengine.com/t/print-string-not-working/377050.md?page=2)
