Skip to content

WASM module (attached) that works in browsers throws an error from dotnet-webassembly #62

@CharlesOliner

Description

@CharlesOliner

Error from dotnet-webassembly:
ModuleLoadException: At offset 525: Unrecognized section type 12. WebAssembly.Runtime.Compile.FromBinary (WebAssembly.Reader reader, WebAssembly.Runtime.CompilerConfiguration configuration, System.Type instanceContainer, System.Type exportContainer) (at /_/WebAssembly/Runtime/Compile.cs:505) WebAssembly.Runtime.Compile.FromBinary[TExports] (System.IO.Stream input, WebAssembly.Runtime.CompilerConfiguration configuration) (at /_/WebAssembly/Runtime/Compile.cs:105) WebAssembly.Runtime.Compile.FromBinary[TExports] (System.IO.Stream input) (at /_/WebAssembly/Runtime/Compile.cs:83)
non-working in dotnet-webassembly.zip

Note that I'm running this from inside Unity
dotnet-webassembly version 1.2.1
WASM module generated with tinygo

Thanks in advance for any help

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions