コガネブログ

平日更新を目標に Unity や C#、Visual Studio、ReSharper などのゲーム開発アレコレを書いていきます

【Unity】RangeError: Maximum call stack size exceeded

はじめに

RangeError: Maximum call stack size exceeded

Unityroom にゲームをアップロードして Chrome で動作確認していたら
上記のエラーが表示されてゲームがプレイできなくなる現象に遭遇した

対応方法

f:id:baba_s:20210502104711p:plain

Chrome の設定画面を開いて「閲覧履歴データの削除」を選択して

f:id:baba_s:20210502104923p:plain

「キャッシュされた画像とファイル」をオンにして「データを削除」を押してから
Unityroom にアップロードしたゲームをプレイしたらエラーが発生しなくなった

参考サイト様

エラー全文

webgl.loader.js:1 exception thrown: RangeError: Maximum call stack size exceeded,RangeError: Maximum call stack size exceeded
    at dynCall_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[58616]:0x1494883)
    at Object.dynCall_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.framework.js.gz:2:489077)
    at invoke_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.framework.js.gz:2:338413)
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56474]:0x1423ab9
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56513]:0x1425492
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56512]:0x142546b
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56440]:0x142233c
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56475]:0x1423e5f
    at dynCall_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[58616]:0x1494890)
    at Object.dynCall_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.framework.js.gz:2:489077)
    at invoke_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.framework.js.gz:2:338413)
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56474]:0x1423ab9
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56513]:0x1425492
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56512]:0x142546b
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56440]:0x142233c
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56475]:0x1423e5f
    at dynCall_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[58616]:0x1494890)
    at Object.dynCall_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.framework.js.gz:2:489077)
    at invoke_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.framework.js.gz:2:338413)
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56474]:0x1423ab9
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56513]:0x1425492
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56512]:0x142546b
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56440]:0x142233c
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56475]:0x1423ef6
    at dynCall_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[58616]:0x1494890)
    at Object.dynCall_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.framework.js.gz:2:489077)
    at invoke_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.framework.js.gz:2:338413)
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56474]:0x1423ab9
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56513]:0x1425492
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56512]:0x142546b
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56440]:0x142233c
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56475]:0x1423e5f
    at dynCall_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[58616]:0x1494890)
    at Object.dynCall_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.framework.js.gz:2:489077)
    at invoke_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.framework.js.gz:2:338413)
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56474]:0x1423ab9
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56513]:0x1425492
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56512]:0x142546b
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56440]:0x142233c
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56475]:0x1423e5f
    at dynCall_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[58616]:0x1494890)
    at Object.dynCall_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.framework.js.gz:2:489077)
    at invoke_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.framework.js.gz:2:338413)
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56474]:0x1423ab9
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56513]:0x1425492
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56512]:0x142546b
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56440]:0x142233c
    at https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56475]:0x1423e5f
    at dynCall_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[58616]:0x1494890)
    at Object.dynCall_ii (https://object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.framework.js.gz:2:489077)
printErr @ webgl.loader.js:1
Uncaught RangeError: Maximum call stack size exceeded
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[57805]:0x145c049
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56475]:0x1423b60
    at dynCall_ii (object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[58616]:0x1494890)
    at Object.dynCall_ii (webgl.framework.js.gz:2)
    at invoke_ii (webgl.framework.js.gz:2)
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56474]:0x1423ab9
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56513]:0x1425492
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56512]:0x142546b
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56440]:0x142233c
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56475]:0x1423e5f
    at dynCall_ii (object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[58616]:0x1494890)
    at Object.dynCall_ii (webgl.framework.js.gz:2)
    at invoke_ii (webgl.framework.js.gz:2)
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56474]:0x1423ab9
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56513]:0x1425492
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56512]:0x142546b
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56440]:0x142233c
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56475]:0x1423ef6
    at dynCall_ii (object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[58616]:0x1494890)
    at Object.dynCall_ii (webgl.framework.js.gz:2)
    at invoke_ii (webgl.framework.js.gz:2)
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56474]:0x1423ab9
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56513]:0x1425492
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56512]:0x142546b
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56440]:0x142233c
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56475]:0x1423e5f
    at dynCall_ii (object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[58616]:0x1494890)
    at Object.dynCall_ii (webgl.framework.js.gz:2)
    at invoke_ii (webgl.framework.js.gz:2)
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56474]:0x1423ab9
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56513]:0x1425492
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56512]:0x142546b
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56440]:0x142233c
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56475]:0x1423e5f
    at dynCall_ii (object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[58616]:0x1494890)
    at Object.dynCall_ii (webgl.framework.js.gz:2)
    at invoke_ii (webgl.framework.js.gz:2)
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56474]:0x1423ab9
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56513]:0x1425492
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56512]:0x142546b
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56440]:0x142233c
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56475]:0x1423e5f
    at dynCall_ii (object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[58616]:0x1494890)
    at Object.dynCall_ii (webgl.framework.js.gz:2)
    at invoke_ii (webgl.framework.js.gz:2)
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56474]:0x1423ab9
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56513]:0x1425492
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56512]:0x142546b
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56440]:0x142233c
    at object-storage.tyo1.conoha.io/v1/nc_df3bdbc45bc04950b558834f5728517a/unityroom_production/game/20395/webgl/webgl.wasm.gz:wasm-function[56475]:0x1423ef6
