16-04-2019, 07:24 PM
(16-04-2019, 07:11 PM)Saismirk Wrote: After having upgraded to unity 2019.1, reinstalling Obi to latest version and having to redo all cloth setups, an error persists
"Bone weights do not match bones"
The cloth is being applied to skinned meshes of course.
Hardly any info is available on this error and can't pinpoint the cause at all, so I'm assuming it's due to 2019.1 API changes that Obi has not been keeping up with.
I would like to know if staying in 2018.3 is the only choice, if I will have to ditch Obi or will it update to 2019.1?
Hi,
This is due to a change in Unity's mesh import pipeline, not Obi's fault. There's nothing to fix from our side. Extract from Unity's change log for 2019.1:
Code:
Asset Import: Extended Optimize Mesh option on Model asset import settings to allow optimization of Vertex Order and Polygon Order to be controlled independently rather than both being controlled from the same flag. NOTE: Performance improvements to the underlying mesh optimization code may cause vertices to be generated in a different order than in previous Unity versions. If you rely on vertex ordering in the optimized mesh data such as for vertex painting be aware this data may need to be re-generated.
This is the case for built-in samples in Obi. Simply select the meshes affected and disable vertex and polygon order optimization in the inspector. That will fix the issue.