diff --git a/src/mono/wasm/runtime/library_mono.js b/src/mono/wasm/runtime/library_mono.js index 6c5dbe5e0d0d45..c9426c7c3970a6 100644 --- a/src/mono/wasm/runtime/library_mono.js +++ b/src/mono/wasm/runtime/library_mono.js @@ -699,6 +699,11 @@ var MonoSupportLib = { _create_proxy_from_object_id: function (objectId, details) { if (objectId.startsWith ('dotnet:array:')) { + if (details.items === undefined) + { + const ret = details.map (p => p.value); + return ret; + } if (details.dimensionsDetails == undefined || details.dimensionsDetails.length == 1) { const ret = details.items.map (p => p.value);