illegal property name

hello world 模板,runtime中 material 调用 setProperty 报错 “illegal property name”


cc.find('soldier').children[0].children[4].components[0].getMaterialInstance(0).setProperty('albedo',new cc.color(122,122,22))

也是一样的warning

请问有人知道怎么解决不

同问,3.8也有这个问题

有解决吗?如果这个都搞不定,没法用Shader了

暂时没办法