DragonBones / DragonBonesCSharp

DragonBones C# Runtime
MIT License
533 stars 198 forks source link

存在可能性出现这个报错:Mesh.colors is out of bounds. The supplied array needs to be the same size as the Mesh.vertices array #79

Open zerohualin opened 3 years ago

zerohualin commented 3 years ago

Mesh.colors is out of bounds. The supplied array needs to be the same size as the Mesh.vertices array 很遗憾我没办法复现,很小概率有玩家会出现这个报错,而且没有其他 StackTrack 信息。 A: 没有 StackTrack怎么确定是 DragonBones的问题? Q: 我确实不完全确定,但是整个项目涉及到 mesh 设置 color 的 只有 DragonBone.MeshBuffer 这个类。