_some prog, needs aot for corlib
This commit is contained in:
@@ -176,16 +176,19 @@ void onEngineUnloading(MAssembly* assembly);
|
||||
|
||||
bool ScriptingService::Init()
|
||||
{
|
||||
LOG(Info, "ScriptingService::Init");
|
||||
PROFILE_MEM(Scripting);
|
||||
Stopwatch stopwatch;
|
||||
|
||||
// Initialize managed runtime
|
||||
LOG(Info, "ScriptingService::Init MCore::LoadEngine");
|
||||
if (MCore::LoadEngine())
|
||||
{
|
||||
LOG(Fatal, "C# runtime initialization failed.");
|
||||
return true;
|
||||
}
|
||||
|
||||
LOG(Info, "ScriptingService::Init MCore::CreateScriptingAssemblyLoadContext");
|
||||
MCore::CreateScriptingAssemblyLoadContext();
|
||||
|
||||
// Cache root domain
|
||||
|
||||
Reference in New Issue
Block a user