Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Project Open Error #411

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,12 @@ void ERS_CLASS_InputOutputSubsystem::IndexUsedAssetIDs() {

// Load Asset Metadata
Logger_->Log("Attempting To Load Asset Metadata Index", 3);
std::unique_ptr<ERS_STRUCT_IOData> Data =
std::make_unique<ERS_STRUCT_IOData>();
ReadAsset(0, Data.get());
std::unique_ptr<ERS_STRUCT_IOData> Data = std::make_unique<ERS_STRUCT_IOData>();
bool ReadStatus = ReadAsset(0, Data.get());
if (!ReadStatus) {
Logger_->Log("Failed To Load Project Index, Is The Path/Database Valid?", 10);
exit(EXIT_FAILURE);
}
AssetIndexIOManager_->LoadAssetIndex(Data.get());
Logger_->Log("Finished Loading Asset Metadata Index", 4);

Expand Down