Add more info to "Cannot load scene" message

I feel like a number of people have already asked what that means. Hopefully the little "see logs" hint helps them figure it out :)
This commit is contained in:
stefnotch
2021-11-24 17:24:15 +01:00
committed by GitHub
parent 4322563eed
commit ee56ae7dac

View File

@@ -887,7 +887,7 @@ bool Level::loadScene(rapidjson_flax::Value& data, int32 engineBuild, Scene** ou
LOG(Error, "Cannot load scene without game modules loaded.");
#if USE_EDITOR
if (!CommandLine::Options.Headless.IsTrue())
MessageBox::Show(TEXT("Cannot load scene without game script modules. Please fix the compilation issues."), TEXT("Missing game modules"), MessageBoxButtons::OK, MessageBoxIcon::Error);
MessageBox::Show(TEXT("Cannot load scene without game script modules. Please fix the compilation issues. See logs for more info."), TEXT("Missing game modules"), MessageBoxButtons::OK, MessageBoxIcon::Error);
#endif
return true;
}