Skip to content

Commit

Permalink
Release 6.8.0 (#187)
Browse files Browse the repository at this point in the history
* fix: Ignore export non-readable mesh tests if OpenGL(ES) is used, since tests on Ubuntu/OpenGL with 2022.3 and 6000.0 fail consistently.
  • Loading branch information
atteneder authored and GitHub Enterprise committed Sep 5, 2024
1 parent 1b88112 commit 64f3257
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased] -
## [6.8.0] - 2024-09-05

### Added
- (Import) Setting to create textures readable. This allows users to access resulting textures from their scripts.
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Scripts/Export/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace GLTFast.Export
{
static class Constants
{
public const string version = "6.7.1";
public const string version = "6.8.0";

internal const string mimeTypePNG = "image/png";
internal const string mimeTypeJPG = "image/jpeg";
Expand Down
7 changes: 7 additions & 0 deletions Tests/Runtime/Scripts/Export/ExportNonReadableTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
using Unity.glTF.Validator;
#endif // GLTF_VALIDATOR
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.TestTools;

namespace GLTFast.Tests.Export
Expand Down Expand Up @@ -129,6 +130,12 @@ public void OneTimeSetup()

void Certify()
{
if (SystemInfo.graphicsDeviceType == GraphicsDeviceType.OpenGLCore
|| SystemInfo.graphicsDeviceType == GraphicsDeviceType.OpenGLES2
|| SystemInfo.graphicsDeviceType == GraphicsDeviceType.OpenGLES3)
{
Assert.Ignore("Exporting non-readable meshes is unreliable on OpenGL/OpenGLES.");
}
#if !(UNITY_6000_0_OR_NEWER || (UNITY_EDITOR && UNITY_2022_3_OR_NEWER))
Assert.Ignore("Exporting non-readable meshes is unreliable on Unity versions before 6.");
#endif
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.unity.cloud.gltfast",
"version": "6.7.1",
"version": "6.8.0",
"displayName": "Unity glTFast",
"description": "Use glTFast to import and export glTF 3D files efficiently at runtime or in the Editor",
"unity": "2020.3",
Expand Down

0 comments on commit 64f3257

Please sign in to comment.