Skip to content

Fix Unity WebGL IEnumerator import - #5792

Merged
bfops merged 3 commits into
masterfrom
bot/fix-unity-webgl-ienumerator
Aug 25, 2026
Merged

Fix Unity WebGL IEnumerator import#5792
bfops merged 3 commits into
masterfrom
bot/fix-unity-webgl-ienumerator

Conversation

@clockwork-labs-bot

Copy link
Copy Markdown
Contributor

Description of Changes

Fixes #5759.

Restores using System.Collections; in sdks/csharp/src/SpacetimeDBClient.cs so the Unity WebGL-only IEnumerator ParseMessages() coroutine resolves to the non-generic System.Collections.IEnumerator type.

API and ABI breaking changes

None.

Expected complexity level and risk

  1. This restores an import that existed before C# Clean Up #5500 and only affects type resolution for the existing WebGL coroutine declaration.

Testing

  • git diff --check
  • Verified using System.Collections; is present alongside internal IEnumerator ParseMessages()
  • Not run locally: dotnet is not installed in this runtime
  • Not run locally: Unity WebGL Player build

Comment thread sdks/csharp/src/SpacetimeDBClient.cs Outdated
@bfops
bfops added this pull request to the merge queue Aug 25, 2026
Merged via the queue into master with commit ea1f39f Aug 25, 2026
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[C#][Unity] WebGL player build fails CS0305: IEnumerator ParseMessages requires 1 type argument

3 participants