Handle case where engine.json missing or corrupt (#7049)
Signed-off-by: Alex Peterson <26804013+AMZN-alexpete@users.noreply.github.com>
This commit is contained in:
@@ -459,6 +459,9 @@ namespace O3DE::ProjectManager
|
||||
if (!pybind11::isinstance<pybind11::none>(enginePathResult))
|
||||
{
|
||||
engineInfo = EngineInfoFromPath(enginePathResult);
|
||||
|
||||
// it is possible an engine is registered in o3de_manifest.json but the engine.json is
|
||||
// missing or corrupt in which case we do not consider it a registered engine
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user