This issue occurred when using the 1.63 engine version



I encountered an issue running the 1.63 engine version on an old project today, while using the 1.62.2 version did not report error

[playcanvas-1.63.0.dbg.js:35921]: Cannot read properties of undefined (reading 'alphaToCoverage')

TypeError: Cannot read properties of undefined (reading 'alphaToCoverage')
    at MeshInstance.updateKey (https://code.playcanvas.com/playcanvas-1.63.0.dbg.js:35921:63)
    at MeshInstance.set (https://code.playcanvas.com/playcanvas-1.63.0.dbg.js:36267:13)
    at new MeshInstance (https://code.playcanvas.com/playcanvas-1.63.0.dbg.js:35706:17)
    at Model.clone (https://code.playcanvas.com/playcanvas-1.63.0.dbg.js:51455:32)
    at ModelComponent._onModelAssetLoad (https://code.playcanvas.com/playcanvas-1.63.0.dbg.js:81584:34)
    at ModelComponent._bindModelAsset (https://code.playcanvas.com/playcanvas-1.63.0.dbg.js:81549:13)
    at ModelComponent.set (https://code.playcanvas.com/playcanvas-1.63.0.dbg.js:81752:19)
    at ModelComponentSystem.initializeComponentData (https://code.playcanvas.com/playcanvas-1.63.0.dbg.js:82174:35)
    at ModelComponentSystem.addComponent (https://code.playcanvas.com/playcanvas-1.63.0.dbg.js:65072:11)
    at SceneParser._openComponentData (https://code.playcanvas.com/playcanvas-1.63.0.dbg.js:100177:17)

Does anyone know how to solve this problem?
This old project will not be disclosed to the public for the time being. If PlayCanvas officials want to view issues on this project, you can privately send me a message to add you to the project

Found the problem, it’s the GLB issue in my project. After reimport, it can be displayed normally

2 Likes

I have the same problem in the latest version.

1 Like

Same here. :face_with_raised_eyebrow:

This is issue is due to 1.63 TypeError: Cannot read properties of undefined (reading 'alphaToCoverage') · Issue #5313 · playcanvas/engine · GitHub

Please use the previous version of the engine while we roll back the release

1 Like

We’ve rolled back the editor release to engine 1.62 and the previous editor code
We will investigate all issues reported for a new editor release

1 Like