Error: t.initFunction is not a function

error:
t.initFunction is not a function
persists in playground.

here is a link:

console says:

rendererComponent.tsx:364  TypeError: t.initFunction is not a function
    at R._compileAndRunAsync (rendererComponent.tsx:295:36) 'Retrying if possible. If this error persists please notify the team.'

you need to move the creation of your ammo objects within the createScene as ammo might not be loaded when you start using it https://playground.babylonjs.com/#3U6F9T#95

Thank you, that was the solution.