clockworklabs/SpacetimeDB · error · InvalidOperationException
Unsupported type {type}
Error message
Unsupported type {type} What it means
Error "Unsupported type {type}" thrown in clockworklabs/SpacetimeDB.
Source
Thrown at crates/bindings-csharp/BSATN.Codegen/Type.cs:113
typeInfo,
Parse(member, named.TypeArguments[0], diag),
Parse(member, named.TypeArguments[1], diag)
),
"System.Collections.Generic.List<T>" => new ListUse(
type,
typeInfo,
Parse(member, named.TypeArguments[0], diag)
),
"System.Nullable<T>" => new NullableUse(type, typeInfo),
_ => named.IsValueType
? (
named.TypeKind == Microsoft.CodeAnalysis.TypeKind.Enum
? new EnumUse(type, typeInfo)
: new ValueUse(type, typeInfo)
)
: new ReferenceUse(type, typeInfo),
},
_ => throw new InvalidOperationException($"Unsupported type {type}"),
};
}
/// <summary>
/// Get the name of the BSATN struct for this type.
/// </summary>
public virtual string ToBSATNString()
{
return this.BSATNName;
}
public virtual string ToBSATNString2()
{
return this.BSATNName;
}
/// <summary>
/// Get a statement that declares outVar and assigns (inVar1 logically-equals inVar2) to it.View on GitHub (pinned to 524b4487d9)
When it happens
Trigger: Thrown at crates/bindings-csharp/BSATN.Codegen/Type.cs:113 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of clockworklabs/SpacetimeDB@524b4487d9 (2026-08-16).
Data as JSON: /api/errors/89224cae7bb93589.
Report an issue: GitHub.