diff --git a/Svelto.ECS/EnginesRoot.Engines.cs b/Svelto.ECS/EnginesRoot.Engines.cs index e8a2bc3..4aa6936 100644 --- a/Svelto.ECS/EnginesRoot.Engines.cs +++ b/Svelto.ECS/EnginesRoot.Engines.cs @@ -67,7 +67,7 @@ namespace Svelto.ECS catch (Exception e) { #if !DEBUG - throw new ECSException("Code crashed while adding engine ".FastConcat(engine.GetType()), e); + throw new ECSException("Code crashed while adding engine ".FastConcat(engine.GetType().ToString()), e); #else Console.LogException("Code crashed while adding engine ".FastConcat(engine.GetType().ToString()), e); #endif