Visible raycasts

The WorldContextObject has to be a UObject with a valid UWorld pointer. Try passing this instead of NULL:



	bool bHitResult = SphereTraceSingle(this, HitStart, HitEnd, 32.f, ECC_Visibility, false, ActorsToIgnore, EDrawDebugTraceInternal::ForDuration, TestHit, true);