I do not see the results of DrawDebugPoint() and DrawDebugBox() calls

I have playing with every parameter of these functions and have tried almost every combination of parameters value.
Also I have wrapped calls of these functions inside NetMulticast method to prevent drawing only on server.
But I still do not see any point or box on level.

My calls are:


DrawDebugPoint(InWorld, FVector(0), 20.f, FColor::Red, false, 999999, SDPG_MAX);
DrawDebugBox(InWorld, FVector(0), FVector(100, 200, 300), FQuat(FRotator(0.f)), FColor::Cyan, true, -1.f, SDPG_Foreground);

It looks like some Editor option, like, say, “ShowDebugDraws” is disabled, but I can’t find something like it.

Please advise me, where should I try to find the solution of this problem?

The problem with these is that they usually get filtered out by Temporal AA. I recommend turning off anti-aliasing when using these regardless!

You also appear to be drawing this at World Position 0,0,0. Do you realize that? Where are looking for your them?

Often if you set the debug big enough, you can use the F2 button to go into Wireframe during play (with the editor) and look around to see if it’s stuck inside objects)

The problem is solved!
I was trying to see these box & point on client (server was running as another application).
But as I’ve called these DrawDebug… functions from GameMode, which exists only on server, calling them via NetMulticast method did not help ('cos did nothing, I suppose).
So, results of DrawDebug… functions are visible only if run game without dedicated server (and this option must be switched off in “Play” dropdown menu).

P.S.: Thank you, guys, for your advices.

Ah yeah, that’s because Dedicated Server knows nothing about rendering at all (since it never needs to, and can focus purely on code execution) - so they’re stripped from Dedicated Servers.

hello, how to disable didicated server?

I can not see it as well in my FAnimNode_SkeletonControlBase