From f67b4d72694d05dfb6459c06d574c783e136de85 Mon Sep 17 00:00:00 2001 From: RDAG Date: Mon, 27 Jan 2025 00:18:19 +0900 Subject: [PATCH 1/2] fix compile error in unity 2021 --- .../SpringBone/VRM10SpringBoneColliderGroupEditor.cs | 4 ++++ Assets/VRM10/Editor/Vrm10InstanceEditor.cs | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Assets/VRM10/Editor/Components/SpringBone/VRM10SpringBoneColliderGroupEditor.cs b/Assets/VRM10/Editor/Components/SpringBone/VRM10SpringBoneColliderGroupEditor.cs index 079129434..012a3e162 100644 --- a/Assets/VRM10/Editor/Components/SpringBone/VRM10SpringBoneColliderGroupEditor.cs +++ b/Assets/VRM10/Editor/Components/SpringBone/VRM10SpringBoneColliderGroupEditor.cs @@ -43,7 +43,11 @@ namespace UniVRM10 { bindingPath = nameof(VRM10SpringBoneColliderGroup.Colliders) }; +#if UNITY_2022_3_OR_NEWER m_colliders.selectionChanged += (e) => +#else + m_colliders.onSelectionChange += (e) => +#endif { var item = (SerializedProperty)e.FirstOrDefault(); if (item == null) diff --git a/Assets/VRM10/Editor/Vrm10InstanceEditor.cs b/Assets/VRM10/Editor/Vrm10InstanceEditor.cs index 4c6cc7c28..906398682 100644 --- a/Assets/VRM10/Editor/Vrm10InstanceEditor.cs +++ b/Assets/VRM10/Editor/Vrm10InstanceEditor.cs @@ -309,7 +309,11 @@ namespace UniVRM10 root.Add(m_springs); var selected = new PropertyField(); +#if UNITY_2022_3_OR_NEWER m_springs.selectedIndicesChanged += (e) => +#else + m_springs.onSelectedIndicesChange += (e) => +#endif { var values = e.ToArray(); if (values.Length > 0) From 7ab82cd9a04ae75f8ed81402b5309ab99afc9259 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Mon, 27 Jan 2025 16:33:51 +0900 Subject: [PATCH 2/2] Update supported Unity version to 2022.3LTS --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 387644f83..2698b2346 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ UniVRM can import/export following supported file types at both runtime and edit ## Supported Environments -The latest UniVRM supports Unity 2021.3 LTS or later. +The latest UniVRM supports Unity 2022.3 LTS or later from `v0.128.0`. UniVRM supports scripting backends both .NET and IL2CPP.