From 0bdd18c40816d0791f93b56c1ee70cd61ddb963a Mon Sep 17 00:00:00 2001 From: ousttrue Date: Thu, 10 Jun 2021 19:57:12 +0900 Subject: [PATCH] fix humanoid SubAssetKey --- Assets/VRM10/Runtime/IO/Vrm10Importer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/VRM10/Runtime/IO/Vrm10Importer.cs b/Assets/VRM10/Runtime/IO/Vrm10Importer.cs index 4eeb035cd..4b09f02fc 100644 --- a/Assets/VRM10/Runtime/IO/Vrm10Importer.cs +++ b/Assets/VRM10/Runtime/IO/Vrm10Importer.cs @@ -621,7 +621,7 @@ namespace UniVRM10 public override void TransferOwnership(TakeResponsibilityForDestroyObjectFunc take) { // VRM 固有のリソース(ScriptableObject) - if (take(default, m_humanoid)) + if (take(SubAssetKey.Create(m_humanoid), m_humanoid)) { m_humanoid = null; }