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