From d693df4c8e704bcd38a81dfd63fc4be8ca18389d Mon Sep 17 00:00:00 2001 From: Masataka SUMI Date: Wed, 29 Jan 2025 12:23:26 +0900 Subject: [PATCH 1/2] Updated the supported library versions for previous Unity versions in the README. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2698b2346..d997bed71 100644 --- a/README.md +++ b/README.md @@ -62,8 +62,8 @@ These are **not supported**. | Unity Version | UniVRM Release | VRM 1.0 support | | ------------- | ----------------------------------------------------------------- | --------------- | -| 2021.3 | [v0.112.0](https://github.com/vrm-c/UniVRM/releases/tag/v0.112.0) | Yes | -| 2020.3 | [v0.100.0](https://github.com/vrm-c/UniVRM/releases/tag/v0.100.0) | Yes | +| 2021.3 | [v0.112.0](https://github.com/vrm-c/UniVRM/releases/tag/v0.127.0) | Yes | +| 2020.3 | [v0.100.0](https://github.com/vrm-c/UniVRM/releases/tag/v0.111.0) | Yes | | 2019.3 | [v0.99.1](https://github.com/vrm-c/UniVRM/releases/tag/v0.99.1) | No | | 2018.4 | [v0.79.0](https://github.com/vrm-c/UniVRM/releases/tag/v0.79.0) | No | From dc8b841f1edfcae1f67a8a4a5afe2dafecf426c6 Mon Sep 17 00:00:00 2001 From: Isamu Mogi Date: Wed, 29 Jan 2025 19:41:28 +0900 Subject: [PATCH 2/2] =?UTF-8?q?Unity6=E3=81=A7GraphicsSettings.renderPipel?= =?UTF-8?q?ineAsset=E3=81=8CObsolete=E8=AD=A6=E5=91=8A=E3=82=92=E5=87=BA?= =?UTF-8?q?=E3=81=99=E3=81=AE=E3=81=AB=E5=AF=BE=E5=BF=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unity6でGraphicsSettings.renderPipelineAssetがObsoleteになり、次のような警告が出ていました。 ``` Assets/VRM/Editor/BuildClass.cs(31,13): warning CS0618: 'GraphicsSettings.renderPipelineAsset' is obsolete: 'renderPipelineAsset has been deprecated. Use defaultRenderPipeline instead (UnityUpgradable) -> defaultRenderPipeline' ``` Unity6以降では、代わりとして推奨されるフィールド defaultRenderPipeline を使うようにしました。 --- Assets/VRM/Editor/BuildClass.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Assets/VRM/Editor/BuildClass.cs b/Assets/VRM/Editor/BuildClass.cs index cff6d56ff..4a2c051f8 100644 --- a/Assets/VRM/Editor/BuildClass.cs +++ b/Assets/VRM/Editor/BuildClass.cs @@ -28,7 +28,11 @@ namespace VRM.DevOnly public static void SwitchBuiltinPipeline() { +#if UNITY_6000_0_OR_NEWER + UnityEngine.Rendering.GraphicsSettings.defaultRenderPipeline = null; +#else UnityEngine.Rendering.GraphicsSettings.renderPipelineAsset = null; +#endif } public static void BuildWebGL_SimpleViewer()