From d1eed168eed96b58018502da733a0a8966b02b3e Mon Sep 17 00:00:00 2001 From: ousttrue Date: Mon, 20 Jul 2020 19:01:45 +0900 Subject: [PATCH] component that has reference to self hierarchy may cause freeze editor --- Assets/VRM/UniHumanoid/Scripts/IO/BvhImporterContext.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Assets/VRM/UniHumanoid/Scripts/IO/BvhImporterContext.cs b/Assets/VRM/UniHumanoid/Scripts/IO/BvhImporterContext.cs index 9bab1d45b..12d87d9a8 100644 --- a/Assets/VRM/UniHumanoid/Scripts/IO/BvhImporterContext.cs +++ b/Assets/VRM/UniHumanoid/Scripts/IO/BvhImporterContext.cs @@ -117,9 +117,6 @@ namespace UniHumanoid renderer.sharedMaterial = Material; Mesh = renderer.sharedMesh; Mesh.name = "box-man"; - - Root.AddComponent(); - } static Transform BuildHierarchy(Transform parent, BvhNode node, float toMeter)