diff --git a/Source/Engine/Core/Math/Ray.cs b/Source/Engine/Core/Math/Ray.cs index 6dc1c8814..afd8242ff 100644 --- a/Source/Engine/Core/Math/Ray.cs +++ b/Source/Engine/Core/Math/Ray.cs @@ -78,7 +78,7 @@ namespace FlaxEngine { Position = position; Direction = direction; - Assert.IsTrue(Direction.IsNormalized, "The Ray Direction was not normalized"); + Assert.IsTrue(Direction.IsNormalized, $"The Ray Direction was not normalized\nRay Direction: {direction}, Ray Length: {direction.Length}"); } ///