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:
@@ -887,7 +887,7 @@ bool Level::loadScene(rapidjson_flax::Value& data, int32 engineBuild, Scene** ou
|
|||||||
LOG(Error, "Cannot load scene without game modules loaded.");
|
LOG(Error, "Cannot load scene without game modules loaded.");
|
||||||
#if USE_EDITOR
|
#if USE_EDITOR
|
||||||
if (!CommandLine::Options.Headless.IsTrue())
|
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
|
#endif
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user