使用 sound.play(url) 时游戏崩溃

Game crashes when using sound.play(url)

触发sound.play(url)时游戏崩溃

我在 Ubuntu 18.04 LTS 上使用 Defold 版本 - 1.2.170。

我已经提出了详细的错误报告 here

崩溃报告如下:

��1.2.1705791ee6d96b87e50eee5acd70abaa4026fefef28Linux5.3.0-59-genericenenINdmenginelibXdmcp.so.6.0.0libXau.so.6.0.0libbsd.so.0.8.7libasound.so.2.0.0libGLdispatch.so.0.0.0libGLX.so.0.0.0libxcb.so.1.1.0librt-2.27.solibsndio.so.6.1libc-2.27.solibgcc_s.so.1libm-2.27.solibstdc++.so.6.0.25libdl-2.27.solibpthread-2.27.solibGLU.so.1.3.1libGL.so.1.0.0libX11.so.6.3.0libopenal.so.1.18.2ld-2.27.so�?�U��]1�]PQ�]�r�]��]pμ]���]�]�4�]�U�]���]��]���]�(�]�H�]�j�]���]`��]���]��]
                                                                        /�?�U��I�]/home/nevin/.Defold/unpack/c08d752f41f670e57c28a238ad8e7eecdfc27833/x86_64-linux/bin/dmengine(+0x2f2f07) [0x55c33fbe2f07]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7f5dbe49e890]

崩溃报告文件附在 github 问题页面中。我怀疑问题是不是因为任何 os 声音库。

问题是因为使用 24 位声音,因为它只支持 16 位声音。关于将其添加到构建错误的讨论已经完成,您可以关注 post.

上链接问题中的讨论