[LayaAir 2.0]3d物理引擎报错

Error: "abort("Cannot enlarge memory arrays. Either (1) compile with  -s TOTAL_MEMORY=X  with X higher than the current value 16777216, (2) compile with  -s ALLOW_MEMORY_GROWTH=1  which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with  -s ABORTING_MALLOC=0 "). Build with -s ASSERTIONS=1 for more
已邀请:

五月

赞同来自: 建章

// 修改初始化内存
window['Config3D'] && (window['Config3D']['_defaultConfig']['_defaultPhysicsMemory']=100);

Luren_yi

赞同来自:

请提供可复现的demo。

Aar0n

赞同来自:

多提供一些信息。

要回复问题请先

商务合作
商务合作