[LayaAir3]添加了材质和shader后, 设置CacheAs编辑器崩溃

操作流程:
- 添加Sprite, 添加材质和shader
- Sprite添加了一个img子元素
- Sprite设置Cache As为bitmap

操作后编辑器场景显示页面崩溃了, 控制台报错:
崩溃以后即便取消设置, 或者删除元素也无法恢复, 只能重启编辑器
TypeError: Cannot set properties of null (setting 'subShader')ComponentDriver.js:122
Uncaught TypeError: Cannot set properties of null (setting 'subShader')SubmitBase.js:41
TypeError: Cannot read properties of null (reading '_setBit')


崩溃后:
无法显示场景, 也无法打开其它场景

 
ddc2a27b-6de8-4057-84e9-0eb68a48de41.png
已邀请:

LayaAir大为

赞同来自:

您好,我们已经复现这个问题,感谢您的反馈

要回复问题请先

商务合作
商务合作