I'm using this method for call CommonEvent from script:
JavaScript:
GameManager.scene.interpreter.callCommonEvent("DE37A63F51DE26453819DDA3FA09047B09B3", null, false);
And my Common Event have only Live2D call:
And after join room, application return error:
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'saveParam')
at r.reset (ENGINE.js:1:203954)
at e.Component_CommandInterpreter.commandL2DJoinScene [as execute] (Component_CommandInterpreter_1.js? [sm]:3052:26)
at Component_CommandInterpreter.executeCommand (Component_CommandInterpreter_1.js? [sm]:822:26)
at Component_CommandInterpreter.update (Component_CommandInterpreter_1.js? [sm]:555:18)
at Component_CommandInterpreter.callCommonEvent (Component_CommandInterpreter_1.js? [sm]:1642:33)
at eval (eval at Component_CommandInterpreter.commandScript (Component_CommandInterpreter_893E6764K274EA46E2S918DEC27A2B911E42.js:7965:34), <anonymous>:8:31)
And this:
Uncaught TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': Overload resolution failed.
at r.initialize (ENGINE.js:1:203114)
at Component_Live2D.update (Component_Live2D_152.js? [sm]:190:27)
at Object_Live2DCharacter.Object_Base.update (Object_Base_6.js? [sm]:351:27)
at e.Component_CommandInterpreter.commandL2DJoinScene [as execute] (Component_CommandInterpreter_1.js? [sm]:3058:19)
at Component_CommandInterpreter.executeCommand (Component_CommandInterpreter_1.js? [sm]:798:22)
at Component_CommandInterpreter.update (Component_CommandInterpreter_1.js? [sm]:555:18)
at Component_CommandInterpreter.update (Component_CommandInterpreter_1.js? [sm]:512:29)
at Object_Scene.Object_Base.update (Object_Base_6.js? [sm]:351:27)
at SceneManager.ObjectManager.update (ObjectManager_8.js? [sm]:257:24)
at SceneManager.update (SceneManager_34.js? [sm]:178:13)
How to fix it?
Maybe someone know another method for call CommonEvent from script?