By creating a DebugComponent, the texts added to this component are not displayed in the viewport of the Blueprint editor.
This is because the UCanvas reference that is being passed is that of the Editor viewport.
This is because the UDebugDrawService is using the same Object in FEditorViewportClient and in FSCSEditorViewportClient because it is not overwriting the function used by UDebugDrawService::Draw.
Then the UCanvas reference is that of the editor instead of the BlueprintEditor.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-218087 in the post.
1 |
Component | UE - AI - Debugging |
---|---|
Affects Versions | 5.3.2 |
Target Fix | 5.6 |
Created | Jun 17, 2024 |
---|---|
Updated | Sep 4, 2024 |