diff --git a/BeefLibs/corlib/src/Runtime.bf b/BeefLibs/corlib/src/Runtime.bf index d116ca91..528a672c 100644 --- a/BeefLibs/corlib/src/Runtime.bf +++ b/BeefLibs/corlib/src/Runtime.bf @@ -147,7 +147,7 @@ namespace System static Type Object_GetType(Object obj) { #if BF_DBG_RUNTIME - return obj.[Friend]RawGetType(); + return obj.[Friend, DisableObjectAccessChecks]RawGetType(); #else return null; #endif