OS: Win10
Engine: WebGL2
Browser: any
Version: 8.52.1
Steps to reproduce:
- Open the playground: Babylon.js Playground
- Check console for errors
Expected:
No errors
Actual:
s.materials[0].options.extraInitializationsAsync is a function, can not be cloned
Suggested fix:
Set sphere.edgesRenderer.lineShader.doNotSerialize = true; by default