diff --git a/Source/Engine/Core/Math/Ray.cs b/Source/Engine/Core/Math/Ray.cs index afd8242ff..59ef6eb58 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\nRay Direction: {direction}, Ray Length: {direction.Length}"); + Assert.IsTrue(Direction.IsNormalized, $"The Ray Direction was not normalized (direction: {direction}, length: {direction.Length})"); } ///