Autodesk Forge Viewer DWF 加载 - 处理 SVF 时出错

问题描述 投票:0回答:1

从昨天开始,在 Autodesk Forge Viewer 上加载 DWF 文件时,出现以下错误:

处理 SVF 时出错:{“url”:“http://localhost/ForgeOfflineSimple/dwf/AA5A000151.dwf”,“异常”:“TypeError:无法在“DedicatedWorkerGlobalScope”上执行“postMessage”:无法读取“来自“StructuredSerializeOptions”的“transfer”属性:该对象必须具有可调用的 @@iterator 属性。","stack":"TypeError: 无法在“DedicatedWorkerGlobalScope”上执行“postMessage”:无法从“StructuredSerializeOptions”读取“transfer”属性':该对象必须具有可调用的 @@iterator 属性。 在 DwfParserEmscripten.addImage (blob:http://localhost/dc821203-92f7-4e66-aeaf-4c1e01d3fb33:17:309048) 在 methodCaller_bool_$unsigned$long_unsigned$long_std$$wstring_std$$wstring$ (在 _i 处进行评估(blob:http://localhost/dc821203-92f7-4e66-aeaf-4c1e01d3fb33:17:217386),:8:26) 在嗨(斑点:http://localhost/dc821203-92f7-4e66-aeaf-4c1e01d3fb33:17:225857) 在 wasm://wasm/0286874a:wasm-function[33417]:0x892d89 在 wasm://wasm/0286874a:wasm-function[33414]:0x892bf8 在 wasm://wasm/0286874a:wasm-function[33407]:0x8929d3 在 wasm://wasm/0286874a:wasm-function[33405]:0x8928bf 在 wasm://wasm/0286874a:wasm-function[32499]:0x871817 在 wasm://wasm/0286874a:wasm-function[32498]:0x871565 在 wasm://wasm/0286874a:wasm-function[32995]:0x889122"}

观看者有什么变化吗? 我该如何解决这个问题?

更新: 我发现该问题仅出现在 google chrome 或 Edge 浏览器上。

autodesk-forge
1个回答
0
投票

Viewer SDK V7.93 已解决此问题,并将纹理加载带回到 Chrome 中。

© www.soinside.com 2019 - 2024. All rights reserved.