I was working on a project and when I reloaded it started to mark some errors on my screen,
TypeError: Cannot read properties of null (reading 'length')
at CollisionMeshSystemImpl.createPhysicalShape (https://code.playcanvas.com/playcanvas-2.8.2.dbg.js:81562:44)
at CollisionMeshSystemImpl.doRecreatePhysicalShape (https://code.playcanvas.com/playcanvas-2.8.2.dbg.js:81635:32)
at onAssetFullyReady (https://code.playcanvas.com/playcanvas-2.8.2.dbg.js:81603:20)
at Asset. (https://code.playcanvas.com/playcanvas-2.8.2.dbg.js:81610:26)
at Asset.ready (https://code.playcanvas.com/playcanvas-2.8.2.dbg.js:64498:23)
at loadAndHandleAsset (https://code.playcanvas.com/playcanvas-2.8.2.dbg.js:81606:20)
at CollisionMeshSystemImpl.loadAsset (https://code.playcanvas.com/playcanvas-2.8.2.dbg.js:81625:14)
at CollisionMeshSystemImpl.recreatePhysicalShapes (https://code.playcanvas.com/playcanvas-2.8.2.dbg.js:81586:23)
at CollisionMeshSystemImpl.afterInitialize (https://code.playcanvas.com/playcanvas-2.8.2.dbg.js:81169:15)
at CollisionComponentSystem.initializeComponentData (https://code.playcanvas.com/playcanvas-2.8.2.dbg.js:81807:15)
I’m using the third person template , before this | was trying to add a custom shader to some meshes, and then play canvas took a lot to reload, and then the project stoped working as before,
after that I thought it could be something with the shaders or scripts that I added and then I deleted them immediately , I give it a try and the error persist.
What could it be? Thanks for your time