Godot Version
4.5
According to this article (https://godotengine.org/article/platform-state-in-csharp-for-godot-4-2/#web), although C# can be compiled to WebAssembly, the current .NET runtime can only be built as a main module. This conflicts with Godot’s own requirement that its runtime also be the main module.
One possible solution I’m considering is: since Godot is open source, we could compile the C# code directly into Godot’s WebAssembly module when building for WASM, thereby avoiding the main-module conflict altogether.