Hello
I have mainmenu ui…
When i click on play button i disable mainmenu ui and enable the car and road entity.
Expected this output to come…
But this car stuck (looks like no tire rigidbody - no movement) and errors as follows:
unhandled exception while calling "update" for "vehicle" script: RuntimeError: memory access out of bounds
at https://launch.playcanvas.com/api/assets/files/Ammo/ammo.wasm.wasm?id=37771509&branchId=626e8937-3262-4bec-a31d-bdcc366e04f6&t=a6819ea71a53e67f1dfe3e42957c2971:wasm-function[175]:0xb3ad
at https://launch.playcanvas.com/api/assets/files/Ammo/ammo.wasm.wasm?id=37771509&branchId=626e8937-3262-4bec-a31d-bdcc366e04f6&t=a6819ea71a53e67f1dfe3e42957c2971:wasm-function[336]:0x1ac4a
at yn (https://launch.playcanvas.com/api/assets/files/Ammo/ammo.wasm.wasm?id=37771509&branchId=626e8937-3262-4bec-a31d-bdcc366e04f6&t=a6819ea71a53e67f1dfe3e42957c2971:wasm-function[1025]:0x4499e)
at b._emscripten_bind_btRaycastVehicle_updateWheelTransform_2 (https://launch.playcanvas.com/api/assets/files/Ammo/ammo.wasm.js?id=37771553&branchId=626e8937-3262-4bec-a31d-bdcc366e04f6&t=6b7ab3989e4f9f17c86e44380f9181c6:276:70)
at R.updateWheelTransform (https://launch.playcanvas.com/api/assets/files/Ammo/ammo.wasm.js?id=37771553&branchId=626e8937-3262-4bec-a31d-bdcc366e04f6&t=6b7ab3989e4f9f17c86e44380f9181c6:663:128)
at scriptType.Vehicle.update (https://launch.playcanvas.com/api/assets/files/Scripts/vehicleScript/vehicle.js?id=37771518&branchId=626e8937-3262-4bec-a31d-bdcc366e04f6:154:21)
at ScriptComponent._scriptMethod (https://code.playcanvas.com/playcanvas-stable.dbg.js:43756:19)
at ScriptComponent._onUpdate (https://code.playcanvas.com/playcanvas-stable.dbg.js:43792:11)
at ScriptComponentSystem._callComponentMethod (https://code.playcanvas.com/playcanvas-stable.dbg.js:44260:49)
at ScriptComponentSystem._onUpdate (https://code.playcanvas.com/playcanvas-stable.dbg.js:44272:9)
_scriptMethod @ playcanvas-stable.dbg.js:43760
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
requestAnimationFrame (async)
(anonymous) @ playcanvas-stable.dbg.js:49882
launch.js:8000 RuntimeError: memory access out of bounds
at https://launch.playcanvas.com/api/assets/files/Ammo/ammo.wasm.wasm?id=37771509&branchId=626e8937-3262-4bec-a31d-bdcc366e04f6&t=a6819ea71a53e67f1dfe3e42957c2971:wasm-function[175]:0xb3ad
at https://launch.playcanvas.com/api/assets/files/Ammo/ammo.wasm.wasm?id=37771509&branchId=626e8937-3262-4bec-a31d-bdcc366e04f6&t=a6819ea71a53e67f1dfe3e42957c2971:wasm-function[336]:0x1ac4a
at yn (https://launch.playcanvas.com/api/assets/files/Ammo/ammo.wasm.wasm?id=37771509&branchId=626e8937-3262-4bec-a31d-bdcc366e04f6&t=a6819ea71a53e67f1dfe3e42957c2971:wasm-function[1025]:0x4499e)
at b._emscripten_bind_btRaycastVehicle_updateWheelTransform_2 (https://launch.playcanvas.com/api/assets/files/Ammo/ammo.wasm.js?id=37771553&branchId=626e8937-3262-4bec-a31d-bdcc366e04f6&t=6b7ab3989e4f9f17c86e44380f9181c6:276:70)
at R.updateWheelTransform (https://launch.playcanvas.com/api/assets/files/Ammo/ammo.wasm.js?id=37771553&branchId=626e8937-3262-4bec-a31d-bdcc366e04f6&t=6b7ab3989e4f9f17c86e44380f9181c6:663:128)
at scriptType.Vehicle.update (https://launch.playcanvas.com/api/assets/files/Scripts/vehicleScript/vehicle.js?id=37771518&branchId=626e8937-3262-4bec-a31d-bdcc366e04f6:154:21)
at ScriptComponent._scriptMethod (https://code.playcanvas.com/playcanvas-stable.dbg.js:43756:19)
at ScriptComponent._onUpdate (https://code.playcanvas.com/playcanvas-stable.dbg.js:43792:11)
at ScriptComponentSystem._callComponentMethod (https://code.playcanvas.com/playcanvas-stable.dbg.js:44260:49)
at ScriptComponentSystem._onUpdate (https://code.playcanvas.com/playcanvas-stable.dbg.js:44272:9)
How i can solve this issue?
Thanks