Got Problem with OnHit C++ implementation

Guys… after putting this OnHit event to my code engine hangs up for several minutes after pressing play button…
What can be wrong?

Do you have any ensure statements firing? They can freeze the engine for a bit, and is a sign of a bigger problem.

Privacy & Terms