v0.42
※Important Information※
The errors in VRM output from earlier versions (UniVRM 0.41 and before) have been fixed in v0.42. However, this fix comes along with the following impact:
- The exported VRM data in v0.42 or later cannot be imported correctly in the earlier versions
When exporting VRM data using UniVRM, please check which version you use to make VRM model. If you are using UniVRM to import VRM data, please update UniVRM to the latest version as soon as you can.
UV Bugs Fix:
In v0.41 and the earlier versions, converting UV between Unity and GLTF was incorrect.
Before
var converted_uv = new Vec2(uv.x, -uv.y); // value becomes negative
After
var converted_uv = new Vec2(uv.x, 1.0f-uv.y);
This change influences both import and export.
Current status in v0.42:
- The UV of imported VRM is correct.
- V will become negative when loading the correct UV of VRM with the earlier versions.
- Texture display will be distorted if texture is set to
Clamp
. The default isRepeat
.
VRM's UV in v0.41 and before | VRM's UV from v0.42 | |
---|---|---|
Importer in UniVRM-0.41 and before | 〇 (negative x negative = positive) | × (positive x negative = negative) |
Importer from UniVRM-0.42 | 〇 | 〇 |
General GLTF loader | × | 〇 |
- To developers: please update UniVRM to v0.42 as soon as possible.
- We created a judger based on the string
UniGLTF-1.16 (v0.42)
in GLTF/assets/generator
in importer to detect whether a VRM model is made by the version before 0.42. For v0.42, it can import VRM model correctly.
Tangents Bugs Fix:
The method to call Mesh.RecalculateTangents was inappropriate and it was not able to generate Tangents. We have fixed this issue. It influences the use of normal map.