Skip to content

Commit 55a9105

Browse files
committed
com.atteneder.gltfast Release 6.10.1
1 parent 2ea1153 commit 55a9105

14 files changed

+675
-84
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,33 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [6.10.1] - 2025-01-09
8+
9+
### Added
10+
- Test for `ConvertBoneWeightsUInt8ToFloatInterleavedJob`
11+
- Test for `ConvertBoneWeightsUInt16ToFloatInterleavedJob`
12+
- *BoundsTests* which certifies correct mesh bounds.
13+
14+
### Changed
15+
- Downgraded package dependencies to version bundled with Editor.
16+
- `com.unity.collections` to version `1.2.4` (from `1.5.1`)
17+
- `com.unity.mathematics` to version `1.2.6` (from `1.3.1`)
18+
- When a position accessor lacks min/max properties, the corresponding error message is communicated via the `ICodeLogger` instead of a plain console log.
19+
20+
### Fixed
21+
- Build error when used along with packages that depend on `com.unity.collections` versions older than 1.5 (e.g. Polyspatial 1.x; fixes [#730](https://github.com/atteneder/glTFast/issues/730)).
22+
- Invalid mesh bounds on meshes with one submesh (fixes [#743](https://github.com/atteneder/glTFast/issues/743)).
23+
24+
### Removed
25+
26+
27+
### Deprecated
28+
29+
30+
### Security
31+
32+
33+
734
## [6.10.0] - 2024-12-16
835

936
### Added

Documentation~/ProjectSetup.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,16 @@ Built-In render pipe projects can optionally use the shader graphs instead of th
4747

4848
For example, if you don't need PNG/Jpeg support (because you use only KTX™ 2.0 textures or no textures at all), you can disable the *Image Conversion* and *UnityWebRequestTexture* modules.
4949

50+
## Performance Increase via Collections Package
51+
52+
> [!CAUTION]
53+
> Don't apply this if your project or one of its packages (e.g. [Polyspatial 1.3]) has a dependency on [Collections] 1.4 or older. Unfortunately [Collections] version 1.5.0 introduced breaking changes that might lead to compiler errors otherwise.
54+
55+
Projects running Editor versions 2020 or 2021 can increase the performance of certain low-level C# jobs by upgrading the [Collections] package to version 1.5.1 (or newer). *glTFast* then utilizes [IJobParallelForBatch] for increased loading speed.
56+
57+
> [!NOTE]
58+
> Performance measurements showed that in Unity 2022 and later the Burst compiler has gotten so advanced that performance is excellent out-of-the-box and adjusting the [Collections] package versions makes little to no difference.
59+
5060
## Readable Mesh Data
5161

5262
By default *Unity glTFast* discards mesh data after it was uploaded to the GPU to free up main memory (see [`markNoLongerReadable`](https://docs.unity3d.com/ScriptReference/Mesh.UploadMeshData.html)). You can disable this globally by using the scripting define `GLTFAST_KEEP_MESH_DATA`.
@@ -75,9 +85,10 @@ add `GLTFAST_EDITOR_IMPORT_OFF` to the *Scripting Define Symbols* in the *Player
7585

7686
*KTX™* and the KTX logo are trademarks of the [The Khronos Group Inc][khronos].
7787

78-
[ImgConv]: https://docs.unity3d.com/2021.3/Documentation/ScriptReference/UnityEngine.ImageConversionModule.html
88+
[Collections]: https://docs.unity3d.com/Packages/[email protected]/manual/index.html
89+
[IJobParallelForBatch]: https://docs.unity3d.com/Packages/[email protected]/api/Unity.Jobs.IJobParallelForBatch.html?q=IJobParallelForBatch
7990
[Khronos]: https://www.khronos.org
8091
[MRTK]: https://github.com/microsoft/MixedRealityToolkit-Unity
92+
[Polyspatial 1.3]: https://docs.unity3d.com/Packages/[email protected]/manual/index.html
8193
[shader-variants]: https://docs.unity3d.com/Manual/shader-variants.html
8294
[Unity]: https://unity.com
83-
[uwrt]: https://docs.unity3d.com/2021.3/Documentation/ScriptReference/UnityEngine.UnityWebRequestTextureModule.html

Documentation~/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"DefineConstants": "DRACO_UNITY;KTX_UNITY;KTX_UNITY_1_3_OR_NEWER;KTX_UNITY_2_2_OR_NEWER;USING_URP;USING_HDRP;USING_HDRP_10_OR_NEWER;UNITY_PHYSICS;UNITY_IMAGECONVERSION;UNITY_WEBREQUEST_TEXTURE;MESHOPT;USING_URP_12_OR_NEWER;UNITY_SHADER_GRAPH;UNITY_SHADER_GRAPH_12_OR_NEWER;UNITY_ANIMATION;UNITY_ENTITIES_GRAPHICS;NEWTONSOFT_JSON"
2+
"DefineConstants": "DRACO_UNITY;KTX_UNITY;KTX_UNITY_1_3_OR_NEWER;KTX_UNITY_2_2_OR_NEWER;USING_URP;USING_HDRP;USING_HDRP_10_OR_NEWER;UNITY_PHYSICS;UNITY_IMAGECONVERSION;UNITY_WEBREQUEST_TEXTURE;MESHOPT;USING_URP_12_OR_NEWER;UNITY_SHADER_GRAPH;UNITY_SHADER_GRAPH_12_OR_NEWER;UNITY_ANIMATION;UNITY_ENTITIES_GRAPHICS;NEWTONSOFT_JSON;UNITY_COLLECTIONS"
33
}

Runtime/Scripts/Export/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace GLTFast.Export
77
{
88
static class Constants
99
{
10-
public const string version = "6.10.0";
10+
public const string version = "6.10.1";
1111

1212
internal const string mimeTypePNG = "image/png";
1313
internal const string mimeTypeJPG = "image/jpeg";

0 commit comments

Comments
 (0)