From 2a9d1d4baa2304b4a653e8e12671af651e82b250 Mon Sep 17 00:00:00 2001 From: y-kanno Date: Thu, 25 Aug 2022 19:00:53 +0900 Subject: [PATCH] Remove multi-frame profiler sample --- Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshUploader.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshUploader.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshUploader.cs index 7185b724e..e3fdf102d 100644 --- a/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshUploader.cs +++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshUploader.cs @@ -107,7 +107,6 @@ namespace UniGLTF MeshData data, Func materialFromIndex) { - Profiler.BeginSample("MeshUploader.BuildMesh"); //Debug.Log(prims.ToJson()); var mesh = new Mesh @@ -150,7 +149,6 @@ namespace UniGLTF await BuildBlendShapeAsync(awaitCaller, mesh, blendShape, emptyVertices); } } - Profiler.EndSample(); Profiler.BeginSample("Mesh.UploadMeshData"); mesh.UploadMeshData(false);