@zyq1111 The problem might be with document itself. Could you please attach the document that causes the problem? Simply save data from the stream you pass to Aspose.Words.Document constructor into a file and attach it here. We will investigate the issue and provide you more information.
Or you can create a simple application that will help us to reproduce the problem.
@zyq1111 The attached document can be processed by Aspose.Words without any issues on my side. Could you please share your test project via dropbox or google drive? We will check the issue and provide you more information.
@zyq1111 I inspected the provided data and see that old version 18.7.0 of Aspose.Words is used. Could you please try using the latest 21.12 version of Aspose.Words and let me know if the problem still persists on your side.
I am not familiar with Unity development, could you please point me at the guide how to run your code on my side? Then I will check and provide you more information.
I have tested version 21.12, but the problem still exists。GitHub - dlkj01/WebGLTest It’s a Html,You need to deployment tomcat running and click Download
@zyq1111 Thank you for additional information. I have created a task WORDSNET-23271. I will configure the required environment to test Aspose.Words in WebGL and let you know my results.
@zyq1111 I have configured the environment and managed to reproduce the problem you mentioned. We will further investigate the issue and provide you more information.
@zyq1111 We have completed analyzing the issue and regret to share that currently you cannot use Aspose.Words in Unity WebGL projects. Unity, while building to WebGL platform, translates .Net IL-code to Wasm binary format (some bytecode for a low-level WebAssembly virtual machine).
Seems some .Net Framework features cannot be ported correctly.