(anonymous) @ webgl.framework.js.gz:2
callMain @ webgl.framework.js.gz:2
doRun @ webgl.framework.js.gz:2
run @ webgl.framework.js.gz:2
runCaller @ webgl.framework.js.gz:2
removeRunDependency @ webgl.framework.js.gz:2
(anonymous) @ webgl.framework.js.gz:2
doCallback @ webgl.framework.js.gz:2
done @ webgl.framework.js.gz:2
done @ webgl.framework.js.gz:2
storeLocalEntry @ webgl.framework.js.gz:2
(anonymous) @ webgl.framework.js.gz:2
(anonymous) @ webgl.framework.js.gz:2
IndexedDB (async)
loadRemoteEntry @ webgl.framework.js.gz:2
(anonymous) @ webgl.framework.js.gz:2
reconcile @ webgl.framework.js.gz:2
(anonymous) @ webgl.framework.js.gz:2
(anonymous) @ webgl.framework.js.gz:2
IndexedDB (async)
(anonymous) @ webgl.framework.js.gz:2
IndexedDB (async)
(anonymous) @ webgl.framework.js.gz:2
success (async)
(anonymous) @ webgl.framework.js.gz:2
IndexedDB (async)
(anonymous) @ webgl.framework.js.gz:2
success (async)
(anonymous) @ webgl.framework.js.gz:2
IndexedDB (async)
(anonymous) @ webgl.framework.js.gz:2
success (async)
(anonymous) @ webgl.framework.js.gz:2
IndexedDB (async)
(anonymous) @ webgl.framework.js.gz:2
success (async)
(anonymous) @ webgl.framework.js.gz:2
IndexedDB (async)
(anonymous) @ webgl.framework.js.gz:2
success (async)
(anonymous) @ webgl.framework.js.gz:2
IndexedDB (async)
(anonymous) @ webgl.framework.js.gz:2
success (async)
(anonymous) @ webgl.framework.js.gz:2
IndexedDB (async)
(anonymous) @ webgl.framework.js.gz:2
success (async)
(anonymous) @ webgl.framework.js.gz:2
IndexedDB (async)
(anonymous) @ webgl.framework.js.gz:2
success (async)
(anonymous) @ webgl.framework.js.gz:2
IndexedDB (async)
(anonymous) @ webgl.framework.js.gz:2
success (async)
(anonymous) @ webgl.framework.js.gz:2
IndexedDB (async)
(anonymous) @ webgl.framework.js.gz:2
IndexedDB (async)
(anonymous) @ webgl.framework.js.gz:2
success (async)
(anonymous) @ webgl.framework.js.gz:2
IndexedDB (async)
(anonymous) @ webgl.framework.js.gz:2
success (async)
(anonymous) @ webgl.framework.js.gz:2
IndexedDB (async)
(anonymous) @ webgl.framework.js.gz:2
success (async)
(anonymous) @ webgl.framework.js.gz:2
IndexedDB (async)
(anonymous) @ webgl.framework.js.gz:2
success (async)
(anonymous) @ webgl.framework.js.gz:2
IndexedDB (async)
(anonymous) @ webgl.framework.js.gz:2
IndexedDB (async)
(anonymous) @ webgl.framework.js.gz:2
IndexedDB (async)
(anonymous) @ webgl.framework.js.gz:2