# UE-54346 - possible fix information

**URL:** <https://forums.unrealengine.com/t/ue-54346-possible-fix-information/462150>\
**Category:** UI\
**Tags:** hud, unreal-engine, question\
**Created:** [March 5, 2020, 10:49pm UTC](https://forums.unrealengine.com/t/ue-54346-possible-fix-information/462150 "2020-03-05T22:49:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e76f6365](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e76f6365](https://forums.unrealengine.com/u/anonymous_user_e76f6365)\
**Post date:** [March 5, 2020, 10:49pm UTC](https://forums.unrealengine.com/t/ue-54346-possible-fix-information/462150/1 "2020-03-05T22:49:02Z")

</div>

Looks like the bug is in HUD.cpp

```
			// don't draw text behind the camera
			if ( ((WorldTextLoc - CameraLoc) | CameraRot.Vector()) > 0.f )
			{
				FVector ScreenLoc = Canvas->Project(WorldTextLoc);
				TextItem.SetColor( DebugTextList[Idx].TextColor );
				TextItem.Text = FText::FromString( DebugTextList[Idx].DebugText );
				TextItem.Scale = FVector2D( DebugTextList[Idx].FontScale, DebugTextList[Idx].FontScale);
				DebugCanvas->DrawItem( TextItem, FVector2D( FMath::CeilToFloat(ScreenLoc.X), FMath::CeilToFloat(ScreenLoc.Y) ) );
			}

The Project() call uses Canvas, but the DrawItem uses DebugCanvas. Presumably they should both use DebugCanvas.

```

I would have tagged but “The following topics are not present in the system, and you must have at least 200 reputation to create new ones: UE-54346”
