平台:cocos creator v2.1.2/chrome mask出现崩溃

部分堆栈如下:

mask-assembler.js:51 Uncaught TypeError: Cannot read property ‘effect’ of null
at applyStencil (mask-assembler.js:51)
at applyClearMask (mask-assembler.js:92)
at Object.fillBuffers (mask-assembler.js:196)
at ModelBatcher._commitComp (model-batcher.js:206)
at RenderFlow.246._proto._render (render-flow.js:69)
at RenderFlow.246._proto._updateRenderData (render-flow.js:64)
at RenderFlow.246._proto._worldTransform (render-flow.js:43)
at RenderFlow.246._proto._localTransform (render-flow.js:29)
at RenderFlow.246._proto._children (render-flow.js:101)
at RenderFlow.246._proto._worldTransform (render-flow.js:43)
applyStencil @ mask-assembler.js:51
applyClearMask @ mask-assembler.js:92
fillBuffers @ mask-assembler.js:196
_commitComp @ model-batcher.js:206
246._proto._render @ render-flow.js:69
246._proto._updateRenderData @ render-flow.js:64
246._proto._worldTransform @ render-flow.js:43
246._proto._localTransform @ render-flow.js:29
246._proto._children @ render-flow.js:101
246._proto._worldTransform @ render-flow.js:43
246._proto._localTransform @ render-flow.js:29
246._proto._children @ render-flow.js:101
246._proto._worldTransform @ render-flow.js:43
246._proto._localTransform @ render-flow.js:29
246._proto._children @ render-flow.js:101
246._proto._worldTransform @ render-flow.js:43
246._proto._localTransform @ render-flow.js:29
246._proto._children @ render-flow.js:101
246._proto._children @ render-flow.js:101
246._proto._children @ render-flow.js:101
246._proto._render @ render-flow.js:70
246._proto._children @ render-flow.js:101
246._proto._children @ render-flow.js:101
246.RenderFlow.visit @ render-flow.js:205
render @ index.js:178
mainLoop @ CCDirector.js:961
callback @ CCGame.js:643
requestAnimationFrame (async)
callback @ CCGame.js:637
requestAnimationFrame (async)
callback @ CCGame.js:637
requestAnimationFrame (async)
callback @ CCGame.js:637
requestAnimationFrame (async)
callback @ CCGame.js:637
requestAnimationFrame (async)
callback @ CCGame.js:637
requestAnimationFrame (async)
callback @ CCGame.js:637
requestAnimationFrame (async)
callback @ CCGame.js:637
requestAnimationFrame (async)
callback @ CCGame.js:637
requestAnimationFrame (async)
callback @ CCGame.js:637
requestAnimationFrame (async)
callback @ CCGame.js:637
CCMask.js:400 Uncaught (in promise) TypeError: Cannot read property ‘getDefaultTechnique’ of null
at cc_Mask._activateMaterial (CCMask.js:400)
at cc_Mask.onEnable (CCMask.js:301)
at cc_Mask.onEnable (CCClass.js:778)
at CCClass.invokeOnEnable [as _invoke] (component-scheduler.js:307)
at CCClass.invoke (component-scheduler.js:154)
at CCClass.activateNode (node-activator.js:229)
at cc_Node._onHierarchyChanged (base-node.js:1171)
at cc_Node._onHierarchyChanged (CCNode.js:1304)
at cc_Node.setParent (base-node.js:410)
at cc_Node.addChild (CCNode.js:3128)
_activateMaterial @ CCMask.js:400
onEnable @ CCMask.js:301
(anonymous) @ CCClass.js:778
invokeOnEnable @ component-scheduler.js:307
invoke @ component-scheduler.js:154
activateNode @ node-activator.js:229
_onHierarchyChanged @ base-node.js:1171
_onHierarchyChanged @ CCNode.js:1304
setParent @ base-node.js:410
addChild @ CCNode.js:3128
View.addView @ View.ts:342
(anonymous) @ MainPage.ts:198
step @ typescript.js:93
(anonymous) @ typescript.js:74
fulfilled @ typescript.js:64
Promise.then (async)
step @ typescript.js:66
(anonymous) @ typescript.js:67
417.window.__awaiter @ typescript.js:63
MainPage.showOrDismissShopLayer @ MainPage.ts:187
(anonymous) @ MainPage.ts:139
XVButton._onTouchEnded @ XVButton.ts:253
215.CallbacksInvoker.invoke @ callbacks-invoker.js:255
_doDispatchEvent @ CCNode.js:493
dispatchEvent @ CCNode.js:1828
_touchEndHandler @ CCNode.js:343
_onTouchEventCallback @ CCEventManager.js:503
_dispatchEventToListeners @ CCEventManager.js:627
_dispatchTouchEvent @ CCEventManager.js:549
dispatchEvent @ CCEventManager.js:1005
handleTouchesEnd @ CCInputManager.js:174
_mouseEventsOnElement @ CCInputManager.js:467
(anonymous) @ CCInputManager.js:495
mask-assembler.js:51 Uncaught TypeError: Cannot read property ‘effect’ of null
at applyStencil (mask-assembler.js:51)
at applyClearMask (mask-assembler.js:92)
at Object.fillBuffers (mask-assembler.js:196)
at ModelBatcher._commitComp (model-batcher.js:206)
at RenderFlow.246._proto._render (render-flow.js:69)
at RenderFlow.init [as _func] (render-flow.js:184)
at RenderFlow.246._proto._children (render-flow.js:101)
at RenderFlow.246._proto._children (render-flow.js:101)
at RenderFlow.246._proto._children (render-flow.js:101)
at RenderFlow.246._proto._children (render-flow.js:101)

解决了吗

怎么解决的

解决了吗?重启电脑又好了?

同问,怎么解决