我使用unity开发,然后转微信小程序平台,但是我在开发中遇到频繁卡死的问题,比如以下报错,但是我不知道怎么去查看是我的那一行代码有问题,请大佬们解答一下,怎么调试这个报错,急急急
plugin.js:74 exception thrown: Error: WXUncaughtException,Error: WXUncaughtException
at currentStackTrace (http://127.0.0.1:29515/game/unity-sdk/util.js:66:17)
at Object.WXUncaughtException (http://127.0.0.1:29515/game/unity-sdk/util.js:70:15)
at ___cxa_throw (http://127.0.0.1:29515/game/webgl.wasm.framework.unityweb.js:3:130543)
at http://127.0.0.1:29515/game/webgl.wasm.framework.unityweb.js:3:3568
at <anonymous>:wasm-function[91851]:0x1954b8b
at <anonymous>:wasm-function[93202]:0x198ac42
at <anonymous>:wasm-function[69531]:0x14ac11c
at <anonymous>:wasm-function[80798]:0x172c790
at <anonymous>:wasm-function[80816]:0x172d0e7
at <anonymous>:wasm-function[85357]:0x184f957
at <anonymous>:wasm-function[55552]:0x121d1a6
at <anonymous>:wasm-function[100157]:0x1a2a2a5
at <anonymous>:wasm-function[34356]:0xe371d3
at <anonymous>:wasm-function[100155]:0x1a2a197
at <anonymous>:wasm-function[31824]:0xdda1a3
at <anonymous>:wasm-function[91873]:0x1955264
at <anonymous>:wasm-function[93175]:0x198a21a
at <anonymous>:wasm-function[92823]:0x197b118
at <anonymous>:wasm-function[92821]:0x197b045
at <anonymous>:wasm-function[92825]:0x197b236
at <anonymous>:wasm-function[92824]:0x197b1bd
at <anonymous>:wasm-function[91859]:0x1954dd4
at <anonymous>:wasm-function[92072]:0x195cb47
at <anonymous>:wasm-function[55552]:0x121d185
at <anonymous>:wasm-function[100157]:0x1a2a2a5
at <anonymous>:wasm-function[34356]:0xe371d3
at <anonymous>:wasm-function[100155]:0x1a2a197
at <anonymous>:wasm-function[31824]:0xdda1a3
at <anonymous>:wasm-function[91873]:0x1955264
at <anonymous>:wasm-function[93175]:0x198a21a
at <anonymous>:wasm-function[92823]:0x197b118
at <anonymous>:wasm-function[92821]:0x197b045
at <anonymous>:wasm-function[92828]:0x197b335
at <anonymous>:wasm-function[92827]:0x197b319
at <anonymous>:wasm-function[92829]:0x197b3d1
at <anonymous>:wasm-function[92073]:0x195cb89
at <anonymous>:wasm-function[92072]:0x195cb58
at <anonymous>:wasm-function[5718]:0x25488a
at <anonymous>:wasm-function[9638]:0x3ab6d8
at <anonymous>:wasm-function[16003]:0x6aa89d
at <anonymous>:wasm-function[15988]:0x6a9439
at <anonymous>:wasm-function[17153]:0x6dbe6c
at <anonymous>:wasm-function[46101]:0x105b618
at <anonymous>:wasm-function[49331]:0x10e46ed
at <anonymous>:wasm-function[60840]:0x12ff3ad
at <anonymous>:wasm-function[44752]:0x102e17f
at <anonymous>:wasm-function[60864]:0x1301f22
at <anonymous>:wasm-function[60862]:0x1300c94
at <anonymous>:wasm-function[34487]:0xe3d9d7
at <anonymous>:wasm-function[60709]:0x12fa128
at <anonymous>:wasm-function[77510]:0x169ebbc
at <anonymous>:wasm-function[34239]:0xe312e6
at <anonymous>:wasm-function[83936]:0x17e7c43
at <anonymous>:wasm-function[83931]:0x17e7613
at <anonymous>:wasm-function[83928]:0x17e72f3
at <anonymous>:wasm-function[34399]:0xe3943d
at <anonymous>:wasm-function[60716]:0x12fa60d
at <anonymous>:wasm-function[31824]:0xdda1a3
at <anonymous>:wasm-function[91873]:0x1955264
at <anonymous>:wasm-function[91192]:0x19387e4
at <anonymous>:wasm-function[5684]:0x24d3c5
at <anonymous>:wasm-function[5682]:0x24d095
at <anonymous>:wasm-function[11877]:0x487416
at <anonymous>:wasm-function[11854]:0x485f1f
at <anonymous>:wasm-function[14177]:0x5c27ca
at <anonymous>:wasm-function[14176]:0x5c24e3
at <anonymous>:wasm-function[12301]:0x4b7176
at <anonymous>:wasm-function[11974]:0x490c69
at <anonymous>:wasm-function[11974]:0x490c7e
at <anonymous>:wasm-function[11969]:0x490786
at <anonymous>:wasm-function[11962]:0x48e6dd
at dynCall_v (<anonymous>:wasm-function[101414]:0x1a828e0)
at Object.dynCall_v (http://127.0.0.1:29515/game/webgl.wasm.framework.unityweb.js:3:643706)
at browserIterationFunc (http://127.0.0.1:29515/game/webgl.wasm.framework.unityweb.js:3:246307)
at Object.runIter (http://127.0.0.1:29515/game/webgl.wasm.framework.unityweb.js:3:249507)
at Browser_mainLoop_runner (http://127.0.0.1:29515/game/webgl.wasm.framework.unityweb.js:3:247872)
at Function.<anonymous> (http://127.0.0.1:29515/game/unity-sdk/fix.js:34:19)
at v (http://127.0.0.1:29515/game/__dev__/WAGameSubContext.js:1:107894)
at http://127.0.0.1:29515/game/__dev__/WAGameSubContext.js:1:108337
at r.<anonymous> (http://127.0.0.1:29515/game/__dev__/WAGameSubContext.js:1:96154)
at http://127.0.0.1:29515/game/__dev__/WAGameSubContext.js:1:149390
解决了嘛,这个问题我也出现了