Are you making any other changes to the third person character blueprint? The On Target Perception Updated node cannot be added to the default blueprint. Are you adding any additional AI perception components or anything in code? Please elaborate on your reproduction steps to help me reproduce the issue on my end.
Click On Target Perception Update to add event to graph
Wire event into Print String node
Based on these steps I am not seeing my print message in the viewport during PIE or in the output log, however I would expect this behavior at this point because the event isn’t being triggered (even after adding another instance of the third person character to the viewport). Is there more happening in your AI setup? If possible, can you provide a sample project showing the behavior?
The project provided in the link does not contain any assets/map files when opened in the editor. If your print message began to appear again after adding hearing sense, it is likely that the OnPerceptionUpdated event wasn’t being triggered previously.
I meant to say after adding hearing sense it was working for some instances and then again it stopped working
Updated my github link
The map is in the content ->Level folder->ThirdPersonExampleMap.umap
and AI asset is in The-Final-Rockstar/Content/AI/NPC/PatrolGuard2.uasset
Link to YouTuube Video Video
As you can see the logs are getting printed but no information on screen
Sorry for the late reply, I redownloaded the project from the link to retest the issue. It seems the files in the project are getting corrupted at some point. All files show as 1KB in the project folder and don’t appear in the Content Browser in the project. I had a coworker download the project as well and he saw the same behavior. Please try zipping the project and attaching it here. You can click the dropdown arrow below the comment button to make the post private.
I noticed that Printing issue is kind of random.Like for first time if I open editor and play then string is printed,but if you keep your editor open for long time and then it stops printing.Like I pressed sleep button in my computer with my editor opened and when I came back then there was no string message.I also tried restarting the editor but still the same issue.Oh By the way I cant see option to make it private.I only see edit,delete and convert this into answer
After further investigation, it appears this is a known issue. The root of the issue is exiting PIE while the Gameplay Debugger is active. You can find more information about this issue here: Unreal Engine Issues and Bug Tracker (UE-41988) . This has been fixed for the latest engine version (4.16). If you’re unable to upgrade your project, you can also delete your Saved and Intermediate folders. When the project restarts, your print string messages will appear again.
Same here when using 4.191 Using Onscreen debug message. it runs through, as ive checked it with a a null return, and a Output UELOG, but no message comes up on screen.
Help
I have tried, it works:
1 - Close your project.
2 - In .\Saved\Config\WindowsEditor\Input.ini file, delete these lines have “DisableAllScreenMessages”, save file.
3 - Open project again.
Hope this work for you.