[Notice of Holidays]
Please note that our staff will not be available from 2024/Dec/28 - 2025/Jan/5 JST.
The Live2D Creators Forum will remain open during the holidays.
Submissions that require a response will be answered after we reopen for business.
Please note that it will take longer than usual to respond to your request.
Building for WebGL with Unity 2021.2.6f1 (or Unity 2020.3.24f1)
Hello :-)
I'm trying to build our project with Unity 2021.2.6f1 for WebGL and I'm getting this error:
Building Library\Bee\artifacts\WebGL\build\debug_WebGL_wasm\build.js failed with output:
wasm-ld: error: Assets/Live2D/Cubism/Plugins/Experimental/Emscripten/Live2DCubismCore.bc: machine type must be wasm32 or wasm64
I think this package needs to be recompiled, I'm not sure I can build it on my end, can someone help me solve this issue? (I have the latest Live2D SDK for Unity)
Thank you!
0 ·
Comments
Thank you for your contact.
This is Live2D Support.
We apologize for any inconvenience this may cause.
Support for wasm32 or wasm64 of the library for WebGL will be provided in a future update of Cubism SDK for Unity.
We appreciate your cooperation.
Thank you.
Do you know when to expect the next version?
/c0mas
We have not decided when exactly we will respond, but we will make every effort to do so in the near future.
Thank you.
The big advantage building with 2021.2.6 instead of 2020.1.13 (that is working) is that it should have support for ASTC texture compression for WebGL (also natively supported on iOS) and we hope to help a lot running our project on Safari for Iphone.
Thank you!
Thank you! :-)
Thank you!
Yes, we have added a library that supports the latest Emscripten in Cubism SDK for Unity R4_1.
Please see CHANGELOG for details.
https://github.com/Live2D/CubismUnityComponents/blob/develop/Assets/Live2D/Cubism/Plugins/CHANGELOG.md#2022-02-10
Thanks.