[SOLVED] Question regarding v1.65.0-dev revision

Does v1.65.0-dev revision and the current stable version have Ammo-related changes?

I load ammo in a rather unusual, modified way

		// Set the physics code as the glueUrl in the pc.WasmModule configuration
		pc.WasmModule.setConfig('Ammo', {
			glueUrl: 'data:text/javascript;base64,' + btoa(physicsCode),
			wasmUrl: 'What about no?',
			fallbackUrl: 'Got it!'

        pc.WasmModule.getInstance('Ammo', run);

            function run() {
..creating entities etc..

physicsCode = modified ammo.wasm.js - which does not require ammo.wasm.wasm but instead compiles it from base64 code

the thing is that the v1.65.0-dev revision works fine, but the stable release does not ( Ammo .btDefaultCollisionConfiguration is not a constructor)


Try raising an issue on the engine github repo, it’s more relevant and you may get an answer faster.

1 Like


Hi @Newbie_Coder,

Can you provide a repro? Without that it’s not really possible to say what the problem is.


Hey, I’ve fixed the problem, gotta one more question, does v1.65.0 has 1.64.X-4 fixes including? Or should I just build 1.64.4

Hi @Newbie_Coder ,

Yes v1.65 includes all the fixes in v1.64. Just be careful because the main branch (future v1.65) also includes untested changes which break in other ways.

If you’re looking for a build of v1.64.4 you can either get the npm package or access a prebuilt version at https://code.playcanvas.com/playcanvas-1.64.4.js.

Hope that helps.

1 Like