Fix crash in particles system when assets gets loading/unloaded while async jobs are active

This commit is contained in:
Wojtek Figat
2025-02-18 23:27:49 +01:00
parent 060bc0aaf8
commit 937d369856
5 changed files with 26 additions and 3 deletions

View File

@@ -120,7 +120,7 @@ void AnimationsSystem::Execute(TaskGraph* graph)
return;
Active = true;
// Ensure no animation assets it being reloading/modified before running async update
// Ensure no animation assets can be reloaded/modified during async update
Animations::SystemLocker.Begin(false);
// Setup data for async update