修改shader后引擎报错cannot read property ‘gpuPipelineLayout’ of null

引擎版本:cocos creator 3D 1.2.0

目标平台:微信、vivo、oppo、抖音小游戏平台

复现方法:使用VScode编辑shader过程中,会经常的编辑-保存-回引擎看效果,而当在引擎中选中正在使用该shader的材质时,这时编辑并保存shader回到引擎时,偶尔会报错:cannot read property ‘gpuPipelineLayout’ of null。
image

出现频率:比较低

问题:主要想知道这是引擎问题,还是shader编写的问题?