Added black Loading Sphere

This commit is contained in:
Thorbjoern
2025-07-01 00:20:56 +02:00
parent 8ba92556d1
commit ca7d0c06f4
7 changed files with 41 additions and 14 deletions
@@ -136,14 +136,20 @@ namespace GhostSystem
{
Debug.LogWarning($"Batch insert failed: {response.ResponseMessage.StatusCode}, fallback to offline.");
await FallbackToOfflineAsync(batch);
OnUploadFinished?.Invoke();
}
if(response.ResponseMessage.IsSuccessStatusCode && sceneIdReady)
{
OnUploadFinished?.Invoke();
Debug.Log("Upload Finished");
}
}
catch (Exception ex)
{
Debug.LogWarning($"Insert failed, fallback to offline: {ex.Message}");
await FallbackToOfflineAsync(batch);
OnUploadFinished?.Invoke();
Debug.Log("Upload Finished");
}
}
@@ -190,6 +196,7 @@ namespace GhostSystem
public void Flush()
{
_flushTimer = 0f;
//FlushBatchAsync();
_ = FlushBatchAsync(); // Fire and forget
}
}