Merge remote-tracking branch 'origin/master' into 1.9

This commit is contained in:
Wojtek Figat
2024-08-16 14:52:57 +02:00
47 changed files with 345 additions and 96 deletions

View File

@@ -662,13 +662,13 @@ bool FlaxStorage::LoadAssetChunk(FlaxChunk* chunk)
if (!failed)
{
stream->SetPosition(chunk->LocationInFile.Address);
if (!stream->HasError())
break;
}
if (!stream->HasError())
break;
}
}
if (stream->HasError())
if (!stream || stream->HasError())
{
failed = true;
UnlockChunks();