From 83182e7f3e86926bf130817d401a331829401fac Mon Sep 17 00:00:00 2001 From: NINI Date: Fri, 9 Oct 2026 00:23:55 +0900 Subject: [PATCH] Clarify the scope of captured mesh resource measurements --- Assets/MagnetismHeroes/Tests/PlayMode/VisualUpgradePlayTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/MagnetismHeroes/Tests/PlayMode/VisualUpgradePlayTests.cs b/Assets/MagnetismHeroes/Tests/PlayMode/VisualUpgradePlayTests.cs index d42f063..ec05e5b 100644 --- a/Assets/MagnetismHeroes/Tests/PlayMode/VisualUpgradePlayTests.cs +++ b/Assets/MagnetismHeroes/Tests/PlayMode/VisualUpgradePlayTests.cs @@ -302,7 +302,7 @@ namespace MagnetismHeroes.Tests editorCameraRenderMilliseconds = (float)timer.Elapsed.TotalMilliseconds, textureMemory = Resources.FindObjectsOfTypeAll().Sum(item => Profiler.GetRuntimeMemorySizeLong(item)), allocatedMemory = Profiler.GetTotalAllocatedMemoryLong(), cameraPosition = camera.transform.position, cameraRotation = camera.transform.rotation, - method = "Actual Main scene PlayMode Camera.Render to RT, ScreenSpaceCamera canvas; simulated viewport, not Android capture. Triangles are resident mesh-instance index counts, including inactive retained scene objects; Camera.Render elapsed is Editor CPU wall time, not GPU time or device FPS. Texture memory includes all Editor-loaded textures." }; + method = "Actual Main scene PlayMode Camera.Render to RT, ScreenSpaceCamera canvas; simulated viewport, not Android capture. Triangles are resident index counts for active mesh instances, including the retained floor with its Renderer disabled; they are not submitted GPU triangles. Camera.Render elapsed is Editor CPU wall time, not GPU time or device FPS. Texture memory includes all Editor-loaded textures." }; File.WriteAllText(Path.Combine(_evidence, name + ".json"), JsonUtility.ToJson(record, true)); if (name == "world21-ten-single-groups-phone-default") File.WriteAllLines(Path.Combine(_evidence, "editor-loaded-textures.txt"), Resources.FindObjectsOfTypeAll()