android真机spine问题,提示Spine material data is too large

  • Creator 版本: 2.0.9

  • 目标平台: Android 真机

播放spine动画的时候提示Spine material data is too large,buffer has no space to put in it

debug info: Spine material data is too large,buffer has no space to put in it!!!
debug info: You can adjust MAX_MATERIAL_BUFFER_SIZE in Macro
debug info: But It’s better to optimize resource to avoid large material.Because it can advance performance

根据指引去修改安卓项目的\jsb-default\frameworks\cocos2d-x\cocos\editor-support\MiddlewareMacor.h

还是没有解决问题,不知道是我修改 MAX_MATERIAL_BUFFER_SIZE 没生效还是生效了还是但解决不了问题

请问大佬们如何正确的修改MiddlewareMacor.h这种引擎代码,还是是否有其他解决这问题的方法?

非常感激!