This will fix the problem with SPS not being pickable:
Regarding your other error it is not related as it occurs in the materials package. Make sure you are using the right version of this package (meaning the same version than the one you use for Babylon.js core) => you should use https://preview.babylonjs.com/materialsLibrary/babylonjs.materials.min.js instead of https://cdn.babylonjs.com/materialsLibrary/babylonjs.materials.min.js. For the procedural texture library, you should use https://preview.babylonjs.com/proceduralTexturesLibrary/babylonjs.proceduralTextures.min.js.