Don't do ecs_assert in release mode
@@ -1693,7 +1693,12 @@ void _ecs_assert(
uint32_t line);
#define ecs_abort(error_code, param) _ecs_abort(error_code, param, __FILE__, __LINE__); abort()
+
+#ifdef NDEBUG
+#define ecs_assert(condition, error_code, param)
+#else
#define ecs_assert(condition, error_code, param) _ecs_assert(condition, error_code, param, #condition, __FILE__, __LINE__); assert(condition)
+#endif
#define ECS_INVALID_HANDLE (1)
#define ECS_INVALID_PARAMETERS (2)
