MirzkisD1Ex0 1 month ago
parent
commit
07c682b1f3
24 changed files with 1484 additions and 1382 deletions
  1. 297 0
      Materials/Funny/CubeController.cs
  2. BIN
      Materials/Models/Dingus/The Funky Russian Train.mp3
  3. BIN
      Materials/Models/Dingus/dingus_nowhiskers.jpg
  4. BIN
      Materials/Models/Dingus/dingus_whiskers.tga.png
  5. BIN
      Materials/Models/Dingus/maxwell the cat.max
  6. BIN
      Materials/Models/Dingus/maxwellthecat.fbx
  7. 74 0
      Materials/Networking/SocketIO/SocketIOClientManager.cs
  8. 0 497
      Materials/Networking/Upload/Upload2ZCManager.cs
  9. 90 0
      ToneTuneToolkit/Assets/ToneTuneToolkit/Modules/IO/Printer/Scripts/PrinterConfiger.cs
  10. 11 0
      ToneTuneToolkit/Assets/ToneTuneToolkit/Modules/IO/Printer/Scripts/PrinterConfiger.cs.meta
  11. 1 6
      ToneTuneToolkit/Assets/ToneTuneToolkit/Modules/IO/Printer/Scripts/PrinterFileProcessor.cs
  12. 124 19
      ToneTuneToolkit/Assets/ToneTuneToolkit/Modules/IO/Printer/Scripts/PrinterManager.cs
  13. 7 2
      ToneTuneToolkit/Assets/ToneTuneToolkit/Modules/Networking/Upload/Upload2OYManager.cs
  14. 131 72
      ToneTuneToolkit/Assets/ToneTuneToolkit/Modules/Networking/Upload/Upload2ZCManager.cs
  15. 66 1
      ToneTuneToolkit/Assets/ToneTuneToolkit/Scripts/Media/ScreenshotMaster.cs
  16. BIN
      ToneTuneToolkit/Assets/ToneTuneToolkit/Textures/transparent.png
  17. 179 0
      ToneTuneToolkit/Assets/ToneTuneToolkit/Textures/transparent.png.meta
  18. 254 96
      ToneTuneToolkit/Logs/AssetImportWorker0-prev.log
  19. 0 288
      ToneTuneToolkit/Logs/AssetImportWorker0.log
  20. 228 94
      ToneTuneToolkit/Logs/AssetImportWorker1-prev.log
  21. 0 280
      ToneTuneToolkit/Logs/AssetImportWorker1.log
  22. 0 6
      ToneTuneToolkit/Logs/shadercompiler-AssetImportWorker0.log
  23. 1 0
      ToneTuneToolkit/Logs/shadercompiler-UnityShaderCompiler.exe0.log
  24. 21 21
      ToneTuneToolkit/UserSettings/Layouts/default-2022.dwlt

+ 297 - 0
Materials/Funny/CubeController.cs

@@ -0,0 +1,297 @@
+using UnityEngine;
+
+public class CubeController : MonoBehaviour
+{
+  [SerializeField] private bool isDebug = false;
+  [Header("基础旋转设置")]
+  [SerializeField] private float baseRotationSpeed = 30f;
+  [SerializeField] private float directionChangeInterval = 3f;
+
+  [Header("随机范围")]
+  [SerializeField] private Vector3 minRotationSpeed = new Vector3(-50, -50, -50);
+  [SerializeField] private Vector3 maxRotationSpeed = new Vector3(50, 50, 50);
+
+  [Header("增强效果设置")]
+  [SerializeField] private bool useEaseInOut = true;
+  [SerializeField] private AnimationCurve easeCurve = AnimationCurve.EaseInOut(0, 0, 1, 1);
+  [SerializeField] private bool useRandomCurve = false;
+  [SerializeField] private AnimationCurve[] randomCurves;
+
+  private Vector3 targetRotationSpeed;
+  private Vector3 currentRotationSpeed;
+  private Vector3 previousRotationSpeed;
+  private float timeSinceLastDirectionChange;
+  private AnimationCurve currentCurve;
+
+  // ==================================================
+
+  private void Start() => Init();
+
+  private void Update()
+  {
+    // 更新时间
+    timeSinceLastDirectionChange += Time.deltaTime;
+
+    // 计算插值进度(0到1)
+    float progress = Mathf.Clamp01(timeSinceLastDirectionChange / directionChangeInterval);
+
+    // 应用缓动插值
+    if (useEaseInOut && currentCurve != null)
+    {
+      float easedProgress = currentCurve.Evaluate(progress);
+      currentRotationSpeed = Vector3.Lerp(previousRotationSpeed, targetRotationSpeed, easedProgress);
+    }
+    else
+    {
+      // 线性插值
+      currentRotationSpeed = Vector3.Lerp(previousRotationSpeed, targetRotationSpeed, progress);
+    }
+
+    // 应用旋转
+    transform.Rotate(currentRotationSpeed * Time.deltaTime);
+
+    // 定期改变旋转方向和曲线
+    if (timeSinceLastDirectionChange >= directionChangeInterval)
+    {
+      GenerateNewRotationTarget();
+      if (useRandomCurve)
+      {
+        SelectRandomCurve();
+      }
+      timeSinceLastDirectionChange = 0f;
+    }
+  }
+
+  private void OnGUI() => DEBUG_ShowInfo();
+  private void OnDrawGizmos() => DEBUG_DrawGizmo();
+  private void OnDestroy() => UnInit();
+
+  // ==================================================
+
+  private void Init()
+  {
+    // 初始化随机曲线数组(如果没有手动赋值)
+    if (randomCurves == null || randomCurves.Length == 0) { SetDefaultCurves(); }
+
+    // 初始化旋转速度
+    GenerateNewRotationTarget();
+    currentRotationSpeed = targetRotationSpeed;
+    previousRotationSpeed = currentRotationSpeed;
+
+    // 选择初始曲线
+    SelectRandomCurve();
+
+    // Wireframe
+    meshFilter = GetComponent<MeshFilter>();
+    CreateLineMaterial();
+
+    // 隐藏原来的网格渲染器
+    MeshRenderer originalRenderer = GetComponent<MeshRenderer>();
+    if (originalRenderer != null)
+    {
+      originalRenderer.enabled = false;
+    }
+  }
+
+  private void UnInit()
+  {
+    if (lineMaterial != null) { DestroyImmediate(lineMaterial); }
+  }
+
+  // ==================================================
+
+  /// <summary>
+  /// 设置默认曲线
+  /// </summary>
+  private void SetDefaultCurves()
+  {
+    // 创建一组默认的动画曲线
+    randomCurves = new AnimationCurve[6];
+
+    // 1. 标准缓入缓出
+    randomCurves[0] = AnimationCurve.EaseInOut(0, 0, 1, 1);
+
+    // 2. 快速开始慢速结束
+    randomCurves[1] = new AnimationCurve(
+        new Keyframe(0, 0),
+        new Keyframe(0.2f, 0.8f),
+        new Keyframe(1, 1)
+    );
+
+    // 3. 慢速开始快速结束
+    randomCurves[2] = new AnimationCurve(
+        new Keyframe(0, 0),
+        new Keyframe(0.8f, 0.2f),
+        new Keyframe(1, 1)
+    );
+
+    // 4. 弹性效果
+    randomCurves[3] = new AnimationCurve(
+        new Keyframe(0, 0),
+        new Keyframe(0.3f, 1.1f),
+        new Keyframe(0.6f, 0.9f),
+        new Keyframe(1, 1)
+    );
+
+    // 5. 阶梯效果
+    randomCurves[4] = new AnimationCurve(
+        new Keyframe(0, 0),
+        new Keyframe(0.3f, 0.3f),
+        new Keyframe(0.31f, 0.7f),
+        new Keyframe(1, 1)
+    );
+
+    // 6. 平滑线性
+    randomCurves[5] = new AnimationCurve(
+        new Keyframe(0, 0),
+        new Keyframe(1, 1)
+    );
+  }
+
+
+
+  private void GenerateNewRotationTarget()
+  {
+    // 保存当前速度作为插值起点
+    previousRotationSpeed = currentRotationSpeed;
+
+    // 生成新的随机旋转速度
+    targetRotationSpeed = new Vector3(
+        Random.Range(minRotationSpeed.x, maxRotationSpeed.x),
+        Random.Range(minRotationSpeed.y, maxRotationSpeed.y),
+        Random.Range(minRotationSpeed.z, maxRotationSpeed.z)
+    );
+  }
+
+  private void SelectRandomCurve()
+  {
+    if (randomCurves != null && randomCurves.Length > 0)
+    {
+      int randomIndex = Random.Range(0, randomCurves.Length);
+      currentCurve = randomCurves[randomIndex];
+    }
+    else
+    {
+      // 回退到默认缓动曲线
+      currentCurve = AnimationCurve.EaseInOut(0, 0, 1, 1);
+    }
+  }
+
+
+  // 编辑器方法:重新生成目标
+  [ContextMenu("重新生成旋转目标")]
+  public void RegenerateTarget()
+  {
+    GenerateNewRotationTarget();
+    if (useRandomCurve)
+    {
+      SelectRandomCurve();
+    }
+    timeSinceLastDirectionChange = 0f;
+  }
+
+  // 编辑器方法:设置基础速度
+  [ContextMenu("应用基础速度")]
+  public void ApplyBaseSpeed()
+  {
+    minRotationSpeed = new Vector3(-baseRotationSpeed, -baseRotationSpeed, -baseRotationSpeed);
+    maxRotationSpeed = new Vector3(baseRotationSpeed, baseRotationSpeed, baseRotationSpeed);
+    RegenerateTarget();
+  }
+
+  // ==================================================
+  #region Wireframe
+
+  [Header("线框设置")]
+  [SerializeField] private Color wireframeColor = Color.cyan;
+  [SerializeField] private float lineWidth = 0.02f;
+
+  private MeshFilter meshFilter;
+  private Material lineMaterial;
+
+  private void CreateLineMaterial()
+  {
+    // 创建用于绘制线的材质
+    lineMaterial = new Material(Shader.Find("Hidden/Internal-Colored"));
+    lineMaterial.hideFlags = HideFlags.HideAndDontSave;
+  }
+
+  private void OnRenderObject()
+  {
+    if (meshFilter == null || meshFilter.sharedMesh == null)
+      return;
+
+    // 设置材质
+    lineMaterial.SetPass(0);
+
+    GL.PushMatrix();
+    GL.MultMatrix(transform.localToWorldMatrix);
+
+    GL.Begin(GL.LINES);
+    GL.Color(wireframeColor);
+
+    Mesh mesh = meshFilter.sharedMesh;
+    Vector3[] vertices = mesh.vertices;
+    int[] triangles = mesh.triangles;
+
+    // 绘制所有三角形的边
+    for (int i = 0; i < triangles.Length; i += 3)
+    {
+      DrawTriangleLine(vertices[triangles[i]], vertices[triangles[i + 1]], vertices[triangles[i + 2]]);
+    }
+
+    GL.End();
+    GL.PopMatrix();
+  }
+
+  private void DrawTriangleLine(Vector3 a, Vector3 b, Vector3 c)
+  {
+    GL.Vertex(a);
+    GL.Vertex(b);
+
+    GL.Vertex(b);
+    GL.Vertex(c);
+
+    GL.Vertex(c);
+    GL.Vertex(a);
+  }
+
+  #endregion
+  // ==================================================
+  #region DEBUG
+
+  // 在Inspector中显示调试信息
+  private void DEBUG_ShowInfo()
+  {
+    if (!isDebug) { return; }
+    if (Application.isPlaying)
+    {
+      GUILayout.BeginArea(new Rect(10, 10, 300, 150));
+      GUILayout.Label($"当前旋转速度: {currentRotationSpeed}");
+      GUILayout.Label($"目标旋转速度: {targetRotationSpeed}");
+      GUILayout.Label($"时间进度: {timeSinceLastDirectionChange:F1}/{directionChangeInterval}");
+      GUILayout.Label($"进度百分比: {timeSinceLastDirectionChange / directionChangeInterval * 100:F1}%");
+      GUILayout.EndArea();
+    }
+  }
+
+  // 可视化调试(在Scene视图中显示)
+  private void DEBUG_DrawGizmo()
+  {
+    if (!isDebug) { return; }
+    if (Application.isPlaying)
+    {
+      // 绘制旋转轴指示器
+      Gizmos.color = Color.red;
+      Vector3 direction = currentRotationSpeed.normalized;
+      Gizmos.DrawRay(transform.position, direction * 2f);
+
+      // 绘制速度大小的球体
+      Gizmos.color = Color.blue;
+      float speed = currentRotationSpeed.magnitude / 100f;
+      Gizmos.DrawWireSphere(transform.position, speed);
+    }
+  }
+
+  #endregion
+}

BIN
Materials/Models/Dingus/The Funky Russian Train.mp3


BIN
Materials/Models/Dingus/dingus_nowhiskers.jpg


BIN
Materials/Models/Dingus/dingus_whiskers.tga.png


BIN
Materials/Models/Dingus/maxwell the cat.max


BIN
Materials/Models/Dingus/maxwellthecat.fbx


+ 74 - 0
Materials/Networking/SocketIO/SocketIOClientManager.cs

@@ -0,0 +1,74 @@
+/// <summary>
+/// Copyright (c) 2025 MirzkisD1Ex0 All rights reserved.
+/// Code Version 1.5.2
+/// </summary>
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using Best.SocketIO;
+using Best.SocketIO.Events;
+using ToneTuneToolkit.Common;
+using UnityEngine;
+using UnityEngine.Events;
+
+namespace ToneTuneToolkit.Networking
+{
+  /// <summary>
+  /// SocketIO通信
+  /// </summary>
+  public class SocketIOClientManager : SingletonMaster<SocketIOClientManager>
+  {
+    public static UnityAction<string> OnDeviceStart;
+
+    private const string Address = @"wss://node.skyelook.com"; // 开头为wss且结尾并非/socket.io
+                                                               // private const string Address = "ws://192.168.50.130:3500";
+
+    private SocketManager socketManager;
+
+    // ==================================================
+
+    private void Start() => Init();
+    private void OnDestroy() => UnInit();
+
+    // ==================================================
+
+    private void Init()
+    {
+      socketManager = new SocketManager(new Uri(Address));
+      socketManager.Options.AutoConnect = false;
+      socketManager.Socket.On<ConnectResponse>(SocketIOEventTypes.Connect, OnConnected);
+      socketManager.Socket.On<ConnectResponse>(SocketIOEventTypes.Error, OnError);
+      socketManager.Socket.On<string>("michelin-start", OnStart);
+
+      socketManager.Open();
+    }
+
+    private void UnInit()
+    {
+      if (socketManager != null)
+      {
+        socketManager.Close();
+        socketManager = null;
+      }
+    }
+
+    // ==================================================
+
+    private void OnConnected(ConnectResponse resp)
+    {
+      Debug.Log("[SocketIOM] Connected.");
+    }
+
+    private void OnError(ConnectResponse resp)
+    {
+      Debug.Log(@$"[SocketIOM] {resp}");
+    }
+
+    private void OnStart(string value)
+    {
+      Debug.Log(@$"[SocketIOM] Start. {value}");
+      OnDeviceStart?.Invoke(value);
+    }
+  }
+}

+ 0 - 497
Materials/Networking/Upload/Upload2ZCManager.cs

@@ -1,497 +0,0 @@
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.Networking;
-using ToneTuneToolkit.Common;
-using UnityEngine.Events;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Linq;
-using System;
-using System.Text;
-
-/// <summary>
-/// 对志城综合法宝
-/// </summary>
-public class Upload2ZCManager : SingletonMaster<Upload2ZCManager>
-{
-
-  // ==================================================
-  #region 2025.6 VWAIPhoto
-
-  public static UnityAction<Texture2D, bool> OnVWAvatarFinished;
-
-  private const string VWSUBMITURL = @"https://vw-v-space.studiocapsule.cn/api/device/submitTask";
-
-  public void UpgradeVWUserData(string gender, string car, string address, Texture2D file)
-  {
-    uVWUD.gender = gender;
-    uVWUD.car = car;
-    uVWUD.address = address;
-    uVWUD.file = file.EncodeToPNG();
-    return;
-  }
-
-  // ==================================================
-  // 提交生成任务
-
-  public void SubmitVWUserPhoto() => StartCoroutine(nameof(SubmitVWUserPhotoAction));
-  private IEnumerator SubmitVWUserPhotoAction()
-  {
-    WWWForm wwwForm = new WWWForm();
-    wwwForm.AddField("gender", uVWUD.gender);
-    wwwForm.AddField("car", uVWUD.car);
-    wwwForm.AddField("address", uVWUD.address);
-    wwwForm.AddBinaryData("file", uVWUD.file);
-
-    using (UnityWebRequest www = UnityWebRequest.Post(VWSUBMITURL, wwwForm))
-    {
-      www.downloadHandler = new DownloadHandlerBuffer();
-      yield return www.SendWebRequest();
-
-      if (www.result != UnityWebRequest.Result.Success)
-      {
-        Debug.Log($"[U2ZCM] {www.error}");
-        yield break;
-      }
-
-      Debug.Log($"[U2ZCM] {www.downloadHandler.text}");
-      try
-      {
-        rVWUD = JsonConvert.DeserializeObject<Respon_VWUserData>(www.downloadHandler.text);
-      }
-      catch
-      {
-        OnVWAvatarFinished?.Invoke(null, false);
-      }
-      if (rVWUD.code != 0)
-      {
-        Debug.Log($"[U2ZCM] Code Error");
-        yield break;
-      }
-
-      StartQueryTask(); // 轮询直到出答案
-    }
-    yield break;
-  }
-
-
-
-  private Upload_VWUserData uVWUD = new Upload_VWUserData();
-  [SerializeField] private Respon_VWUserData rVWUD = new Respon_VWUserData();
-
-  [Serializable]
-  public class Upload_VWUserData
-  {
-    public string gender;
-    public string car;
-    public string address;
-    public byte[] file;
-  }
-
-  [Serializable]
-  public class Respon_VWUserData
-  {
-    public int code;
-    public Respon_VWUserDataData data;
-  }
-
-  [Serializable]
-  public class Respon_VWUserDataData
-  {
-    public string task_code;
-  }
-
-  // ==================================================
-  // 轮询
-
-  private int queryCount = 0;
-  private const string VWQUERYURL = @"https://vw-v-space.studiocapsule.cn/api/device/queryTask";
-
-  public void StartQueryTask() { StartCoroutine(nameof(QueryTaskAction)); }
-  public void StopQueryTask() { StopCoroutine(nameof(QueryTaskAction)); }
-  private IEnumerator QueryTaskAction()
-  {
-    yield return new WaitForSeconds(5f); // 先等5秒
-    while (true)
-    {
-      queryCount++;
-
-      if (queryCount > 12)
-      {
-        Debug.Log($"[U2ZCM] 轮询次数过多,停止查询");
-        OnVWAvatarFinished?.Invoke(null, false);
-        yield break;
-      }
-
-      WWWForm wwwForm = new WWWForm();
-      wwwForm.AddField("task_code", rVWUD.data.task_code);
-      using (UnityWebRequest www = UnityWebRequest.Post(VWQUERYURL, wwwForm))
-      {
-        www.downloadHandler = new DownloadHandlerBuffer();
-        yield return www.SendWebRequest();
-
-        if (www.result != UnityWebRequest.Result.Success)
-        {
-          Debug.Log($"[U2ZCM] {www.error}");
-          yield break;
-        }
-
-        Debug.Log($"[U2ZCM] {www.downloadHandler.text}");
-        rVWAD = JsonConvert.DeserializeObject<Respon_VWAvatarData>(www.downloadHandler.text);
-
-        if (rVWUD.code != 0)
-        {
-          Debug.Log($"[U2ZCM] Code Error");
-          OnVWAvatarFinished?.Invoke(null, false);
-          yield break;
-        }
-
-        switch (rVWAD.data.status)
-        {
-          default: break;
-          case 3:
-            queryCount = 0;
-            Debug.Log("[U2ZCM] 开始下载图片");
-            StartCoroutine(nameof(DownloadAvatarAction), rVWAD.data.avatar_url); // 下载图片
-            yield break;
-          case 4:
-            OnVWAvatarFinished?.Invoke(null, false);
-            break;
-        }
-
-        yield return new WaitForSeconds(5f);
-      }
-    }
-  }
-
-
-
-  [SerializeField] private Respon_VWAvatarData rVWAD = new Respon_VWAvatarData();
-
-  [Serializable]
-  public class Respon_VWAvatarData
-  {
-    public int code;
-    public string message;
-    public Respon_VWAvatarDataData data;
-  }
-
-  [Serializable]
-  public class Respon_VWAvatarDataData
-  {
-    public string avatar_url;
-    public int status;
-    public string status_text;
-  }
-
-  // ==================================================
-  // 获取图片
-
-  private IEnumerator DownloadAvatarAction(string url)
-  {
-    using (UnityWebRequest www = UnityWebRequestTexture.GetTexture(url))
-    {
-      yield return www.SendWebRequest();
-      if (www.result != UnityWebRequest.Result.Success)
-      {
-        Debug.Log($"[U2ZCM] {www.error}");
-        yield break;
-      }
-
-      debug_peekQRCode = DownloadHandlerTexture.GetContent(www); // DEBUG
-      OnVWAvatarFinished?.Invoke(DownloadHandlerTexture.GetContent(www), true);
-    }
-    yield break;
-  }
-
-  // ==================================================
-  // 上传图片并获取二维码地址
-
-  private const string VWUPLOADURL = @"https://vw-v-space.studiocapsule.cn/api/device/finalUpload";
-
-  public void UploadVWResult(Texture2D value) => StartCoroutine(nameof(UploadVWResultAction), value);
-  private IEnumerator UploadVWResultAction(Texture2D t2dResult)
-  {
-    WWWForm wwwForm = new WWWForm();
-    wwwForm.AddField("task_code", rVWUD.data.task_code);
-    wwwForm.AddBinaryData("file", t2dResult.EncodeToJPG(), "t2d.jpg", "image/jpeg");
-
-    using (UnityWebRequest www = UnityWebRequest.Post(VWUPLOADURL, wwwForm))
-    {
-      www.downloadHandler = new DownloadHandlerBuffer();
-      yield return www.SendWebRequest();
-
-      if (www.result != UnityWebRequest.Result.Success)
-      {
-        Debug.Log($"[U2ZCM] {www.error}");
-        yield break;
-      }
-
-      Debug.Log($"[U2ZCM] {www.downloadHandler.text}");
-
-      rVWRD = JsonConvert.DeserializeObject<Respon_VWResultData>(www.downloadHandler.text);
-
-      if (rVWRD.code != 0)
-      {
-        Debug.Log($"[U2ZCM] Code Error");
-        yield break;
-      }
-
-      DownloadQRCode(rVWRD.data.qr_url);
-    }
-    yield break;
-  }
-
-
-
-  [SerializeField] private Respon_VWResultData rVWRD = new Respon_VWResultData();
-
-  [Serializable]
-  public class Respon_VWResultData
-  {
-    public int code;
-    public string message;
-    public Respon_VWResultDataData data;
-  }
-  [Serializable]
-  public class Respon_VWResultDataData
-  {
-    public string qr_url;
-    public string file_url;
-  }
-
-  #endregion
-  // ==================================================
-  // ==================================================
-  // ==================================================
-  #region 获取QR图片
-
-  public static UnityAction<Texture2D> OnQRImageDownloaded;
-
-  [SerializeField] private Texture2D debug_peekQRCode;
-
-  public void DownloadQRCode(string url) => StartCoroutine(nameof(DownloadQRCodeAction), url);
-  private IEnumerator DownloadQRCodeAction(string url)
-  {
-    using (UnityWebRequest www = UnityWebRequestTexture.GetTexture(url))
-    {
-      yield return www.SendWebRequest();
-      if (www.result != UnityWebRequest.Result.Success)
-      {
-        Debug.Log($"[U2ZCM] {www.error}");
-        yield break;
-      }
-
-      debug_peekQRCode = DownloadHandlerTexture.GetContent(www); // DEBUG
-      OnQRImageDownloaded?.Invoke(DownloadHandlerTexture.GetContent(www));
-    }
-    yield break;
-  }
-
-  #endregion
-  // ==================================================
-  #region 上传文件流
-
-  private const string uploadURL = @"https://vw-aud.studiocapsule.cn/api/device/uploadWall";
-
-  public UnityAction<string> OnUploadFinished;
-
-  public void UploadData(byte[] fileBytes) => StartCoroutine(nameof(UploadDataAction), fileBytes);
-  private IEnumerator UploadDataAction(byte[] fileBytes)
-  {
-    WWWForm wwwForm = new WWWForm();
-    wwwForm.AddBinaryData("file", fileBytes);
-
-    using (UnityWebRequest www = UnityWebRequest.Post(uploadURL, wwwForm))
-    {
-
-      // www.SetRequestHeader("Content-Type", "multipart/form-data"); // wwwForm不要手动设置避免boundary消失
-      www.downloadHandler = new DownloadHandlerBuffer();
-      yield return www.SendWebRequest();
-
-      if (www.result != UnityWebRequest.Result.Success)
-      {
-        Debug.Log($"[U2ZCM] {www.error}");
-        yield break;
-      }
-
-      Debug.Log($"[U2ZCM] {www.downloadHandler.text}");
-      ResponData responData = JsonConvert.DeserializeObject<ResponData>(www.downloadHandler.text);
-
-      // // 解析方案A 动态类型
-      // dynamic data = responData.data;
-      // string qr = data.qr_url;
-
-      // 解析方案B
-      JObject data = JObject.FromObject(responData.data);
-      string qr_url = data["qr_url"].ToString();
-
-      // Debug.Log(qr_url);
-      DownloadQRCode(qr_url);
-    }
-    yield break;
-  }
-
-  #endregion
-  // ==================================================
-
-  public class ResponData
-  {
-    public int code;
-    public string message;
-    public object data;
-  }
-
-
-
-  #region 2025.04 Nike ADT
-
-  // private const string USERINFOREQUESTURL = @"https://nike-adt.studiocapsule.cn/api/device/scanQr";
-  // public static UnityAction<UserInfo> OnUserInfoDownloaded;
-
-  // /// <summary>
-  // /// 获取用户信息
-  // /// </summary>
-  // /// <param name="url"></param>
-  // public void GetUserInfo(string url) => StartCoroutine(nameof(GetUserInfoAction), url);
-  // private IEnumerator GetUserInfoAction(string url)
-  // {
-  //   WWWForm wwwForm = new WWWForm();
-  //   wwwForm.AddField("qr_content", url);
-
-  //   using (UnityWebRequest www = UnityWebRequest.Post(USERINFOREQUESTURL, wwwForm))
-  //   {
-  //     www.downloadHandler = new DownloadHandlerBuffer();
-  //     yield return www.SendWebRequest();
-
-  //     if (www.result != UnityWebRequest.Result.Success)
-  //     {
-  //       Debug.Log($"[U2ZCM] {www.error}");
-  //       yield break;
-  //     }
-
-  //     Debug.Log($"[U2ZCM] {www.downloadHandler.text}");
-  //     try
-  //     {
-  //       uird = JsonConvert.DeserializeObject<Respon_UserInfoData>(www.downloadHandler.text);
-  //     }
-  //     catch (Exception)
-  //     {
-  //       Debug.Log($"[U2ZCM] 解析错误");
-  //       yield break;
-  //     }
-
-  //     if (uird.code != 0)
-  //     {
-  //       if (OnUserInfoDownloaded != null)
-  //       {
-  //         OnUserInfoDownloaded(null);
-  //       }
-  //       yield break;
-  //     }
-
-  //     if (OnUserInfoDownloaded != null)
-  //     {
-  //       UserInfo ui = new UserInfo();
-  //       ui.name = uird.data.name;
-  //       ui.code = uird.data.code;
-  //       ui.save_car = uird.data.save_car;
-  //       ui.can_play = uird.data.can_play;
-  //       OnUserInfoDownloaded(ui);
-  //     }
-  //   }
-  //   yield break;
-  // }
-
-  // private Respon_UserInfoData uird = new Respon_UserInfoData();
-
-  // [Serializable]
-  // public class Respon_UserInfoData
-  // {
-  //   public int code;
-  //   public string message;
-  //   public UserInfo data;
-  // }
-
-  // [Serializable]
-  // public class UserInfo
-  // {
-  //   public string name;
-  //   public string code;
-  //   public string save_car;
-  //   public string can_play;
-  // }
-
-  // // ==================================================
-
-  // private const string USERIMAGEUPLOADURL = @"https://nike-adt.studiocapsule.cn/api/device/upload";
-
-  // public static UnityAction<string> OnUserImageUploaded;
-
-  // [SerializeField] private Upload_UserImageData uUID;
-  // public void UpdateUserImageData(string user_code, Texture2D t2dPhoto)
-  // {
-  //   uUID = new Upload_UserImageData();
-  //   uUID.user_code = user_code;
-
-  //   byte[] fileBytes = t2dPhoto.EncodeToPNG();
-  //   uUID.file = fileBytes;
-  //   return;
-  // }
-
-  // public void UploadUserImage() => StartCoroutine(nameof(UploadUserImageAction));
-  // private IEnumerator UploadUserImageAction()
-  // {
-  //   WWWForm wwwForm = new WWWForm();
-  //   wwwForm.AddField("user_code", uUID.user_code);
-  //   wwwForm.AddBinaryData("file", uUID.file);
-
-  //   using (UnityWebRequest www = UnityWebRequest.Post(USERIMAGEUPLOADURL, wwwForm))
-  //   {
-  //     www.downloadHandler = new DownloadHandlerBuffer();
-  //     yield return www.SendWebRequest();
-
-  //     if (www.result != UnityWebRequest.Result.Success)
-  //     {
-  //       Debug.Log($"[U2ZCM] {www.error}");
-  //       yield break;
-  //     }
-
-  //     Debug.Log($"[U2ZCM] {www.downloadHandler.text}");
-  //     rUID = JsonConvert.DeserializeObject<Respon_UserImageData>(www.downloadHandler.text);
-
-  //     if (rUID.code != 0)
-  //     {
-  //       Debug.Log($"[U2ZCM] Code Error");
-  //       yield break;
-  //     }
-
-  //     DownloadQRCode(rUID.data.qr_url); // 搞图
-  //   }
-  //   yield break;
-  // }
-
-  // public class Upload_UserImageData
-  // {
-  //   public string user_code;
-  //   public byte[] file;
-  // }
-
-  // private Respon_UserImageData rUID = new Respon_UserImageData();
-
-  // [Serializable]
-  // public class Respon_UserImageData
-  // {
-  //   public int code;
-  //   public string message;
-  //   public Respon_UserImageDataData data;
-  // }
-
-  // [Serializable]
-  // public class Respon_UserImageDataData
-  // {
-  //   public string qr_url;
-  // }
-
-  #endregion
-}

+ 90 - 0
ToneTuneToolkit/Assets/ToneTuneToolkit/Modules/IO/Printer/Scripts/PrinterConfiger.cs

@@ -0,0 +1,90 @@
+/// <summary>
+/// Copyright (c) 2025 MirzkisD1Ex0 All rights reserved.
+/// Code Version 1.5.2
+/// </summary>
+
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+using System.Drawing;
+
+namespace ToneTuneToolkit.IO.Printer
+{
+  /// <summary>
+  /// 打印机配置器
+  /// </summary>
+  public class PrinterConfiger : MonoBehaviour
+  {
+    private void Start() => Init();
+
+    // ==================================================
+
+    private void Init()
+    {
+      // L805();
+      // DNP();
+      // DNP_Theory();
+      L805_A4();
+    }
+
+    // ==================================================
+
+    private void DNP()
+    {
+      PrinterManager.PrinterSetting setting = new PrinterManager.PrinterSetting();
+      setting.PrinterName = "DP-DS620";
+      setting.PaperSizeName = "(4x6)";
+      setting.DPI = 100;
+      setting.WidthInch = 6;
+      setting.HeightInch = 4;
+      setting.Landscape = false;
+      setting.Margin = Vector4.zero;
+      setting.rotateFlip = RotateFlipType.Rotate270FlipNone;
+      PrinterManager.Instance.SetPrinter(setting);
+    }
+
+    private void DNP_Theory()
+    {
+      // 纸张规格:PR(4x6)
+      // 边框:禁用
+      PrinterManager.PrinterSetting setting = new PrinterManager.PrinterSetting();
+      setting.PrinterName = "DP-DS620";
+      setting.PaperSizeName = "PR(4x6)";
+      setting.DPI = 100;
+      setting.WidthInch = 4;
+      setting.HeightInch = 6;
+      setting.Landscape = false;
+      setting.Margin = Vector4.zero;
+      setting.rotateFlip = RotateFlipType.RotateNoneFlipNone;
+      PrinterManager.Instance.SetPrinter(setting);
+    }
+
+    private void L805_6Inch()
+    {
+      PrinterManager.PrinterSetting setting = new PrinterManager.PrinterSetting();
+      setting.PrinterName = "EPSON L805 Series";
+      setting.PaperSizeName = "(4x6)";
+      setting.DPI = 100;
+      setting.WidthInch = 4;
+      setting.HeightInch = 6;
+      setting.Landscape = false;
+      setting.Margin = Vector4.zero;
+      setting.rotateFlip = RotateFlipType.RotateNoneFlipNone;
+      PrinterManager.Instance.SetPrinter(setting);
+    }
+
+    private void L805_A4()
+    {
+      PrinterManager.PrinterSetting setting = new PrinterManager.PrinterSetting();
+      setting.PrinterName = "EPSON L805 Series";
+      setting.PaperSizeName = "A4";
+      setting.DPI = 100;
+      setting.WidthInch = 12.4f;
+      setting.HeightInch = 17.54f;
+      setting.Landscape = false;
+      setting.Margin = Vector4.zero;
+      setting.rotateFlip = RotateFlipType.RotateNoneFlipNone;
+      PrinterManager.Instance.SetPrinter(setting);
+    }
+  }
+}

+ 11 - 0
ToneTuneToolkit/Assets/ToneTuneToolkit/Modules/IO/Printer/Scripts/PrinterConfiger.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: c15d88e208bb3484f989e08345d15118
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 1 - 6
ToneTuneToolkit/Assets/ToneTuneToolkit/Modules/IO/Printer/Scripts/PrinterFileProcessor.cs

@@ -1,8 +1,3 @@
-/// <summary>
-/// Copyright (c) 2025 MirzkisD1Ex0 All rights reserved.
-/// Code Version 1.5.2
-/// </summary>
-
 using System.Collections;
 using System.Collections.Generic;
 using System.IO;
@@ -124,4 +119,4 @@ namespace ToneTuneToolkit.IO.Printer
       }
     }
   }
-}
+}

+ 124 - 19
ToneTuneToolkit/Assets/ToneTuneToolkit/Modules/IO/Printer/Scripts/PrinterManager.cs

@@ -153,6 +153,10 @@ namespace ToneTuneToolkit.IO.Printer
     // ==================================================
     #region 打印Bitmap
 
+    /// <summary>
+    /// Theory
+    /// </summary>
+    /// <param name="bitmap"></param>
     private void PrintBitmap(Bitmap bitmap)
     {
       using (PrintDocument pd = new PrintDocument())
@@ -165,33 +169,73 @@ namespace ToneTuneToolkit.IO.Printer
           Y = ps.DPI
         };
 
-        int paperWidth = ps.WidthInch * 100;
-        int paperHeight = ps.HeightInch * 100;
+        // 获取打印机的可打印区域
+        PrinterSettings printerSettings = new PrinterSettings();
+        printerSettings.PrinterName = ps.PrinterName;
 
-        PaperSize photoSize = new PaperSize("Custom", paperWidth, paperHeight);
-        pd.DefaultPageSettings.PaperSize = photoSize;
+        // 使用打印机的默认页面设置
         pd.DefaultPageSettings.Margins = new Margins(0, 0, 0, 0);
-        pd.OriginAtMargins = false;
+        pd.OriginAtMargins = true; // 关键:以边距为原点
+
+        // 查找匹配的纸张尺寸
+        PaperSize targetPaperSize = null;
+        foreach (PaperSize paperSize in pd.PrinterSettings.PaperSizes)
+        {
+          if (paperSize.PaperName.Contains("4x6") || paperSize.PaperName.Contains(ps.PaperSizeName))
+          {
+            targetPaperSize = paperSize;
+            break;
+          }
+        }
+
+        if (targetPaperSize != null)
+        {
+          pd.DefaultPageSettings.PaperSize = targetPaperSize;
+          Debug.Log($"[PM] 使用纸张: {targetPaperSize.PaperName}, 尺寸: {targetPaperSize.Width}x{targetPaperSize.Height}");
+        }
+        else
+        {
+          // 如果没有找到匹配的纸张,使用自定义尺寸
+          int paperWidth = (int)(ps.WidthInch * ps.DPI); // 转换为百分之一英寸
+          int paperHeight = (int)(ps.HeightInch * ps.DPI);
+          PaperSize customPaper = new PaperSize("Custom", paperWidth, paperHeight);
+          pd.DefaultPageSettings.PaperSize = customPaper;
+          Debug.Log($"[PM] 使用自定义纸张: {paperWidth}x{paperHeight}");
+        }
 
         pd.PrintPage += (sender, args) =>
         {
           try
           {
-            Debug.Log($"[PM] 开始绘制: 图片{bitmap.Width}x{bitmap.Height} / 页面{args.PageBounds}");
-
-            Rectangle destRect = new Rectangle(
-                  (int)-args.PageSettings.HardMarginX,
-                  (int)-args.PageSettings.HardMarginY,
-                  (int)(args.PageBounds.Width + args.PageSettings.HardMarginX * 2),
-                  (int)(args.PageBounds.Height + args.PageSettings.HardMarginY * 2)
+            Debug.Log($"[PM] 开始绘制: 图片{bitmap.Width}x{bitmap.Height}");
+            Debug.Log($"[PM] 页面边界: {args.PageBounds}");
+            Debug.Log($"[PM] 硬边距: X={args.PageSettings.HardMarginX}, Y={args.PageSettings.HardMarginY}");
+
+            // 旋转图片
+            using (Bitmap rotatedBitmap = new Bitmap(bitmap))
+            {
+              rotatedBitmap.RotateFlip(ps.rotateFlip);
+
+              // 计算实际可打印区域
+              RectangleF printableArea = args.PageSettings.PrintableArea;
+              Rectangle destRect = new Rectangle(
+                  0,
+                  0,
+                  args.PageBounds.Width,
+                  args.PageBounds.Height
               );
 
-            args.Graphics.InterpolationMode = InterpolationMode.HighQualityBicubic;
-            args.Graphics.PixelOffsetMode = PixelOffsetMode.HighQuality;
-            args.Graphics.SmoothingMode = SmoothingMode.HighQuality;
+              // 设置高质量绘制
+              args.Graphics.InterpolationMode = InterpolationMode.HighQualityBicubic;
+              args.Graphics.PixelOffsetMode = PixelOffsetMode.HighQuality;
+              args.Graphics.SmoothingMode = SmoothingMode.HighQuality;
+              args.Graphics.CompositingQuality = CompositingQuality.HighQuality;
+
+              // 绘制到整个页面区域
+              args.Graphics.DrawImage(rotatedBitmap, destRect);
 
-            bitmap.RotateFlip(ps.rotateFlip); // 旋转矫正
-            args.Graphics.DrawImage(bitmap, destRect);
+              Debug.Log($"[PM] 绘制区域: {destRect}");
+            }
 
             Debug.Log("[PM] 绘制完成");
           }
@@ -214,6 +258,67 @@ namespace ToneTuneToolkit.IO.Printer
       }
     }
 
+    // private void PrintBitmap(Bitmap bitmap)
+    // {
+    //   using (PrintDocument pd = new PrintDocument())
+    //   {
+    //     pd.PrinterSettings.PrinterName = ps.PrinterName;
+    //     pd.DefaultPageSettings.PrinterResolution = new PrinterResolution()
+    //     {
+    //       Kind = PrinterResolutionKind.Custom,
+    //       X = ps.DPI,
+    //       Y = ps.DPI
+    //     };
+
+    //     int paperWidth = ps.WidthInch * 100;
+    //     int paperHeight = ps.HeightInch * 100;
+
+    //     PaperSize photoSize = new PaperSize("Custom", paperWidth, paperHeight);
+    //     pd.DefaultPageSettings.PaperSize = photoSize;
+    //     pd.DefaultPageSettings.Margins = new Margins(0, 0, 0, 0);
+    //     pd.OriginAtMargins = true;
+
+    //     pd.PrintPage += (sender, args) =>
+    //     {
+    //       try
+    //       {
+    //         Debug.Log($"[PM] 开始绘制: 图片{bitmap.Width}x{bitmap.Height} / 页面{args.PageBounds}");
+
+    //         Rectangle destRect = new Rectangle(
+    //               (int)-args.PageSettings.HardMarginX,
+    //               (int)-args.PageSettings.HardMarginY,
+    //               (int)(args.PageBounds.Width + args.PageSettings.HardMarginX * 2),
+    //               (int)(args.PageBounds.Height + args.PageSettings.HardMarginY * 2)
+    //           );
+
+    //         args.Graphics.InterpolationMode = InterpolationMode.HighQualityBicubic;
+    //         args.Graphics.PixelOffsetMode = PixelOffsetMode.HighQuality;
+    //         args.Graphics.SmoothingMode = SmoothingMode.HighQuality;
+
+    //         bitmap.RotateFlip(ps.rotateFlip); // 旋转矫正
+    //         args.Graphics.DrawImage(bitmap, destRect);
+
+    //         Debug.Log("[PM] 绘制完成");
+    //       }
+    //       catch (Exception e)
+    //       {
+    //         Debug.LogError("[PM] 绘制图像时出错: " + e.Message);
+    //         args.Cancel = true;
+    //       }
+    //     };
+
+    //     try
+    //     {
+    //       pd.Print();
+    //       Debug.Log("[PM] 打印任务已发送");
+    //     }
+    //     catch (Exception e)
+    //     {
+    //       Debug.LogError("[PM] 打印过程中出错: " + e.Message);
+    //     }
+    //   }
+    // }
+
     #endregion
     // ==================================================
     #region Config
@@ -223,8 +328,8 @@ namespace ToneTuneToolkit.IO.Printer
     {
       public string PrinterName = "L805";
       public string PaperSizeName = "6x4 Photo";
-      public int WidthInch = 4;
-      public int HeightInch = 6;
+      public float WidthInch = 4;
+      public float HeightInch = 6;
       public int DPI = 100; // 1200x1800是6英寸在300dpi下的像素尺寸 // 400x600是6英寸在100dpi下的像素尺寸
 
       public bool Landscape = false;

+ 7 - 2
ToneTuneToolkit/Assets/ToneTuneToolkit/Modules/Networking/Upload/Upload2OYManager.cs

@@ -1,4 +1,9 @@
-using System.Collections;
+/// <summary>
+/// Copyright (c) 2025 MirzkisD1Ex0 All rights reserved.
+/// Code Version 1.5.2
+/// </summary>
+
+using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
 using UnityEngine.Events;
@@ -239,4 +244,4 @@ namespace ToneTuneToolkit.Networking
     }
   }
   #endregion
-}
+}

+ 131 - 72
ToneTuneToolkit/Assets/ToneTuneToolkit/Modules/Networking/Upload/Upload2ZCManager.cs

@@ -1,3 +1,8 @@
+/// <summary>
+/// Copyright (c) 2025 MirzkisD1Ex0 All rights reserved.
+/// Code Version 1.5.2
+/// </summary>
+
 using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
@@ -14,69 +19,82 @@ namespace ToneTuneToolkit.Networking
   /// </summary>
   public class Upload2ZCManager : SingletonMaster<Upload2ZCManager>
   {
-    #region 2025.10 LonginesBoutique
+    #region 2025.10 MichelinCIIE
 
-    public static UnityAction<int> OnLBUploadFinished;
+    public static UnityAction<Texture2D> OnMichelinUploadFinished;
 
-    private const string LonginesBoutiqueUPLOADURL = @"https://longines-ai.studiocapsule.cn/api/index/upload";
+    private const string MichelinUPLOADURL = @"https://michelin-ciie.studiocapsule.cn/api/index/aiUpload";
 
 
 
-    [SerializeField] private LBUserInfo lbUserInfo = new LBUserInfo();
-    [SerializeField] private LBRespon lbRespon = new LBRespon();
-    public void UpdateLBUserInfo(string gender, string question_1, Texture2D t2d)
+    [SerializeField] private MichelinUserInfo mUserInfo = new MichelinUserInfo();
+    [SerializeField] private MichelinRespon mRespon = new MichelinRespon();
+    public void UpdateMUserInfo(string gender, string question_1, Texture2D t2d)
     {
-      lbUserInfo = new LBUserInfo();
-      lbUserInfo.gender = gender;
-      lbUserInfo.question_1 = question_1;
-      lbUserInfo.file = t2d.EncodeToPNG();
+      mUserInfo = new MichelinUserInfo();
+      mUserInfo.gender = gender;
+      mUserInfo.question_1 = question_1;
+      mUserInfo.file = t2d.EncodeToPNG();
     }
 
-    public void UploadLBUserInfo() => StartCoroutine(nameof(UploadLBUserInfoAction));
-    private IEnumerator UploadLBUserInfoAction()
+    public void UploadMUserInfo() => StartCoroutine(nameof(UploadMUserInfoAction));
+    private IEnumerator UploadMUserInfoAction()
     {
       Debug.Log("[U2ZCM] 开始上传");
       WWWForm wwwForm = new WWWForm();
-      wwwForm.AddField("gender", lbUserInfo.gender);
-      wwwForm.AddField("question_1", lbUserInfo.question_1);
-      wwwForm.AddBinaryData("file", lbUserInfo.file);
+      wwwForm.AddField("gender", mUserInfo.gender);
+      wwwForm.AddField("question_1", mUserInfo.question_1);
+      wwwForm.AddBinaryData("file", mUserInfo.file);
 
-      using (UnityWebRequest www = UnityWebRequest.Post(LonginesBoutiqueUPLOADURL, wwwForm))
+      using (UnityWebRequest www = UnityWebRequest.Post(MichelinUPLOADURL, wwwForm))
       {
         www.downloadHandler = new DownloadHandlerBuffer();
         yield return www.SendWebRequest();
 
         if (www.result != UnityWebRequest.Result.Success)
         {
-          Debug.Log($"[U2ZCM] {www.error}");
+          Debug.LogWarning($"[U2ZCM] {www.error}");
           yield break;
         }
 
         Debug.Log($"[U2ZCM] {www.downloadHandler.text}");
         try
         {
-          lbRespon = JsonConvert.DeserializeObject<LBRespon>(www.downloadHandler.text);
+          mRespon = JsonConvert.DeserializeObject<MichelinRespon>(www.downloadHandler.text);
         }
         catch (Exception)
         {
-          Debug.Log($"[U2ZCM] 解析错误");
+          Debug.LogWarning($"[U2ZCM] 解析错误");
           yield break;
         }
 
-        if (lbRespon.code != 0)
+        if (mRespon.code != 0)
         {
-          OnLBUploadFinished?.Invoke(0000);
+          Debug.LogWarning($"[U2ZCM] 解析错误");
           yield break;
         }
+      }
 
-        OnLBUploadFinished?.Invoke(lbRespon.data.look_pwd);
+      // 搞图
+      using (UnityWebRequest unityWebRequest = UnityWebRequestTexture.GetTexture(mRespon.data.qr_url)) // new UnityWebRequest(sunCodeURL, "GET"))
+      {
+        yield return unityWebRequest.SendWebRequest();
+        if (unityWebRequest.result != UnityWebRequest.Result.Success)
+        {
+          Debug.LogWarning($"[U2ZCM] {unityWebRequest.error}");
+        }
+        else
+        {
+          Debug.Log($"[U2ZCM] Get qr texture sucessed");
+          OnMichelinUploadFinished?.Invoke(((DownloadHandlerTexture)unityWebRequest.downloadHandler).texture); // 返回图
+        }
       }
     }
 
     // ==================================================
     // 数据类
     [Serializable]
-    public class LBUserInfo
+    public class MichelinUserInfo
     {
       public string gender;
       public string question_1;
@@ -84,17 +102,102 @@ namespace ToneTuneToolkit.Networking
     }
 
     [Serializable]
-    public class LBRespon
+    public class MichelinRespon
     {
       public int code;
       public string message;
-      public LBResponData data;
+      public MichelinResponData data;
     }
-    public class LBResponData
+    public class MichelinResponData
     {
-      public int look_pwd;
+      public string qr_url;
     }
 
+    #endregion
+    // ==================================================
+    // ==================================================
+    // ==================================================
+    #region 2025.10 LonginesBoutique
+
+    // public static UnityAction<int> OnLBUploadFinished;
+
+    // private const string LonginesBoutiqueUPLOADURL = @"https://longines-ai.studiocapsule.cn/api/index/upload";
+
+
+
+    // [SerializeField] private LBUserInfo lbUserInfo = new LBUserInfo();
+    // [SerializeField] private LBRespon lbRespon = new LBRespon();
+    // public void UpdateLBUserInfo(string gender, string question_1, Texture2D t2d)
+    // {
+    //   lbUserInfo = new LBUserInfo();
+    //   lbUserInfo.gender = gender;
+    //   lbUserInfo.question_1 = question_1;
+    //   lbUserInfo.file = t2d.EncodeToPNG();
+    // }
+
+    // public void UploadLBUserInfo() => StartCoroutine(nameof(UploadLBUserInfoAction));
+    // private IEnumerator UploadLBUserInfoAction()
+    // {
+    //   Debug.Log("[U2ZCM] 开始上传");
+    //   WWWForm wwwForm = new WWWForm();
+    //   wwwForm.AddField("gender", lbUserInfo.gender);
+    //   wwwForm.AddField("question_1", lbUserInfo.question_1);
+    //   wwwForm.AddBinaryData("file", lbUserInfo.file);
+
+    //   using (UnityWebRequest www = UnityWebRequest.Post(LonginesBoutiqueUPLOADURL, wwwForm))
+    //   {
+    //     www.downloadHandler = new DownloadHandlerBuffer();
+    //     yield return www.SendWebRequest();
+
+    //     if (www.result != UnityWebRequest.Result.Success)
+    //     {
+    //       Debug.Log($"[U2ZCM] {www.error}");
+    //       yield break;
+    //     }
+
+    //     Debug.Log($"[U2ZCM] {www.downloadHandler.text}");
+    //     try
+    //     {
+    //       lbRespon = JsonConvert.DeserializeObject<LBRespon>(www.downloadHandler.text);
+    //     }
+    //     catch (Exception)
+    //     {
+    //       Debug.Log($"[U2ZCM] 解析错误");
+    //       yield break;
+    //     }
+
+    //     if (lbRespon.code != 0)
+    //     {
+    //       OnLBUploadFinished?.Invoke(0000);
+    //       yield break;
+    //     }
+
+    //     OnLBUploadFinished?.Invoke(lbRespon.data.look_pwd);
+    //   }
+    // }
+
+    // // ==================================================
+    // // 数据类
+    // [Serializable]
+    // public class LBUserInfo
+    // {
+    //   public string gender;
+    //   public string question_1;
+    //   public byte[] file;
+    // }
+
+    // [Serializable]
+    // public class LBRespon
+    // {
+    //   public int code;
+    //   public string message;
+    //   public LBResponData data;
+    // }
+    // public class LBResponData
+    // {
+    //   public int look_pwd;
+    // }
+
     #endregion
     // ==================================================
     // ==================================================
@@ -525,49 +628,5 @@ namespace ToneTuneToolkit.Networking
     // }
 
     #endregion
-    // ==================================================
-    #region 上传文件流
-
-    // public UnityAction<string> OnUploadFinished;
-
-    // private const string uploadURL = @"https://vw-aud.studiocapsule.cn/api/device/uploadWall";
-
-    // public void UploadData(byte[] fileBytes) => StartCoroutine(nameof(UploadDataAction), fileBytes);
-    // private IEnumerator UploadDataAction(byte[] fileBytes)
-    // {
-    //   WWWForm wwwForm = new WWWForm();
-    //   wwwForm.AddBinaryData("file", fileBytes);
-
-    //   using (UnityWebRequest www = UnityWebRequest.Post(uploadURL, wwwForm))
-    //   {
-
-    //     // www.SetRequestHeader("Content-Type", "multipart/form-data"); // wwwForm不要手动设置避免boundary消失
-    //     www.downloadHandler = new DownloadHandlerBuffer();
-    //     yield return www.SendWebRequest();
-
-    //     if (www.result != UnityWebRequest.Result.Success)
-    //     {
-    //       Debug.Log($"[U2ZCM] {www.error}");
-    //       yield break;
-    //     }
-
-    //     Debug.Log($"[U2ZCM] {www.downloadHandler.text}");
-    //     ResponData responData = JsonConvert.DeserializeObject<ResponData>(www.downloadHandler.text);
-
-    //     // // 解析方案A 动态类型
-    //     // dynamic data = responData.data;
-    //     // string qr = data.qr_url;
-
-    //     // 解析方案B
-    //     JObject data = JObject.FromObject(responData.data);
-    //     string qr_url = data["qr_url"].ToString();
-
-    //     // Debug.Log(qr_url);
-    //     DownloadQRCode(qr_url);
-    //   }
-    // }
-
-    #endregion
-    // ==================================================
   }
-}
+}

+ 66 - 1
ToneTuneToolkit/Assets/ToneTuneToolkit/Scripts/Media/ScreenshotMaster.cs

@@ -87,7 +87,7 @@ namespace ToneTuneToolkit.Media
     /// </summary>
     /// <param name="screenshotCamera"></param>
     /// <param name="screenshotRT">新建的RT宽高色彩模式都要设置妥当 // RGBA8_SRGB</param>
-    public static Texture2D OffScreenshot(Camera screenshotCamera, RenderTexture screenshotRT, string fullFilePath = null)
+    public static Texture2D OffScreenshot(Camera screenshotCamera, RenderTexture screenshotRT, RotateType rt = RotateType.RotateNone, string fullFilePath = null)
     {
       screenshotCamera.clearFlags = CameraClearFlags.SolidColor;
       screenshotCamera.backgroundColor = Color.clear;
@@ -97,6 +97,9 @@ namespace ToneTuneToolkit.Media
       RenderTexture.active = screenshotRT;
       Texture2D t2d = new Texture2D(screenshotRT.width, screenshotRT.height, TextureFormat.RGBA32, false);
       t2d.ReadPixels(new Rect(0, 0, screenshotRT.width, screenshotRT.height), 0, 0);
+
+      if (rt != RotateType.RotateNone) { t2d = RotateTexture(t2d, rt); } // 可能存在的旋转
+
       t2d.Apply();
 
       if (fullFilePath != null)
@@ -111,6 +114,68 @@ namespace ToneTuneToolkit.Media
       return t2d;
     }
 
+    #endregion
+    // ==================================================
+    #region T2D旋转
+
+    public static Texture2D RotateTexture(Texture2D original, RotateType rotation)
+    {
+      if (rotation == RotateType.RotateNone) { return original; }
+
+      int width = original.width;
+      int height = original.height;
+
+      // 确定新纹理尺寸
+      bool is90or270 = rotation == RotateType.Rotate90 || rotation == RotateType.Rotate270;
+      Texture2D result = new Texture2D(is90or270 ? height : width, is90or270 ? width : height);
+
+      Color32[] originalPixels = original.GetPixels32();
+      Color32[] rotatedPixels = new Color32[originalPixels.Length];
+
+      for (int y = 0; y < height; y++)
+      {
+        for (int x = 0; x < width; x++)
+        {
+          int newX, newY;
+
+          switch (rotation)
+          {
+            case RotateType.Rotate90:
+              newX = height - 1 - y;
+              newY = x;
+              break;
+            case RotateType.Rotate180:
+              newX = width - 1 - x;
+              newY = height - 1 - y;
+              break;
+            case RotateType.Rotate270:
+              newX = y;
+              newY = width - 1 - x;
+              break;
+            case RotateType.RotateNone:
+            default:
+              newX = x;
+              newY = y;
+              break;
+          }
+
+          rotatedPixels[newY * result.width + newX] = originalPixels[y * width + x];
+        }
+      }
+
+      result.SetPixels32(rotatedPixels);
+      result.Apply();
+      return result;
+    }
+
+    public enum RotateType
+    {
+      RotateNone = 0,
+      Rotate90 = 90,
+      Rotate180 = 180,
+      Rotate270 = 270
+    }
+
     #endregion
     // ==================================================
     #region 实验性功能

BIN
ToneTuneToolkit/Assets/ToneTuneToolkit/Textures/transparent.png


+ 179 - 0
ToneTuneToolkit/Assets/ToneTuneToolkit/Textures/transparent.png.meta

@@ -0,0 +1,179 @@
+fileFormatVersion: 2
+guid: f6c392f65daff934d826bc35e03626e9
+TextureImporter:
+  internalIDToNameTable: []
+  externalObjects: {}
+  serializedVersion: 13
+  mipmaps:
+    mipMapMode: 0
+    enableMipMap: 0
+    sRGBTexture: 1
+    linearTexture: 0
+    fadeOut: 0
+    borderMipMap: 0
+    mipMapsPreserveCoverage: 0
+    alphaTestReferenceValue: 0.5
+    mipMapFadeDistanceStart: 1
+    mipMapFadeDistanceEnd: 3
+  bumpmap:
+    convertToNormalMap: 0
+    externalNormalMap: 0
+    heightScale: 0.25
+    normalMapFilter: 0
+    flipGreenChannel: 0
+  isReadable: 0
+  streamingMipmaps: 0
+  streamingMipmapsPriority: 0
+  vTOnly: 0
+  ignoreMipmapLimit: 0
+  grayScaleToAlpha: 0
+  generateCubemap: 6
+  cubemapConvolution: 0
+  seamlessCubemap: 0
+  textureFormat: 1
+  maxTextureSize: 2048
+  textureSettings:
+    serializedVersion: 2
+    filterMode: 1
+    aniso: 1
+    mipBias: 0
+    wrapU: 1
+    wrapV: 1
+    wrapW: 1
+  nPOTScale: 0
+  lightmap: 0
+  compressionQuality: 50
+  spriteMode: 1
+  spriteExtrude: 1
+  spriteMeshType: 1
+  alignment: 0
+  spritePivot: {x: 0.5, y: 0.5}
+  spritePixelsToUnits: 100
+  spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+  spriteGenerateFallbackPhysicsShape: 1
+  alphaUsage: 1
+  alphaIsTransparency: 1
+  spriteTessellationDetail: -1
+  textureType: 8
+  textureShape: 1
+  singleChannelComponent: 0
+  flipbookRows: 1
+  flipbookColumns: 1
+  maxTextureSizeSet: 0
+  compressionQualitySet: 0
+  textureFormatSet: 0
+  ignorePngGamma: 0
+  applyGammaDecoding: 0
+  swizzle: 50462976
+  cookieLightType: 0
+  platformSettings:
+  - serializedVersion: 3
+    buildTarget: DefaultTexturePlatform
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    ignorePlatformSupport: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 3
+    buildTarget: Standalone
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    ignorePlatformSupport: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 3
+    buildTarget: iPhone
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    ignorePlatformSupport: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 3
+    buildTarget: Android
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    ignorePlatformSupport: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 3
+    buildTarget: VisionOS
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    ignorePlatformSupport: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 3
+    buildTarget: WebGL
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    ignorePlatformSupport: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 3
+    buildTarget: Windows Store Apps
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    ignorePlatformSupport: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  spriteSheet:
+    serializedVersion: 2
+    sprites: []
+    outline: []
+    physicsShape: []
+    bones: []
+    spriteID: 5e97eb03825dee720800000000000000
+    internalID: 0
+    vertices: []
+    indices: 
+    edges: []
+    weights: []
+    secondaryTextures: []
+    nameFileIdTable: {}
+  mipmapLimitGroupName: 
+  pSDRemoveMatte: 0
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 254 - 96
ToneTuneToolkit/Logs/AssetImportWorker0-prev.log

@@ -15,7 +15,7 @@ D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 -logFile
 Logs/AssetImportWorker0.log
 -srvPort
-13697
+8598
 Successfully changed project path to: D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 [UnityMemory] Configuration Parameters - Can be set up in boot.config
@@ -49,12 +49,12 @@ D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
     "memorysetup-temp-allocator-size-cloud-worker=32768"
     "memorysetup-temp-allocator-size-gi-baking-worker=262144"
     "memorysetup-temp-allocator-size-gfx=262144"
-Player connection [38672] Host "[IP] 172.27.128.1 [Port] 0 [Flags] 2 [Guid] 802369004 [EditorId] 802369004 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Engine) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined multi-casting on [225.0.0.222:54997]...
+Player connection [37436] Host "[IP] 172.26.80.1 [Port] 0 [Flags] 2 [Guid] 875456133 [EditorId] 875456133 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Engine) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined multi-casting on [225.0.0.222:54997]...
 
-Player connection [38672] Host "[IP] 172.27.128.1 [Port] 0 [Flags] 2 [Guid] 802369004 [EditorId] 802369004 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Engine) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined alternative multi-casting on [225.0.0.222:34997]...
+Player connection [37436] Host "[IP] 172.26.80.1 [Port] 0 [Flags] 2 [Guid] 875456133 [EditorId] 875456133 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Engine) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined alternative multi-casting on [225.0.0.222:34997]...
 
 [Physics::Module] Initialized MultithreadedJobDispatcher with 15 workers.
-Refreshing native plugins compatible for Editor in 44.35 ms, found 3 plugins.
+Refreshing native plugins compatible for Editor in 15.86 ms, found 3 plugins.
 Preloading 0 native plugins for Editor in 0.00 ms.
 Initialize engine version: 2022.3.30f1 (70558241b701)
 [Subsystems] Discovering subsystems at path C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/Resources/UnitySubsystems
@@ -70,7 +70,7 @@ Initialize mono
 Mono path[0] = 'C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/Managed'
 Mono path[1] = 'C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/MonoBleedingEdge/lib/mono/unityjit-win32'
 Mono config path = 'C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/MonoBleedingEdge/etc'
-Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56432
+Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56076
 Begin MonoManager ReloadAssembly
 Registering precompiled unity dll's ...
 Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/WebGLSupport/UnityEditor.WebGL.Extensions.dll
@@ -79,8 +79,8 @@ Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/
 Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer/UnityEditor.VisionOS.Extensions.dll
 Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll
 Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/MetroSupport/UnityEditor.UWP.Extensions.dll
-Registered in 0.024421 seconds.
-- Loaded All Assemblies, in  0.488 seconds
+Registered in 0.020338 seconds.
+- Loaded All Assemblies, in  0.382 seconds
 Native extension for UWP target not found
 Native extension for WindowsStandalone target not found
 Failed to load: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer\x64\UnityEditor.VisionOS.Native.dll
@@ -90,39 +90,39 @@ Native extension for VisionOS target not found
 [usbmuxd] Send listen message
 Native extension for iOS target not found
 Native extension for Android target not found
-Android Extension - Scanning For ADB Devices 1593 ms
+Android Extension - Scanning For ADB Devices 384 ms
 Native extension for WebGL target not found
 Mono: successfully reloaded assembly
-- Finished resetting the current domain, in  2.101 seconds
-Domain Reload Profiling: 2587ms
-	BeginReloadAssembly (129ms)
+- Finished resetting the current domain, in  0.751 seconds
+Domain Reload Profiling: 1131ms
+	BeginReloadAssembly (107ms)
 		ExecutionOrderSort (0ms)
 		DisableScriptedObjects (0ms)
 		BackupInstance (0ms)
 		ReleaseScriptingObjects (0ms)
 		CreateAndSetChildDomain (1ms)
 	RebuildCommonClasses (35ms)
-	RebuildNativeTypeToScriptingClass (10ms)
-	initialDomainReloadingComplete (89ms)
-	LoadAllAssembliesAndSetupDomain (223ms)
-		LoadAssemblies (130ms)
+	RebuildNativeTypeToScriptingClass (9ms)
+	initialDomainReloadingComplete (72ms)
+	LoadAllAssembliesAndSetupDomain (157ms)
+		LoadAssemblies (107ms)
 		RebuildTransferFunctionScriptingTraits (0ms)
-		AnalyzeDomain (217ms)
-			TypeCache.Refresh (213ms)
-				TypeCache.ScanAssembly (188ms)
+		AnalyzeDomain (153ms)
+			TypeCache.Refresh (151ms)
+				TypeCache.ScanAssembly (133ms)
 			ScanForSourceGeneratedMonoScriptInfo (1ms)
 			ResolveRequiredComponents (1ms)
-	FinalizeReload (2101ms)
+	FinalizeReload (751ms)
 		ReleaseScriptCaches (0ms)
 		RebuildScriptCaches (0ms)
-		SetupLoadedEditorAssemblies (2023ms)
+		SetupLoadedEditorAssemblies (689ms)
 			LogAssemblyErrors (0ms)
-			InitializePlatformSupportModulesInManaged (1776ms)
-			SetLoadedEditorAssemblies (6ms)
+			InitializePlatformSupportModulesInManaged (519ms)
+			SetLoadedEditorAssemblies (4ms)
 			RefreshPlugins (0ms)
-			BeforeProcessingInitializeOnLoad (3ms)
-			ProcessInitializeOnLoadAttributes (180ms)
-			ProcessInitializeOnLoadMethodAttributes (58ms)
+			BeforeProcessingInitializeOnLoad (2ms)
+			ProcessInitializeOnLoadAttributes (117ms)
+			ProcessInitializeOnLoadMethodAttributes (47ms)
 			AfterProcessingInitializeOnLoad (0ms)
 			EditorAssembliesLoaded (0ms)
 		ExecutionOrderSort2 (0ms)
@@ -130,8 +130,8 @@ Domain Reload Profiling: 2587ms
 ========================================================================
 Worker process is ready to serve import requests
 Begin MonoManager ReloadAssembly
-- Loaded All Assemblies, in  1.166 seconds
-Refreshing native plugins compatible for Editor in 73.58 ms, found 3 plugins.
+- Loaded All Assemblies, in  0.693 seconds
+Refreshing native plugins compatible for Editor in 3.74 ms, found 3 plugins.
 Native extension for UWP target not found
 Native extension for WindowsStandalone target not found
 Failed to load: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer\x64\UnityEditor.VisionOS.Native.dll
@@ -144,48 +144,206 @@ Package Manager log level set to [2]
 [Package Manager] UpmClient::Send -- Unable to send message (not connected to UPM process).
 [Package Manager] Cannot connect to Unity Package Manager local server
 Mono: successfully reloaded assembly
-- Finished resetting the current domain, in  0.695 seconds
-Domain Reload Profiling: 1857ms
-	BeginReloadAssembly (171ms)
+- Finished resetting the current domain, in  0.588 seconds
+Domain Reload Profiling: 1279ms
+	BeginReloadAssembly (133ms)
+		ExecutionOrderSort (0ms)
+		DisableScriptedObjects (5ms)
+		BackupInstance (0ms)
+		ReleaseScriptingObjects (0ms)
+		CreateAndSetChildDomain (20ms)
+	RebuildCommonClasses (32ms)
+	RebuildNativeTypeToScriptingClass (10ms)
+	initialDomainReloadingComplete (34ms)
+	LoadAllAssembliesAndSetupDomain (481ms)
+		LoadAssemblies (370ms)
+		RebuildTransferFunctionScriptingTraits (0ms)
+		AnalyzeDomain (189ms)
+			TypeCache.Refresh (167ms)
+				TypeCache.ScanAssembly (150ms)
+			ScanForSourceGeneratedMonoScriptInfo (15ms)
+			ResolveRequiredComponents (5ms)
+	FinalizeReload (589ms)
+		ReleaseScriptCaches (0ms)
+		RebuildScriptCaches (0ms)
+		SetupLoadedEditorAssemblies (431ms)
+			LogAssemblyErrors (0ms)
+			InitializePlatformSupportModulesInManaged (48ms)
+			SetLoadedEditorAssemblies (3ms)
+			RefreshPlugins (0ms)
+			BeforeProcessingInitializeOnLoad (58ms)
+			ProcessInitializeOnLoadAttributes (295ms)
+			ProcessInitializeOnLoadMethodAttributes (19ms)
+			AfterProcessingInitializeOnLoad (7ms)
+			EditorAssembliesLoaded (0ms)
+		ExecutionOrderSort2 (0ms)
+		AwakeInstancesAfterBackupRestoration (8ms)
+Launched and connected shader compiler UnityShaderCompiler.exe after 0.05 seconds
+Refreshing native plugins compatible for Editor in 7.50 ms, found 3 plugins.
+Preloading 0 native plugins for Editor in 0.00 ms.
+Unloading 3252 Unused Serialized files (Serialized files now loaded: 0)
+Unloading 40 unused Assets / (59.6 KB). Loaded Objects now: 3715.
+Memory consumption went from 129.0 MB to 128.9 MB.
+Total: 3.547900 ms (FindLiveObjects: 0.345700 ms CreateObjectMapping: 0.110500 ms MarkObjects: 2.948800 ms  DeleteObjects: 0.141000 ms)
+
+AssetImportParameters requested are different than current active one (requested -> active):
+  custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 
+  custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 
+  custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 -> 
+  custom:CustomObjectIndexerAttribute: 9a22284fe3817be447336de3de66b15e -> 
+  custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 
+  custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 
+  custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 -> 
+  custom:SearchIndexIgnoredProperties: e643bd26f0fe6173181afceb89e7c659 -> 
+  custom:AudioImporter_EditorPlatform: d09bf68614088b80899f8185d706f6e7 -> 
+  custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 -> 
+  custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
+  custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
+========================================================================
+Received Import Request.
+  Time since last request: 352169.745570 seconds.
+  path: Assets/ToneTuneToolkit/Modules/Networking/Upload/Upload2ZCManager.cs
+  artifactKey: Guid(30c263742f2857d4f82494a1c2866563) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
+Start importing Assets/ToneTuneToolkit/Modules/Networking/Upload/Upload2ZCManager.cs using Guid(30c263742f2857d4f82494a1c2866563) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: 'f2a035865e9816b27b3b538baa45b9dc') in 0.003288 seconds
+Number of updated asset objects reloaded before import = 0
+Number of asset objects unloaded after import = 0
+========================================================================
+Received Prepare
+Begin MonoManager ReloadAssembly
+- Loaded All Assemblies, in  0.457 seconds
+Refreshing native plugins compatible for Editor in 4.34 ms, found 3 plugins.
+Native extension for UWP target not found
+Native extension for WindowsStandalone target not found
+Failed to load: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer\x64\UnityEditor.VisionOS.Native.dll
+Native extension for VisionOS target not found
+Native extension for iOS target not found
+Native extension for Android target not found
+Native extension for WebGL target not found
+[Package Manager] Server::EnsureServerProcessIsRunning -- launch failed, reason: Unity was launched with the -noUpm command-line argument
+[Package Manager] UpmClient::Send -- Unable to send message (not connected to UPM process).
+[Package Manager] Cannot connect to Unity Package Manager local server
+Mono: successfully reloaded assembly
+- Finished resetting the current domain, in  0.744 seconds
+Domain Reload Profiling: 1199ms
+	BeginReloadAssembly (139ms)
+		ExecutionOrderSort (0ms)
+		DisableScriptedObjects (5ms)
+		BackupInstance (0ms)
+		ReleaseScriptingObjects (0ms)
+		CreateAndSetChildDomain (33ms)
+	RebuildCommonClasses (27ms)
+	RebuildNativeTypeToScriptingClass (9ms)
+	initialDomainReloadingComplete (26ms)
+	LoadAllAssembliesAndSetupDomain (253ms)
+		LoadAssemblies (302ms)
+		RebuildTransferFunctionScriptingTraits (0ms)
+		AnalyzeDomain (23ms)
+			TypeCache.Refresh (8ms)
+				TypeCache.ScanAssembly (1ms)
+			ScanForSourceGeneratedMonoScriptInfo (5ms)
+			ResolveRequiredComponents (8ms)
+	FinalizeReload (745ms)
+		ReleaseScriptCaches (0ms)
+		RebuildScriptCaches (0ms)
+		SetupLoadedEditorAssemblies (354ms)
+			LogAssemblyErrors (0ms)
+			InitializePlatformSupportModulesInManaged (53ms)
+			SetLoadedEditorAssemblies (4ms)
+			RefreshPlugins (0ms)
+			BeforeProcessingInitializeOnLoad (50ms)
+			ProcessInitializeOnLoadAttributes (223ms)
+			ProcessInitializeOnLoadMethodAttributes (17ms)
+			AfterProcessingInitializeOnLoad (7ms)
+			EditorAssembliesLoaded (0ms)
+		ExecutionOrderSort2 (0ms)
+		AwakeInstancesAfterBackupRestoration (7ms)
+Refreshing native plugins compatible for Editor in 5.98 ms, found 3 plugins.
+Preloading 0 native plugins for Editor in 0.00 ms.
+Unloading 3241 Unused Serialized files (Serialized files now loaded: 0)
+Unloading 31 unused Assets / (33.7 KB). Loaded Objects now: 3718.
+Memory consumption went from 126.6 MB to 126.5 MB.
+Total: 2.805500 ms (FindLiveObjects: 0.256500 ms CreateObjectMapping: 0.091500 ms MarkObjects: 2.401300 ms  DeleteObjects: 0.055400 ms)
+
+Prepare: number of updated asset objects reloaded= 0
+AssetImportParameters requested are different than current active one (requested -> active):
+  custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 
+  custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 
+  custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 -> 
+  custom:CustomObjectIndexerAttribute: 9a22284fe3817be447336de3de66b15e -> 
+  custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 
+  custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 
+  custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 -> 
+  custom:SearchIndexIgnoredProperties: e643bd26f0fe6173181afceb89e7c659 -> 
+  custom:AudioImporter_EditorPlatform: d09bf68614088b80899f8185d706f6e7 -> 
+  custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 -> 
+  custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
+  custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
+========================================================================
+Received Import Request.
+  Time since last request: 40.620019 seconds.
+  path: Assets/ToneTuneToolkit/Modules/Networking/Upload/Upload2ZCManager.cs
+  artifactKey: Guid(30c263742f2857d4f82494a1c2866563) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
+Start importing Assets/ToneTuneToolkit/Modules/Networking/Upload/Upload2ZCManager.cs using Guid(30c263742f2857d4f82494a1c2866563) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: '7e93cfbc40ef0bdf26f4fbab51885fe4') in 0.001937 seconds
+Number of updated asset objects reloaded before import = 0
+Number of asset objects unloaded after import = 0
+========================================================================
+Received Prepare
+Begin MonoManager ReloadAssembly
+- Loaded All Assemblies, in  0.474 seconds
+Refreshing native plugins compatible for Editor in 3.10 ms, found 3 plugins.
+Native extension for UWP target not found
+Native extension for WindowsStandalone target not found
+Failed to load: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer\x64\UnityEditor.VisionOS.Native.dll
+Native extension for VisionOS target not found
+Native extension for iOS target not found
+Native extension for Android target not found
+Native extension for WebGL target not found
+[Package Manager] Server::EnsureServerProcessIsRunning -- launch failed, reason: Unity was launched with the -noUpm command-line argument
+[Package Manager] UpmClient::Send -- Unable to send message (not connected to UPM process).
+[Package Manager] Cannot connect to Unity Package Manager local server
+Mono: successfully reloaded assembly
+- Finished resetting the current domain, in  0.796 seconds
+Domain Reload Profiling: 1267ms
+	BeginReloadAssembly (145ms)
 		ExecutionOrderSort (0ms)
-		DisableScriptedObjects (6ms)
+		DisableScriptedObjects (5ms)
 		BackupInstance (0ms)
 		ReleaseScriptingObjects (0ms)
-		CreateAndSetChildDomain (30ms)
-	RebuildCommonClasses (36ms)
+		CreateAndSetChildDomain (34ms)
+	RebuildCommonClasses (29ms)
 	RebuildNativeTypeToScriptingClass (14ms)
-	initialDomainReloadingComplete (32ms)
-	LoadAllAssembliesAndSetupDomain (909ms)
-		LoadAssemblies (777ms)
+	initialDomainReloadingComplete (28ms)
+	LoadAllAssembliesAndSetupDomain (254ms)
+		LoadAssemblies (307ms)
 		RebuildTransferFunctionScriptingTraits (0ms)
-		AnalyzeDomain (233ms)
-			TypeCache.Refresh (208ms)
-				TypeCache.ScanAssembly (185ms)
-			ScanForSourceGeneratedMonoScriptInfo (17ms)
+		AnalyzeDomain (26ms)
+			TypeCache.Refresh (13ms)
+				TypeCache.ScanAssembly (5ms)
+			ScanForSourceGeneratedMonoScriptInfo (6ms)
 			ResolveRequiredComponents (6ms)
-	FinalizeReload (695ms)
+	FinalizeReload (797ms)
 		ReleaseScriptCaches (0ms)
 		RebuildScriptCaches (0ms)
-		SetupLoadedEditorAssemblies (534ms)
+		SetupLoadedEditorAssemblies (368ms)
 			LogAssemblyErrors (0ms)
-			InitializePlatformSupportModulesInManaged (54ms)
+			InitializePlatformSupportModulesInManaged (53ms)
 			SetLoadedEditorAssemblies (4ms)
 			RefreshPlugins (0ms)
-			BeforeProcessingInitializeOnLoad (69ms)
-			ProcessInitializeOnLoadAttributes (377ms)
-			ProcessInitializeOnLoadMethodAttributes (21ms)
-			AfterProcessingInitializeOnLoad (9ms)
+			BeforeProcessingInitializeOnLoad (55ms)
+			ProcessInitializeOnLoadAttributes (232ms)
+			ProcessInitializeOnLoadMethodAttributes (18ms)
+			AfterProcessingInitializeOnLoad (7ms)
 			EditorAssembliesLoaded (0ms)
 		ExecutionOrderSort2 (0ms)
-		AwakeInstancesAfterBackupRestoration (9ms)
-Launched and connected shader compiler UnityShaderCompiler.exe after 0.09 seconds
-Refreshing native plugins compatible for Editor in 7.93 ms, found 3 plugins.
+		AwakeInstancesAfterBackupRestoration (7ms)
+Refreshing native plugins compatible for Editor in 6.97 ms, found 3 plugins.
 Preloading 0 native plugins for Editor in 0.00 ms.
-Unloading 3251 Unused Serialized files (Serialized files now loaded: 0)
-Unloading 40 unused Assets / (60.0 KB). Loaded Objects now: 3714.
-Memory consumption went from 129.0 MB to 129.0 MB.
-Total: 4.242800 ms (FindLiveObjects: 0.268800 ms CreateObjectMapping: 0.199200 ms MarkObjects: 3.567600 ms  DeleteObjects: 0.206100 ms)
+Unloading 3241 Unused Serialized files (Serialized files now loaded: 0)
+Unloading 31 unused Assets / (33.7 KB). Loaded Objects now: 3721.
+Memory consumption went from 126.6 MB to 126.5 MB.
+Total: 3.693300 ms (FindLiveObjects: 0.299400 ms CreateObjectMapping: 0.217500 ms MarkObjects: 3.114400 ms  DeleteObjects: 0.060900 ms)
 
+Prepare: number of updated asset objects reloaded= 0
 AssetImportParameters requested are different than current active one (requested -> active):
   custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 
   custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 
@@ -201,25 +359,25 @@ AssetImportParameters requested are different than current active one (requested
   custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
 ========================================================================
 Received Import Request.
-  Time since last request: 107883.656295 seconds.
-  path: Assets/ToneTuneToolkit/Module/Networking/Upload/Upload2OYManager.cs
-  artifactKey: Guid(6ee2856258a90e3438cd8a48df819144) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
-Start importing Assets/ToneTuneToolkit/Module/Networking/Upload/Upload2OYManager.cs using Guid(6ee2856258a90e3438cd8a48df819144) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: 'a1543a8b4e1668d013380b94cb3daae3') in 0.003260 seconds
+  Time since last request: 13.944473 seconds.
+  path: Assets/ToneTuneToolkit/Modules/Networking/Upload/Upload2ZCManager.cs
+  artifactKey: Guid(30c263742f2857d4f82494a1c2866563) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
+Start importing Assets/ToneTuneToolkit/Modules/Networking/Upload/Upload2ZCManager.cs using Guid(30c263742f2857d4f82494a1c2866563) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: '1c2be3c230991c051ee3a4751ab4ce9e') in 0.001785 seconds
 Number of updated asset objects reloaded before import = 0
 Number of asset objects unloaded after import = 0
 ========================================================================
 Received Import Request.
-  Time since last request: 0.000027 seconds.
-  path: Assets/ToneTuneToolkit/Module/Networking/Upload
-  artifactKey: Guid(ab299d1f3e8472b4f8d5bc948963fd40) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
-Start importing Assets/ToneTuneToolkit/Module/Networking/Upload using Guid(ab299d1f3e8472b4f8d5bc948963fd40) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: 'd181471a3d5a97f96d78672ba7f431ba') in 0.000666 seconds
+  Time since last request: 9.858399 seconds.
+  path: Assets/ToneTuneToolkit/Modules/Networking/Upload/Upload2OYManager.cs
+  artifactKey: Guid(6ee2856258a90e3438cd8a48df819144) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
+Start importing Assets/ToneTuneToolkit/Modules/Networking/Upload/Upload2OYManager.cs using Guid(6ee2856258a90e3438cd8a48df819144) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: '86b35b1fb85caad63ac4d550ed4d395d') in 0.000559 seconds
 Number of updated asset objects reloaded before import = 0
 Number of asset objects unloaded after import = 0
 ========================================================================
 Received Prepare
 Begin MonoManager ReloadAssembly
-- Loaded All Assemblies, in  0.729 seconds
-Refreshing native plugins compatible for Editor in 4.43 ms, found 3 plugins.
+- Loaded All Assemblies, in  0.626 seconds
+Refreshing native plugins compatible for Editor in 4.05 ms, found 3 plugins.
 Native extension for UWP target not found
 Native extension for WindowsStandalone target not found
 Failed to load: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer\x64\UnityEditor.VisionOS.Native.dll
@@ -231,46 +389,46 @@ Native extension for WebGL target not found
 [Package Manager] UpmClient::Send -- Unable to send message (not connected to UPM process).
 [Package Manager] Cannot connect to Unity Package Manager local server
 Mono: successfully reloaded assembly
-- Finished resetting the current domain, in  1.688 seconds
-Domain Reload Profiling: 2415ms
-	BeginReloadAssembly (221ms)
+- Finished resetting the current domain, in  0.840 seconds
+Domain Reload Profiling: 1464ms
+	BeginReloadAssembly (159ms)
 		ExecutionOrderSort (0ms)
-		DisableScriptedObjects (7ms)
+		DisableScriptedObjects (5ms)
 		BackupInstance (0ms)
 		ReleaseScriptingObjects (0ms)
-		CreateAndSetChildDomain (57ms)
-	RebuildCommonClasses (37ms)
-	RebuildNativeTypeToScriptingClass (14ms)
-	initialDomainReloadingComplete (37ms)
-	LoadAllAssembliesAndSetupDomain (418ms)
-		LoadAssemblies (502ms)
+		CreateAndSetChildDomain (35ms)
+	RebuildCommonClasses (55ms)
+	RebuildNativeTypeToScriptingClass (9ms)
+	initialDomainReloadingComplete (29ms)
+	LoadAllAssembliesAndSetupDomain (371ms)
+		LoadAssemblies (429ms)
 		RebuildTransferFunctionScriptingTraits (0ms)
-		AnalyzeDomain (34ms)
-			TypeCache.Refresh (16ms)
-				TypeCache.ScanAssembly (2ms)
-			ScanForSourceGeneratedMonoScriptInfo (10ms)
-			ResolveRequiredComponents (7ms)
-	FinalizeReload (1688ms)
+		AnalyzeDomain (33ms)
+			TypeCache.Refresh (11ms)
+				TypeCache.ScanAssembly (1ms)
+			ScanForSourceGeneratedMonoScriptInfo (15ms)
+			ResolveRequiredComponents (6ms)
+	FinalizeReload (841ms)
 		ReleaseScriptCaches (0ms)
 		RebuildScriptCaches (0ms)
-		SetupLoadedEditorAssemblies (484ms)
+		SetupLoadedEditorAssemblies (397ms)
 			LogAssemblyErrors (0ms)
-			InitializePlatformSupportModulesInManaged (65ms)
-			SetLoadedEditorAssemblies (5ms)
+			InitializePlatformSupportModulesInManaged (50ms)
+			SetLoadedEditorAssemblies (20ms)
 			RefreshPlugins (0ms)
-			BeforeProcessingInitializeOnLoad (66ms)
-			ProcessInitializeOnLoadAttributes (316ms)
-			ProcessInitializeOnLoadMethodAttributes (25ms)
+			BeforeProcessingInitializeOnLoad (52ms)
+			ProcessInitializeOnLoadAttributes (251ms)
+			ProcessInitializeOnLoadMethodAttributes (17ms)
 			AfterProcessingInitializeOnLoad (7ms)
 			EditorAssembliesLoaded (0ms)
 		ExecutionOrderSort2 (0ms)
-		AwakeInstancesAfterBackupRestoration (8ms)
-Refreshing native plugins compatible for Editor in 5.94 ms, found 3 plugins.
+		AwakeInstancesAfterBackupRestoration (7ms)
+Refreshing native plugins compatible for Editor in 6.08 ms, found 3 plugins.
 Preloading 0 native plugins for Editor in 0.00 ms.
-Unloading 3240 Unused Serialized files (Serialized files now loaded: 0)
-Unloading 31 unused Assets / (33.7 KB). Loaded Objects now: 3717.
-Memory consumption went from 126.6 MB to 126.6 MB.
-Total: 4.956000 ms (FindLiveObjects: 0.622400 ms CreateObjectMapping: 0.423100 ms MarkObjects: 3.821200 ms  DeleteObjects: 0.086400 ms)
+Unloading 3241 Unused Serialized files (Serialized files now loaded: 0)
+Unloading 31 unused Assets / (33.7 KB). Loaded Objects now: 3724.
+Memory consumption went from 126.6 MB to 126.5 MB.
+Total: 2.911900 ms (FindLiveObjects: 0.288600 ms CreateObjectMapping: 0.112500 ms MarkObjects: 2.438000 ms  DeleteObjects: 0.071500 ms)
 
 Prepare: number of updated asset objects reloaded= 0
 AssetImportParameters requested are different than current active one (requested -> active):
@@ -288,9 +446,9 @@ AssetImportParameters requested are different than current active one (requested
   custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
 ========================================================================
 Received Import Request.
-  Time since last request: 44.938718 seconds.
-  path: Assets/ToneTuneToolkit/Module/Networking/Upload/Upload2OYManager.cs
-  artifactKey: Guid(6ee2856258a90e3438cd8a48df819144) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
-Start importing Assets/ToneTuneToolkit/Module/Networking/Upload/Upload2OYManager.cs using Guid(6ee2856258a90e3438cd8a48df819144) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: '1d31cc823c4380ef23af79d7676a525b') in 0.002000 seconds
+  Time since last request: 87.101057 seconds.
+  path: Assets/ToneTuneToolkit/Scripts/Common/SingletonMaster.cs
+  artifactKey: Guid(a683dd2cdddc0c84a879f2dafa20bbee) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
+Start importing Assets/ToneTuneToolkit/Scripts/Common/SingletonMaster.cs using Guid(a683dd2cdddc0c84a879f2dafa20bbee) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: '84aab47aaddbf46719c96bd736e0c514') in 0.001839 seconds
 Number of updated asset objects reloaded before import = 0
 Number of asset objects unloaded after import = 0

+ 0 - 288
ToneTuneToolkit/Logs/AssetImportWorker0.log

@@ -1,288 +0,0 @@
-Using pre-set license
-Built from '2022.3/staging' branch; Version is '2022.3.30f1 (70558241b701) revision 7361922'; Using compiler version '192829333'; Build Type 'Release'
-OS: 'Windows 10  (10.0.19045) 64bit Professional' Language: 'zh' Physical Memory: 15773 MB
-BatchMode: 1, IsHumanControllingUs: 0, StartBugReporterOnCrash: 0, Is64bit: 1, IsPro: 1
-
-COMMAND LINE ARGUMENTS:
-C:\Workflow\Software\Unity\Editor\2022.3.30f1\Editor\Unity.exe
--adb2
--batchMode
--noUpm
--name
-AssetImportWorker0
--projectPath
-D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
--logFile
-Logs/AssetImportWorker0.log
--srvPort
-5948
-Successfully changed project path to: D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
-D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
-[UnityMemory] Configuration Parameters - Can be set up in boot.config
-    "memorysetup-bucket-allocator-granularity=16"
-    "memorysetup-bucket-allocator-bucket-count=8"
-    "memorysetup-bucket-allocator-block-size=33554432"
-    "memorysetup-bucket-allocator-block-count=8"
-    "memorysetup-main-allocator-block-size=16777216"
-    "memorysetup-thread-allocator-block-size=16777216"
-    "memorysetup-gfx-main-allocator-block-size=16777216"
-    "memorysetup-gfx-thread-allocator-block-size=16777216"
-    "memorysetup-cache-allocator-block-size=4194304"
-    "memorysetup-typetree-allocator-block-size=2097152"
-    "memorysetup-profiler-bucket-allocator-granularity=16"
-    "memorysetup-profiler-bucket-allocator-bucket-count=8"
-    "memorysetup-profiler-bucket-allocator-block-size=33554432"
-    "memorysetup-profiler-bucket-allocator-block-count=8"
-    "memorysetup-profiler-allocator-block-size=16777216"
-    "memorysetup-profiler-editor-allocator-block-size=1048576"
-    "memorysetup-temp-allocator-size-main=16777216"
-    "memorysetup-job-temp-allocator-block-size=2097152"
-    "memorysetup-job-temp-allocator-block-size-background=1048576"
-    "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
-    "memorysetup-allocator-temp-initial-block-size-main=262144"
-    "memorysetup-allocator-temp-initial-block-size-worker=262144"
-    "memorysetup-temp-allocator-size-background-worker=32768"
-    "memorysetup-temp-allocator-size-job-worker=262144"
-    "memorysetup-temp-allocator-size-preload-manager=33554432"
-    "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
-    "memorysetup-temp-allocator-size-audio-worker=65536"
-    "memorysetup-temp-allocator-size-cloud-worker=32768"
-    "memorysetup-temp-allocator-size-gi-baking-worker=262144"
-    "memorysetup-temp-allocator-size-gfx=262144"
-Player connection [24760] Host "[IP] 172.26.80.1 [Port] 0 [Flags] 2 [Guid] 3651545042 [EditorId] 3651545042 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Engine) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined multi-casting on [225.0.0.222:54997]...
-
-Player connection [24760] Host "[IP] 172.26.80.1 [Port] 0 [Flags] 2 [Guid] 3651545042 [EditorId] 3651545042 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Engine) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined alternative multi-casting on [225.0.0.222:34997]...
-
-[Physics::Module] Initialized MultithreadedJobDispatcher with 15 workers.
-Refreshing native plugins compatible for Editor in 80.88 ms, found 3 plugins.
-Preloading 0 native plugins for Editor in 0.00 ms.
-Initialize engine version: 2022.3.30f1 (70558241b701)
-[Subsystems] Discovering subsystems at path C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/Resources/UnitySubsystems
-[Subsystems] Discovering subsystems at path D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit/Assets
-GfxDevice: creating device client; threaded=0; jobified=0
-Direct3D:
-    Version:  Direct3D 11.0 [level 11.1]
-    Renderer: NVIDIA GeForce RTX 3060 Laptop GPU (ID=0x2520)
-    Vendor:   NVIDIA
-    VRAM:     5996 MB
-    Driver:   32.0.15.6607
-Initialize mono
-Mono path[0] = 'C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/Managed'
-Mono path[1] = 'C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/MonoBleedingEdge/lib/mono/unityjit-win32'
-Mono config path = 'C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/MonoBleedingEdge/etc'
-Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56640
-Begin MonoManager ReloadAssembly
-Registering precompiled unity dll's ...
-Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/WebGLSupport/UnityEditor.WebGL.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/AndroidPlayer/UnityEditor.Android.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/iOSSupport/UnityEditor.iOS.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer/UnityEditor.VisionOS.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/MetroSupport/UnityEditor.UWP.Extensions.dll
-Registered in 0.022998 seconds.
-- Loaded All Assemblies, in  0.382 seconds
-Native extension for UWP target not found
-Native extension for WindowsStandalone target not found
-Failed to load: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer\x64\UnityEditor.VisionOS.Native.dll
-Native extension for VisionOS target not found
-[usbmuxd] Start listen thread
-[usbmuxd] Listen thread started
-[usbmuxd] Send listen message
-Native extension for iOS target not found
-Native extension for Android target not found
-Android Extension - Scanning For ADB Devices 400 ms
-Native extension for WebGL target not found
-Mono: successfully reloaded assembly
-- Finished resetting the current domain, in  0.816 seconds
-Domain Reload Profiling: 1198ms
-	BeginReloadAssembly (136ms)
-		ExecutionOrderSort (0ms)
-		DisableScriptedObjects (0ms)
-		BackupInstance (0ms)
-		ReleaseScriptingObjects (0ms)
-		CreateAndSetChildDomain (1ms)
-	RebuildCommonClasses (28ms)
-	RebuildNativeTypeToScriptingClass (8ms)
-	initialDomainReloadingComplete (70ms)
-	LoadAllAssembliesAndSetupDomain (137ms)
-		LoadAssemblies (134ms)
-		RebuildTransferFunctionScriptingTraits (0ms)
-		AnalyzeDomain (134ms)
-			TypeCache.Refresh (133ms)
-				TypeCache.ScanAssembly (122ms)
-			ScanForSourceGeneratedMonoScriptInfo (0ms)
-			ResolveRequiredComponents (0ms)
-	FinalizeReload (817ms)
-		ReleaseScriptCaches (0ms)
-		RebuildScriptCaches (0ms)
-		SetupLoadedEditorAssemblies (766ms)
-			LogAssemblyErrors (0ms)
-			InitializePlatformSupportModulesInManaged (532ms)
-			SetLoadedEditorAssemblies (5ms)
-			RefreshPlugins (0ms)
-			BeforeProcessingInitializeOnLoad (3ms)
-			ProcessInitializeOnLoadAttributes (173ms)
-			ProcessInitializeOnLoadMethodAttributes (52ms)
-			AfterProcessingInitializeOnLoad (0ms)
-			EditorAssembliesLoaded (0ms)
-		ExecutionOrderSort2 (0ms)
-		AwakeInstancesAfterBackupRestoration (0ms)
-========================================================================
-Worker process is ready to serve import requests
-Begin MonoManager ReloadAssembly
-- Loaded All Assemblies, in  0.887 seconds
-Refreshing native plugins compatible for Editor in 3.58 ms, found 3 plugins.
-Native extension for UWP target not found
-Native extension for WindowsStandalone target not found
-Failed to load: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer\x64\UnityEditor.VisionOS.Native.dll
-Native extension for VisionOS target not found
-Native extension for iOS target not found
-Native extension for Android target not found
-Native extension for WebGL target not found
-Package Manager log level set to [2]
-[Package Manager] Server::EnsureServerProcessIsRunning -- launch failed, reason: Unity was launched with the -noUpm command-line argument
-[Package Manager] UpmClient::Send -- Unable to send message (not connected to UPM process).
-[Package Manager] Cannot connect to Unity Package Manager local server
-Mono: successfully reloaded assembly
-- Finished resetting the current domain, in  0.645 seconds
-Domain Reload Profiling: 1530ms
-	BeginReloadAssembly (166ms)
-		ExecutionOrderSort (0ms)
-		DisableScriptedObjects (5ms)
-		BackupInstance (0ms)
-		ReleaseScriptingObjects (0ms)
-		CreateAndSetChildDomain (31ms)
-	RebuildCommonClasses (35ms)
-	RebuildNativeTypeToScriptingClass (14ms)
-	initialDomainReloadingComplete (32ms)
-	LoadAllAssembliesAndSetupDomain (637ms)
-		LoadAssemblies (531ms)
-		RebuildTransferFunctionScriptingTraits (0ms)
-		AnalyzeDomain (200ms)
-			TypeCache.Refresh (177ms)
-				TypeCache.ScanAssembly (156ms)
-			ScanForSourceGeneratedMonoScriptInfo (16ms)
-			ResolveRequiredComponents (5ms)
-	FinalizeReload (646ms)
-		ReleaseScriptCaches (0ms)
-		RebuildScriptCaches (0ms)
-		SetupLoadedEditorAssemblies (485ms)
-			LogAssemblyErrors (0ms)
-			InitializePlatformSupportModulesInManaged (51ms)
-			SetLoadedEditorAssemblies (4ms)
-			RefreshPlugins (0ms)
-			BeforeProcessingInitializeOnLoad (64ms)
-			ProcessInitializeOnLoadAttributes (338ms)
-			ProcessInitializeOnLoadMethodAttributes (23ms)
-			AfterProcessingInitializeOnLoad (6ms)
-			EditorAssembliesLoaded (0ms)
-		ExecutionOrderSort2 (0ms)
-		AwakeInstancesAfterBackupRestoration (8ms)
-Launched and connected shader compiler UnityShaderCompiler.exe after 0.11 seconds
-Refreshing native plugins compatible for Editor in 6.83 ms, found 3 plugins.
-Preloading 0 native plugins for Editor in 0.00 ms.
-Unloading 3252 Unused Serialized files (Serialized files now loaded: 0)
-Unloading 40 unused Assets / (59.7 KB). Loaded Objects now: 3715.
-Memory consumption went from 129.0 MB to 129.0 MB.
-Total: 4.268400 ms (FindLiveObjects: 0.628500 ms CreateObjectMapping: 0.267700 ms MarkObjects: 3.247600 ms  DeleteObjects: 0.122100 ms)
-
-AssetImportParameters requested are different than current active one (requested -> active):
-  custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 
-  custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 
-  custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 -> 
-  custom:CustomObjectIndexerAttribute: 9a22284fe3817be447336de3de66b15e -> 
-  custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 
-  custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 
-  custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 -> 
-  custom:SearchIndexIgnoredProperties: e643bd26f0fe6173181afceb89e7c659 -> 
-  custom:AudioImporter_EditorPlatform: d09bf68614088b80899f8185d706f6e7 -> 
-  custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 -> 
-  custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
-  custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
-========================================================================
-Received Import Request.
-  Time since last request: 279521.443119 seconds.
-  path: Assets/ToneTuneToolkit/Modules/Networking/Upload/Upload2OYManager.cs
-  artifactKey: Guid(6ee2856258a90e3438cd8a48df819144) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
-Start importing Assets/ToneTuneToolkit/Modules/Networking/Upload/Upload2OYManager.cs using Guid(6ee2856258a90e3438cd8a48df819144) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: 'f14069dc0c956727e76290a444fd4f42') in 0.099520 seconds
-Number of updated asset objects reloaded before import = 0
-Number of asset objects unloaded after import = 0
-========================================================================
-Received Import Request.
-  Time since last request: 930.979883 seconds.
-  path: Assets/ToneTuneToolkit/Modules/Other/QR/Scripts
-  artifactKey: Guid(d5753fabbee09c249862be7e9b967532) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
-Start importing Assets/ToneTuneToolkit/Modules/Other/QR/Scripts using Guid(d5753fabbee09c249862be7e9b967532) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: '676d01c3b8274bd735b87f9ce9a17097') in 0.006205 seconds
-Number of updated asset objects reloaded before import = 0
-Number of asset objects unloaded after import = 0
-========================================================================
-Received Prepare
-Begin MonoManager ReloadAssembly
-- Loaded All Assemblies, in  1.319 seconds
-Refreshing native plugins compatible for Editor in 3.56 ms, found 3 plugins.
-Native extension for UWP target not found
-Native extension for WindowsStandalone target not found
-Failed to load: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer\x64\UnityEditor.VisionOS.Native.dll
-Native extension for VisionOS target not found
-Native extension for iOS target not found
-Native extension for Android target not found
-Native extension for WebGL target not found
-[Package Manager] Server::EnsureServerProcessIsRunning -- launch failed, reason: Unity was launched with the -noUpm command-line argument
-[Package Manager] UpmClient::Send -- Unable to send message (not connected to UPM process).
-[Package Manager] Cannot connect to Unity Package Manager local server
-Mono: successfully reloaded assembly
-- Finished resetting the current domain, in  2.108 seconds
-Domain Reload Profiling: 3425ms
-	BeginReloadAssembly (445ms)
-		ExecutionOrderSort (0ms)
-		DisableScriptedObjects (16ms)
-		BackupInstance (0ms)
-		ReleaseScriptingObjects (0ms)
-		CreateAndSetChildDomain (142ms)
-	RebuildCommonClasses (47ms)
-	RebuildNativeTypeToScriptingClass (10ms)
-	initialDomainReloadingComplete (53ms)
-	LoadAllAssembliesAndSetupDomain (761ms)
-		LoadAssemblies (945ms)
-		RebuildTransferFunctionScriptingTraits (0ms)
-		AnalyzeDomain (38ms)
-			TypeCache.Refresh (21ms)
-				TypeCache.ScanAssembly (2ms)
-			ScanForSourceGeneratedMonoScriptInfo (8ms)
-			ResolveRequiredComponents (8ms)
-	FinalizeReload (2108ms)
-		ReleaseScriptCaches (0ms)
-		RebuildScriptCaches (0ms)
-		SetupLoadedEditorAssemblies (465ms)
-			LogAssemblyErrors (0ms)
-			InitializePlatformSupportModulesInManaged (53ms)
-			SetLoadedEditorAssemblies (4ms)
-			RefreshPlugins (0ms)
-			BeforeProcessingInitializeOnLoad (62ms)
-			ProcessInitializeOnLoadAttributes (315ms)
-			ProcessInitializeOnLoadMethodAttributes (23ms)
-			AfterProcessingInitializeOnLoad (7ms)
-			EditorAssembliesLoaded (0ms)
-		ExecutionOrderSort2 (0ms)
-		AwakeInstancesAfterBackupRestoration (9ms)
-Refreshing native plugins compatible for Editor in 5.78 ms, found 3 plugins.
-Preloading 0 native plugins for Editor in 0.00 ms.
-Unloading 3241 Unused Serialized files (Serialized files now loaded: 0)
-Unloading 31 unused Assets / (33.8 KB). Loaded Objects now: 3718.
-Memory consumption went from 126.6 MB to 126.6 MB.
-Total: 5.303900 ms (FindLiveObjects: 0.334100 ms CreateObjectMapping: 0.115200 ms MarkObjects: 4.754800 ms  DeleteObjects: 0.098100 ms)
-
-Prepare: number of updated asset objects reloaded= 0
-AssetImportParameters requested are different than current active one (requested -> active):
-  custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 
-  custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 
-  custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 -> 
-  custom:CustomObjectIndexerAttribute: 9a22284fe3817be447336de3de66b15e -> 
-  custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 
-  custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 
-  custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 -> 
-  custom:SearchIndexIgnoredProperties: e643bd26f0fe6173181afceb89e7c659 -> 
-  custom:AudioImporter_EditorPlatform: d09bf68614088b80899f8185d706f6e7 -> 
-  custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 -> 
-  custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
-  custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 

+ 228 - 94
ToneTuneToolkit/Logs/AssetImportWorker1-prev.log

@@ -15,7 +15,7 @@ D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 -logFile
 Logs/AssetImportWorker1.log
 -srvPort
-13697
+8598
 Successfully changed project path to: D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 [UnityMemory] Configuration Parameters - Can be set up in boot.config
@@ -49,12 +49,12 @@ D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
     "memorysetup-temp-allocator-size-cloud-worker=32768"
     "memorysetup-temp-allocator-size-gi-baking-worker=262144"
     "memorysetup-temp-allocator-size-gfx=262144"
-Player connection [31416] Host "[IP] 172.27.128.1 [Port] 0 [Flags] 2 [Guid] 2519302685 [EditorId] 2519302685 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Engine) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined multi-casting on [225.0.0.222:54997]...
+Player connection [33704] Host "[IP] 172.26.80.1 [Port] 0 [Flags] 2 [Guid] 3564770183 [EditorId] 3564770183 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Engine) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined multi-casting on [225.0.0.222:54997]...
 
-Player connection [31416] Host "[IP] 172.27.128.1 [Port] 0 [Flags] 2 [Guid] 2519302685 [EditorId] 2519302685 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Engine) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined alternative multi-casting on [225.0.0.222:34997]...
+Player connection [33704] Host "[IP] 172.26.80.1 [Port] 0 [Flags] 2 [Guid] 3564770183 [EditorId] 3564770183 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Engine) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined alternative multi-casting on [225.0.0.222:34997]...
 
 [Physics::Module] Initialized MultithreadedJobDispatcher with 15 workers.
-Refreshing native plugins compatible for Editor in 28.35 ms, found 3 plugins.
+Refreshing native plugins compatible for Editor in 14.81 ms, found 3 plugins.
 Preloading 0 native plugins for Editor in 0.00 ms.
 Initialize engine version: 2022.3.30f1 (70558241b701)
 [Subsystems] Discovering subsystems at path C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/Resources/UnitySubsystems
@@ -70,7 +70,7 @@ Initialize mono
 Mono path[0] = 'C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/Managed'
 Mono path[1] = 'C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/MonoBleedingEdge/lib/mono/unityjit-win32'
 Mono config path = 'C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/MonoBleedingEdge/etc'
-Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56492
+Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56048
 Begin MonoManager ReloadAssembly
 Registering precompiled unity dll's ...
 Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/WebGLSupport/UnityEditor.WebGL.Extensions.dll
@@ -79,8 +79,8 @@ Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/
 Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer/UnityEditor.VisionOS.Extensions.dll
 Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll
 Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/MetroSupport/UnityEditor.UWP.Extensions.dll
-Registered in 0.023429 seconds.
-- Loaded All Assemblies, in  0.495 seconds
+Registered in 0.019116 seconds.
+- Loaded All Assemblies, in  0.373 seconds
 Native extension for UWP target not found
 Native extension for WindowsStandalone target not found
 Failed to load: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer\x64\UnityEditor.VisionOS.Native.dll
@@ -90,39 +90,39 @@ Native extension for VisionOS target not found
 [usbmuxd] Send listen message
 Native extension for iOS target not found
 Native extension for Android target not found
-Android Extension - Scanning For ADB Devices 1592 ms
+Android Extension - Scanning For ADB Devices 383 ms
 Native extension for WebGL target not found
 Mono: successfully reloaded assembly
-- Finished resetting the current domain, in  2.096 seconds
-Domain Reload Profiling: 2589ms
-	BeginReloadAssembly (131ms)
+- Finished resetting the current domain, in  0.745 seconds
+Domain Reload Profiling: 1117ms
+	BeginReloadAssembly (105ms)
 		ExecutionOrderSort (0ms)
 		DisableScriptedObjects (0ms)
 		BackupInstance (0ms)
 		ReleaseScriptingObjects (0ms)
 		CreateAndSetChildDomain (1ms)
-	RebuildCommonClasses (34ms)
+	RebuildCommonClasses (31ms)
 	RebuildNativeTypeToScriptingClass (10ms)
-	initialDomainReloadingComplete (87ms)
-	LoadAllAssembliesAndSetupDomain (230ms)
-		LoadAssemblies (133ms)
+	initialDomainReloadingComplete (70ms)
+	LoadAllAssembliesAndSetupDomain (156ms)
+		LoadAssemblies (104ms)
 		RebuildTransferFunctionScriptingTraits (0ms)
-		AnalyzeDomain (224ms)
-			TypeCache.Refresh (220ms)
-				TypeCache.ScanAssembly (195ms)
-			ScanForSourceGeneratedMonoScriptInfo (1ms)
-			ResolveRequiredComponents (1ms)
-	FinalizeReload (2097ms)
+		AnalyzeDomain (153ms)
+			TypeCache.Refresh (151ms)
+				TypeCache.ScanAssembly (137ms)
+			ScanForSourceGeneratedMonoScriptInfo (0ms)
+			ResolveRequiredComponents (0ms)
+	FinalizeReload (745ms)
 		ReleaseScriptCaches (0ms)
 		RebuildScriptCaches (0ms)
-		SetupLoadedEditorAssemblies (2021ms)
+		SetupLoadedEditorAssemblies (690ms)
 			LogAssemblyErrors (0ms)
-			InitializePlatformSupportModulesInManaged (1773ms)
-			SetLoadedEditorAssemblies (6ms)
+			InitializePlatformSupportModulesInManaged (519ms)
+			SetLoadedEditorAssemblies (4ms)
 			RefreshPlugins (0ms)
-			BeforeProcessingInitializeOnLoad (3ms)
-			ProcessInitializeOnLoadAttributes (180ms)
-			ProcessInitializeOnLoadMethodAttributes (59ms)
+			BeforeProcessingInitializeOnLoad (2ms)
+			ProcessInitializeOnLoadAttributes (116ms)
+			ProcessInitializeOnLoadMethodAttributes (49ms)
 			AfterProcessingInitializeOnLoad (0ms)
 			EditorAssembliesLoaded (0ms)
 		ExecutionOrderSort2 (0ms)
@@ -130,8 +130,8 @@ Domain Reload Profiling: 2589ms
 ========================================================================
 Worker process is ready to serve import requests
 Begin MonoManager ReloadAssembly
-- Loaded All Assemblies, in  1.167 seconds
-Refreshing native plugins compatible for Editor in 72.50 ms, found 3 plugins.
+- Loaded All Assemblies, in  0.690 seconds
+Refreshing native plugins compatible for Editor in 3.29 ms, found 3 plugins.
 Native extension for UWP target not found
 Native extension for WindowsStandalone target not found
 Failed to load: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer\x64\UnityEditor.VisionOS.Native.dll
@@ -144,47 +144,47 @@ Package Manager log level set to [2]
 [Package Manager] UpmClient::Send -- Unable to send message (not connected to UPM process).
 [Package Manager] Cannot connect to Unity Package Manager local server
 Mono: successfully reloaded assembly
-- Finished resetting the current domain, in  0.695 seconds
-Domain Reload Profiling: 1859ms
-	BeginReloadAssembly (170ms)
+- Finished resetting the current domain, in  0.593 seconds
+Domain Reload Profiling: 1281ms
+	BeginReloadAssembly (134ms)
 		ExecutionOrderSort (0ms)
-		DisableScriptedObjects (6ms)
+		DisableScriptedObjects (5ms)
 		BackupInstance (0ms)
 		ReleaseScriptingObjects (0ms)
-		CreateAndSetChildDomain (28ms)
-	RebuildCommonClasses (37ms)
-	RebuildNativeTypeToScriptingClass (11ms)
-	initialDomainReloadingComplete (32ms)
-	LoadAllAssembliesAndSetupDomain (914ms)
-		LoadAssemblies (781ms)
+		CreateAndSetChildDomain (21ms)
+	RebuildCommonClasses (31ms)
+	RebuildNativeTypeToScriptingClass (10ms)
+	initialDomainReloadingComplete (34ms)
+	LoadAllAssembliesAndSetupDomain (478ms)
+		LoadAssemblies (371ms)
 		RebuildTransferFunctionScriptingTraits (0ms)
-		AnalyzeDomain (235ms)
-			TypeCache.Refresh (209ms)
-				TypeCache.ScanAssembly (189ms)
-			ScanForSourceGeneratedMonoScriptInfo (18ms)
-			ResolveRequiredComponents (6ms)
-	FinalizeReload (695ms)
+		AnalyzeDomain (186ms)
+			TypeCache.Refresh (161ms)
+				TypeCache.ScanAssembly (144ms)
+			ScanForSourceGeneratedMonoScriptInfo (17ms)
+			ResolveRequiredComponents (5ms)
+	FinalizeReload (593ms)
 		ReleaseScriptCaches (0ms)
 		RebuildScriptCaches (0ms)
-		SetupLoadedEditorAssemblies (537ms)
+		SetupLoadedEditorAssemblies (433ms)
 			LogAssemblyErrors (0ms)
-			InitializePlatformSupportModulesInManaged (57ms)
+			InitializePlatformSupportModulesInManaged (47ms)
 			SetLoadedEditorAssemblies (3ms)
 			RefreshPlugins (0ms)
-			BeforeProcessingInitializeOnLoad (67ms)
-			ProcessInitializeOnLoadAttributes (379ms)
-			ProcessInitializeOnLoadMethodAttributes (21ms)
-			AfterProcessingInitializeOnLoad (8ms)
+			BeforeProcessingInitializeOnLoad (57ms)
+			ProcessInitializeOnLoadAttributes (299ms)
+			ProcessInitializeOnLoadMethodAttributes (20ms)
+			AfterProcessingInitializeOnLoad (7ms)
 			EditorAssembliesLoaded (0ms)
 		ExecutionOrderSort2 (0ms)
-		AwakeInstancesAfterBackupRestoration (9ms)
-Launched and connected shader compiler UnityShaderCompiler.exe after 0.08 seconds
-Refreshing native plugins compatible for Editor in 7.91 ms, found 3 plugins.
+		AwakeInstancesAfterBackupRestoration (8ms)
+Launched and connected shader compiler UnityShaderCompiler.exe after 0.06 seconds
+Refreshing native plugins compatible for Editor in 6.37 ms, found 3 plugins.
 Preloading 0 native plugins for Editor in 0.00 ms.
-Unloading 3251 Unused Serialized files (Serialized files now loaded: 0)
-Unloading 40 unused Assets / (59.6 KB). Loaded Objects now: 3714.
-Memory consumption went from 129.0 MB to 129.0 MB.
-Total: 4.264400 ms (FindLiveObjects: 0.360100 ms CreateObjectMapping: 0.226700 ms MarkObjects: 3.496100 ms  DeleteObjects: 0.180200 ms)
+Unloading 3252 Unused Serialized files (Serialized files now loaded: 0)
+Unloading 40 unused Assets / (59.6 KB). Loaded Objects now: 3715.
+Memory consumption went from 129.0 MB to 128.9 MB.
+Total: 3.119000 ms (FindLiveObjects: 0.282100 ms CreateObjectMapping: 0.099000 ms MarkObjects: 2.617500 ms  DeleteObjects: 0.119200 ms)
 
 AssetImportParameters requested are different than current active one (requested -> active):
   custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 
@@ -200,18 +200,152 @@ AssetImportParameters requested are different than current active one (requested
   custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
   custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
 ========================================================================
-Received Import Request.
-  Time since last request: 107883.656614 seconds.
-  path: Assets/ToneTuneToolkit/Module/Networking
-  artifactKey: Guid(6bef49af53347834fb43fa6638c83965) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
-Start importing Assets/ToneTuneToolkit/Module/Networking using Guid(6bef49af53347834fb43fa6638c83965) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: '8010097579914903a9e231b1f74a705a') in 0.002975 seconds
-Number of updated asset objects reloaded before import = 0
-Number of asset objects unloaded after import = 0
+Received Prepare
+Begin MonoManager ReloadAssembly
+- Loaded All Assemblies, in  0.463 seconds
+Refreshing native plugins compatible for Editor in 4.75 ms, found 3 plugins.
+Native extension for UWP target not found
+Native extension for WindowsStandalone target not found
+Failed to load: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer\x64\UnityEditor.VisionOS.Native.dll
+Native extension for VisionOS target not found
+Native extension for iOS target not found
+Native extension for Android target not found
+Native extension for WebGL target not found
+[Package Manager] Server::EnsureServerProcessIsRunning -- launch failed, reason: Unity was launched with the -noUpm command-line argument
+[Package Manager] UpmClient::Send -- Unable to send message (not connected to UPM process).
+[Package Manager] Cannot connect to Unity Package Manager local server
+Mono: successfully reloaded assembly
+- Finished resetting the current domain, in  0.748 seconds
+Domain Reload Profiling: 1209ms
+	BeginReloadAssembly (142ms)
+		ExecutionOrderSort (0ms)
+		DisableScriptedObjects (5ms)
+		BackupInstance (0ms)
+		ReleaseScriptingObjects (0ms)
+		CreateAndSetChildDomain (33ms)
+	RebuildCommonClasses (27ms)
+	RebuildNativeTypeToScriptingClass (10ms)
+	initialDomainReloadingComplete (27ms)
+	LoadAllAssembliesAndSetupDomain (254ms)
+		LoadAssemblies (306ms)
+		RebuildTransferFunctionScriptingTraits (0ms)
+		AnalyzeDomain (24ms)
+			TypeCache.Refresh (10ms)
+				TypeCache.ScanAssembly (2ms)
+			ScanForSourceGeneratedMonoScriptInfo (5ms)
+			ResolveRequiredComponents (6ms)
+	FinalizeReload (749ms)
+		ReleaseScriptCaches (0ms)
+		RebuildScriptCaches (0ms)
+		SetupLoadedEditorAssemblies (353ms)
+			LogAssemblyErrors (0ms)
+			InitializePlatformSupportModulesInManaged (49ms)
+			SetLoadedEditorAssemblies (4ms)
+			RefreshPlugins (0ms)
+			BeforeProcessingInitializeOnLoad (50ms)
+			ProcessInitializeOnLoadAttributes (226ms)
+			ProcessInitializeOnLoadMethodAttributes (18ms)
+			AfterProcessingInitializeOnLoad (7ms)
+			EditorAssembliesLoaded (0ms)
+		ExecutionOrderSort2 (0ms)
+		AwakeInstancesAfterBackupRestoration (7ms)
+Refreshing native plugins compatible for Editor in 5.82 ms, found 3 plugins.
+Preloading 0 native plugins for Editor in 0.00 ms.
+Unloading 3242 Unused Serialized files (Serialized files now loaded: 0)
+Unloading 31 unused Assets / (33.7 KB). Loaded Objects now: 3718.
+Memory consumption went from 126.8 MB to 126.8 MB.
+Total: 3.002200 ms (FindLiveObjects: 0.244900 ms CreateObjectMapping: 0.091200 ms MarkObjects: 2.590600 ms  DeleteObjects: 0.074700 ms)
+
+Prepare: number of updated asset objects reloaded= 0
+AssetImportParameters requested are different than current active one (requested -> active):
+  custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 
+  custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 
+  custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 -> 
+  custom:CustomObjectIndexerAttribute: 9a22284fe3817be447336de3de66b15e -> 
+  custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 
+  custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 
+  custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 -> 
+  custom:SearchIndexIgnoredProperties: e643bd26f0fe6173181afceb89e7c659 -> 
+  custom:AudioImporter_EditorPlatform: d09bf68614088b80899f8185d706f6e7 -> 
+  custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 -> 
+  custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
+  custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
+========================================================================
+Received Prepare
+Begin MonoManager ReloadAssembly
+- Loaded All Assemblies, in  0.476 seconds
+Refreshing native plugins compatible for Editor in 4.68 ms, found 3 plugins.
+Native extension for UWP target not found
+Native extension for WindowsStandalone target not found
+Failed to load: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer\x64\UnityEditor.VisionOS.Native.dll
+Native extension for VisionOS target not found
+Native extension for iOS target not found
+Native extension for Android target not found
+Native extension for WebGL target not found
+[Package Manager] Server::EnsureServerProcessIsRunning -- launch failed, reason: Unity was launched with the -noUpm command-line argument
+[Package Manager] UpmClient::Send -- Unable to send message (not connected to UPM process).
+[Package Manager] Cannot connect to Unity Package Manager local server
+Mono: successfully reloaded assembly
+- Finished resetting the current domain, in  0.788 seconds
+Domain Reload Profiling: 1261ms
+	BeginReloadAssembly (149ms)
+		ExecutionOrderSort (0ms)
+		DisableScriptedObjects (5ms)
+		BackupInstance (0ms)
+		ReleaseScriptingObjects (0ms)
+		CreateAndSetChildDomain (34ms)
+	RebuildCommonClasses (34ms)
+	RebuildNativeTypeToScriptingClass (10ms)
+	initialDomainReloadingComplete (28ms)
+	LoadAllAssembliesAndSetupDomain (253ms)
+		LoadAssemblies (306ms)
+		RebuildTransferFunctionScriptingTraits (0ms)
+		AnalyzeDomain (29ms)
+			TypeCache.Refresh (12ms)
+				TypeCache.ScanAssembly (1ms)
+			ScanForSourceGeneratedMonoScriptInfo (6ms)
+			ResolveRequiredComponents (9ms)
+	FinalizeReload (788ms)
+		ReleaseScriptCaches (0ms)
+		RebuildScriptCaches (0ms)
+		SetupLoadedEditorAssemblies (368ms)
+			LogAssemblyErrors (0ms)
+			InitializePlatformSupportModulesInManaged (51ms)
+			SetLoadedEditorAssemblies (4ms)
+			RefreshPlugins (0ms)
+			BeforeProcessingInitializeOnLoad (55ms)
+			ProcessInitializeOnLoadAttributes (232ms)
+			ProcessInitializeOnLoadMethodAttributes (18ms)
+			AfterProcessingInitializeOnLoad (7ms)
+			EditorAssembliesLoaded (0ms)
+		ExecutionOrderSort2 (0ms)
+		AwakeInstancesAfterBackupRestoration (7ms)
+Refreshing native plugins compatible for Editor in 6.46 ms, found 3 plugins.
+Preloading 0 native plugins for Editor in 0.00 ms.
+Unloading 3242 Unused Serialized files (Serialized files now loaded: 0)
+Unloading 31 unused Assets / (33.6 KB). Loaded Objects now: 3721.
+Memory consumption went from 126.8 MB to 126.8 MB.
+Total: 3.492200 ms (FindLiveObjects: 0.293400 ms CreateObjectMapping: 0.107300 ms MarkObjects: 3.012200 ms  DeleteObjects: 0.078500 ms)
+
+Prepare: number of updated asset objects reloaded= 0
+AssetImportParameters requested are different than current active one (requested -> active):
+  custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 
+  custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 
+  custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 -> 
+  custom:CustomObjectIndexerAttribute: 9a22284fe3817be447336de3de66b15e -> 
+  custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 
+  custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 
+  custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 -> 
+  custom:SearchIndexIgnoredProperties: e643bd26f0fe6173181afceb89e7c659 -> 
+  custom:AudioImporter_EditorPlatform: d09bf68614088b80899f8185d706f6e7 -> 
+  custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 -> 
+  custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
+  custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
 ========================================================================
 Received Prepare
 Begin MonoManager ReloadAssembly
-- Loaded All Assemblies, in  0.725 seconds
-Refreshing native plugins compatible for Editor in 4.58 ms, found 3 plugins.
+- Loaded All Assemblies, in  0.621 seconds
+Refreshing native plugins compatible for Editor in 5.20 ms, found 3 plugins.
 Native extension for UWP target not found
 Native extension for WindowsStandalone target not found
 Failed to load: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer\x64\UnityEditor.VisionOS.Native.dll
@@ -223,46 +357,46 @@ Native extension for WebGL target not found
 [Package Manager] UpmClient::Send -- Unable to send message (not connected to UPM process).
 [Package Manager] Cannot connect to Unity Package Manager local server
 Mono: successfully reloaded assembly
-- Finished resetting the current domain, in  1.688 seconds
-Domain Reload Profiling: 2409ms
-	BeginReloadAssembly (225ms)
+- Finished resetting the current domain, in  0.841 seconds
+Domain Reload Profiling: 1459ms
+	BeginReloadAssembly (156ms)
 		ExecutionOrderSort (0ms)
-		DisableScriptedObjects (6ms)
+		DisableScriptedObjects (5ms)
 		BackupInstance (0ms)
 		ReleaseScriptingObjects (0ms)
-		CreateAndSetChildDomain (60ms)
-	RebuildCommonClasses (44ms)
-	RebuildNativeTypeToScriptingClass (12ms)
-	initialDomainReloadingComplete (32ms)
-	LoadAllAssembliesAndSetupDomain (406ms)
-		LoadAssemblies (497ms)
+		CreateAndSetChildDomain (34ms)
+	RebuildCommonClasses (53ms)
+	RebuildNativeTypeToScriptingClass (9ms)
+	initialDomainReloadingComplete (30ms)
+	LoadAllAssembliesAndSetupDomain (370ms)
+		LoadAssemblies (421ms)
 		RebuildTransferFunctionScriptingTraits (0ms)
-		AnalyzeDomain (34ms)
-			TypeCache.Refresh (16ms)
+		AnalyzeDomain (36ms)
+			TypeCache.Refresh (12ms)
 				TypeCache.ScanAssembly (2ms)
-			ScanForSourceGeneratedMonoScriptInfo (10ms)
+			ScanForSourceGeneratedMonoScriptInfo (16ms)
 			ResolveRequiredComponents (7ms)
-	FinalizeReload (1689ms)
+	FinalizeReload (841ms)
 		ReleaseScriptCaches (0ms)
 		RebuildScriptCaches (0ms)
-		SetupLoadedEditorAssemblies (481ms)
+		SetupLoadedEditorAssemblies (398ms)
 			LogAssemblyErrors (0ms)
-			InitializePlatformSupportModulesInManaged (63ms)
-			SetLoadedEditorAssemblies (5ms)
+			InitializePlatformSupportModulesInManaged (44ms)
+			SetLoadedEditorAssemblies (24ms)
 			RefreshPlugins (0ms)
-			BeforeProcessingInitializeOnLoad (64ms)
-			ProcessInitializeOnLoadAttributes (319ms)
-			ProcessInitializeOnLoadMethodAttributes (23ms)
-			AfterProcessingInitializeOnLoad (8ms)
+			BeforeProcessingInitializeOnLoad (54ms)
+			ProcessInitializeOnLoadAttributes (251ms)
+			ProcessInitializeOnLoadMethodAttributes (18ms)
+			AfterProcessingInitializeOnLoad (7ms)
 			EditorAssembliesLoaded (0ms)
 		ExecutionOrderSort2 (0ms)
-		AwakeInstancesAfterBackupRestoration (8ms)
-Refreshing native plugins compatible for Editor in 6.95 ms, found 3 plugins.
+		AwakeInstancesAfterBackupRestoration (7ms)
+Refreshing native plugins compatible for Editor in 6.79 ms, found 3 plugins.
 Preloading 0 native plugins for Editor in 0.00 ms.
-Unloading 3240 Unused Serialized files (Serialized files now loaded: 0)
-Unloading 31 unused Assets / (34.8 KB). Loaded Objects now: 3717.
-Memory consumption went from 126.6 MB to 126.6 MB.
-Total: 4.997400 ms (FindLiveObjects: 0.348400 ms CreateObjectMapping: 0.249700 ms MarkObjects: 4.318000 ms  DeleteObjects: 0.079500 ms)
+Unloading 3242 Unused Serialized files (Serialized files now loaded: 0)
+Unloading 31 unused Assets / (33.7 KB). Loaded Objects now: 3724.
+Memory consumption went from 126.8 MB to 126.8 MB.
+Total: 11.252400 ms (FindLiveObjects: 2.240100 ms CreateObjectMapping: 6.228800 ms MarkObjects: 2.701600 ms  DeleteObjects: 0.078900 ms)
 
 Prepare: number of updated asset objects reloaded= 0
 AssetImportParameters requested are different than current active one (requested -> active):

+ 0 - 280
ToneTuneToolkit/Logs/AssetImportWorker1.log

@@ -1,280 +0,0 @@
-Using pre-set license
-Built from '2022.3/staging' branch; Version is '2022.3.30f1 (70558241b701) revision 7361922'; Using compiler version '192829333'; Build Type 'Release'
-OS: 'Windows 10  (10.0.19045) 64bit Professional' Language: 'zh' Physical Memory: 15773 MB
-BatchMode: 1, IsHumanControllingUs: 0, StartBugReporterOnCrash: 0, Is64bit: 1, IsPro: 1
-
-COMMAND LINE ARGUMENTS:
-C:\Workflow\Software\Unity\Editor\2022.3.30f1\Editor\Unity.exe
--adb2
--batchMode
--noUpm
--name
-AssetImportWorker1
--projectPath
-D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
--logFile
-Logs/AssetImportWorker1.log
--srvPort
-5948
-Successfully changed project path to: D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
-D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
-[UnityMemory] Configuration Parameters - Can be set up in boot.config
-    "memorysetup-bucket-allocator-granularity=16"
-    "memorysetup-bucket-allocator-bucket-count=8"
-    "memorysetup-bucket-allocator-block-size=33554432"
-    "memorysetup-bucket-allocator-block-count=8"
-    "memorysetup-main-allocator-block-size=16777216"
-    "memorysetup-thread-allocator-block-size=16777216"
-    "memorysetup-gfx-main-allocator-block-size=16777216"
-    "memorysetup-gfx-thread-allocator-block-size=16777216"
-    "memorysetup-cache-allocator-block-size=4194304"
-    "memorysetup-typetree-allocator-block-size=2097152"
-    "memorysetup-profiler-bucket-allocator-granularity=16"
-    "memorysetup-profiler-bucket-allocator-bucket-count=8"
-    "memorysetup-profiler-bucket-allocator-block-size=33554432"
-    "memorysetup-profiler-bucket-allocator-block-count=8"
-    "memorysetup-profiler-allocator-block-size=16777216"
-    "memorysetup-profiler-editor-allocator-block-size=1048576"
-    "memorysetup-temp-allocator-size-main=16777216"
-    "memorysetup-job-temp-allocator-block-size=2097152"
-    "memorysetup-job-temp-allocator-block-size-background=1048576"
-    "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
-    "memorysetup-allocator-temp-initial-block-size-main=262144"
-    "memorysetup-allocator-temp-initial-block-size-worker=262144"
-    "memorysetup-temp-allocator-size-background-worker=32768"
-    "memorysetup-temp-allocator-size-job-worker=262144"
-    "memorysetup-temp-allocator-size-preload-manager=33554432"
-    "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
-    "memorysetup-temp-allocator-size-audio-worker=65536"
-    "memorysetup-temp-allocator-size-cloud-worker=32768"
-    "memorysetup-temp-allocator-size-gi-baking-worker=262144"
-    "memorysetup-temp-allocator-size-gfx=262144"
-Player connection [28564] Host "[IP] 172.26.80.1 [Port] 0 [Flags] 2 [Guid] 2620795295 [EditorId] 2620795295 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Engine) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined multi-casting on [225.0.0.222:54997]...
-
-Player connection [28564] Host "[IP] 172.26.80.1 [Port] 0 [Flags] 2 [Guid] 2620795295 [EditorId] 2620795295 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Engine) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined alternative multi-casting on [225.0.0.222:34997]...
-
-[Physics::Module] Initialized MultithreadedJobDispatcher with 15 workers.
-Refreshing native plugins compatible for Editor in 66.87 ms, found 3 plugins.
-Preloading 0 native plugins for Editor in 0.00 ms.
-Initialize engine version: 2022.3.30f1 (70558241b701)
-[Subsystems] Discovering subsystems at path C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/Resources/UnitySubsystems
-[Subsystems] Discovering subsystems at path D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit/Assets
-GfxDevice: creating device client; threaded=0; jobified=0
-Direct3D:
-    Version:  Direct3D 11.0 [level 11.1]
-    Renderer: NVIDIA GeForce RTX 3060 Laptop GPU (ID=0x2520)
-    Vendor:   NVIDIA
-    VRAM:     5996 MB
-    Driver:   32.0.15.6607
-Initialize mono
-Mono path[0] = 'C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/Managed'
-Mono path[1] = 'C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/MonoBleedingEdge/lib/mono/unityjit-win32'
-Mono config path = 'C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/MonoBleedingEdge/etc'
-Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56940
-Begin MonoManager ReloadAssembly
-Registering precompiled unity dll's ...
-Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/WebGLSupport/UnityEditor.WebGL.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/AndroidPlayer/UnityEditor.Android.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/iOSSupport/UnityEditor.iOS.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer/UnityEditor.VisionOS.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/MetroSupport/UnityEditor.UWP.Extensions.dll
-Registered in 0.024277 seconds.
-- Loaded All Assemblies, in  0.382 seconds
-Native extension for UWP target not found
-Native extension for WindowsStandalone target not found
-Failed to load: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer\x64\UnityEditor.VisionOS.Native.dll
-Native extension for VisionOS target not found
-[usbmuxd] Start listen thread
-[usbmuxd] Listen thread started
-[usbmuxd] Send listen message
-Native extension for iOS target not found
-Native extension for Android target not found
-Android Extension - Scanning For ADB Devices 399 ms
-Native extension for WebGL target not found
-Mono: successfully reloaded assembly
-- Finished resetting the current domain, in  0.816 seconds
-Domain Reload Profiling: 1197ms
-	BeginReloadAssembly (136ms)
-		ExecutionOrderSort (0ms)
-		DisableScriptedObjects (0ms)
-		BackupInstance (0ms)
-		ReleaseScriptingObjects (0ms)
-		CreateAndSetChildDomain (1ms)
-	RebuildCommonClasses (28ms)
-	RebuildNativeTypeToScriptingClass (8ms)
-	initialDomainReloadingComplete (72ms)
-	LoadAllAssembliesAndSetupDomain (137ms)
-		LoadAssemblies (134ms)
-		RebuildTransferFunctionScriptingTraits (0ms)
-		AnalyzeDomain (134ms)
-			TypeCache.Refresh (132ms)
-				TypeCache.ScanAssembly (121ms)
-			ScanForSourceGeneratedMonoScriptInfo (0ms)
-			ResolveRequiredComponents (1ms)
-	FinalizeReload (817ms)
-		ReleaseScriptCaches (0ms)
-		RebuildScriptCaches (0ms)
-		SetupLoadedEditorAssemblies (766ms)
-			LogAssemblyErrors (0ms)
-			InitializePlatformSupportModulesInManaged (531ms)
-			SetLoadedEditorAssemblies (5ms)
-			RefreshPlugins (0ms)
-			BeforeProcessingInitializeOnLoad (4ms)
-			ProcessInitializeOnLoadAttributes (173ms)
-			ProcessInitializeOnLoadMethodAttributes (52ms)
-			AfterProcessingInitializeOnLoad (0ms)
-			EditorAssembliesLoaded (0ms)
-		ExecutionOrderSort2 (0ms)
-		AwakeInstancesAfterBackupRestoration (0ms)
-========================================================================
-Worker process is ready to serve import requests
-Begin MonoManager ReloadAssembly
-- Loaded All Assemblies, in  0.885 seconds
-Refreshing native plugins compatible for Editor in 3.59 ms, found 3 plugins.
-Native extension for UWP target not found
-Native extension for WindowsStandalone target not found
-Failed to load: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer\x64\UnityEditor.VisionOS.Native.dll
-Native extension for VisionOS target not found
-Native extension for iOS target not found
-Native extension for Android target not found
-Native extension for WebGL target not found
-Package Manager log level set to [2]
-[Package Manager] Server::EnsureServerProcessIsRunning -- launch failed, reason: Unity was launched with the -noUpm command-line argument
-[Package Manager] UpmClient::Send -- Unable to send message (not connected to UPM process).
-[Package Manager] Cannot connect to Unity Package Manager local server
-Mono: successfully reloaded assembly
-- Finished resetting the current domain, in  0.639 seconds
-Domain Reload Profiling: 1521ms
-	BeginReloadAssembly (165ms)
-		ExecutionOrderSort (0ms)
-		DisableScriptedObjects (6ms)
-		BackupInstance (0ms)
-		ReleaseScriptingObjects (0ms)
-		CreateAndSetChildDomain (30ms)
-	RebuildCommonClasses (35ms)
-	RebuildNativeTypeToScriptingClass (14ms)
-	initialDomainReloadingComplete (33ms)
-	LoadAllAssembliesAndSetupDomain (635ms)
-		LoadAssemblies (531ms)
-		RebuildTransferFunctionScriptingTraits (0ms)
-		AnalyzeDomain (198ms)
-			TypeCache.Refresh (174ms)
-				TypeCache.ScanAssembly (153ms)
-			ScanForSourceGeneratedMonoScriptInfo (17ms)
-			ResolveRequiredComponents (5ms)
-	FinalizeReload (639ms)
-		ReleaseScriptCaches (0ms)
-		RebuildScriptCaches (0ms)
-		SetupLoadedEditorAssemblies (479ms)
-			LogAssemblyErrors (0ms)
-			InitializePlatformSupportModulesInManaged (48ms)
-			SetLoadedEditorAssemblies (3ms)
-			RefreshPlugins (0ms)
-			BeforeProcessingInitializeOnLoad (65ms)
-			ProcessInitializeOnLoadAttributes (329ms)
-			ProcessInitializeOnLoadMethodAttributes (27ms)
-			AfterProcessingInitializeOnLoad (6ms)
-			EditorAssembliesLoaded (0ms)
-		ExecutionOrderSort2 (0ms)
-		AwakeInstancesAfterBackupRestoration (7ms)
-Launched and connected shader compiler UnityShaderCompiler.exe after 0.06 seconds
-Refreshing native plugins compatible for Editor in 6.29 ms, found 3 plugins.
-Preloading 0 native plugins for Editor in 0.00 ms.
-Unloading 3252 Unused Serialized files (Serialized files now loaded: 0)
-Unloading 40 unused Assets / (59.7 KB). Loaded Objects now: 3715.
-Memory consumption went from 129.0 MB to 128.9 MB.
-Total: 4.194400 ms (FindLiveObjects: 0.437400 ms CreateObjectMapping: 0.139000 ms MarkObjects: 3.433700 ms  DeleteObjects: 0.182500 ms)
-
-AssetImportParameters requested are different than current active one (requested -> active):
-  custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 
-  custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 
-  custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 -> 
-  custom:CustomObjectIndexerAttribute: 9a22284fe3817be447336de3de66b15e -> 
-  custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 
-  custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 
-  custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 -> 
-  custom:SearchIndexIgnoredProperties: e643bd26f0fe6173181afceb89e7c659 -> 
-  custom:AudioImporter_EditorPlatform: d09bf68614088b80899f8185d706f6e7 -> 
-  custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 -> 
-  custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
-  custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
-========================================================================
-Received Import Request.
-  Time since last request: 278717.758006 seconds.
-  path: Assets/ToneTuneToolkit/README.md
-  artifactKey: Guid(00277320b88355049b5c0adbb1dc7925) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
-Start importing Assets/ToneTuneToolkit/README.md using Guid(00277320b88355049b5c0adbb1dc7925) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: '0ce87e8de01afd9c60c6e8b00fe37a34') in 0.010726 seconds
-Number of updated asset objects reloaded before import = 0
-Number of asset objects unloaded after import = 1
-========================================================================
-Received Prepare
-Begin MonoManager ReloadAssembly
-- Loaded All Assemblies, in  1.330 seconds
-Refreshing native plugins compatible for Editor in 3.30 ms, found 3 plugins.
-Native extension for UWP target not found
-Native extension for WindowsStandalone target not found
-Failed to load: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/VisionOSPlayer\x64\UnityEditor.VisionOS.Native.dll
-Native extension for VisionOS target not found
-Native extension for iOS target not found
-Native extension for Android target not found
-Native extension for WebGL target not found
-[Package Manager] Server::EnsureServerProcessIsRunning -- launch failed, reason: Unity was launched with the -noUpm command-line argument
-[Package Manager] UpmClient::Send -- Unable to send message (not connected to UPM process).
-[Package Manager] Cannot connect to Unity Package Manager local server
-Mono: successfully reloaded assembly
-- Finished resetting the current domain, in  2.129 seconds
-Domain Reload Profiling: 3457ms
-	BeginReloadAssembly (459ms)
-		ExecutionOrderSort (0ms)
-		DisableScriptedObjects (16ms)
-		BackupInstance (0ms)
-		ReleaseScriptingObjects (0ms)
-		CreateAndSetChildDomain (154ms)
-	RebuildCommonClasses (36ms)
-	RebuildNativeTypeToScriptingClass (10ms)
-	initialDomainReloadingComplete (51ms)
-	LoadAllAssembliesAndSetupDomain (771ms)
-		LoadAssemblies (963ms)
-		RebuildTransferFunctionScriptingTraits (0ms)
-		AnalyzeDomain (36ms)
-			TypeCache.Refresh (18ms)
-				TypeCache.ScanAssembly (2ms)
-			ScanForSourceGeneratedMonoScriptInfo (8ms)
-			ResolveRequiredComponents (8ms)
-	FinalizeReload (2130ms)
-		ReleaseScriptCaches (0ms)
-		RebuildScriptCaches (0ms)
-		SetupLoadedEditorAssemblies (483ms)
-			LogAssemblyErrors (0ms)
-			InitializePlatformSupportModulesInManaged (53ms)
-			SetLoadedEditorAssemblies (6ms)
-			RefreshPlugins (0ms)
-			BeforeProcessingInitializeOnLoad (62ms)
-			ProcessInitializeOnLoadAttributes (327ms)
-			ProcessInitializeOnLoadMethodAttributes (27ms)
-			AfterProcessingInitializeOnLoad (7ms)
-			EditorAssembliesLoaded (0ms)
-		ExecutionOrderSort2 (0ms)
-		AwakeInstancesAfterBackupRestoration (10ms)
-Refreshing native plugins compatible for Editor in 6.25 ms, found 3 plugins.
-Preloading 0 native plugins for Editor in 0.00 ms.
-Unloading 3241 Unused Serialized files (Serialized files now loaded: 0)
-Unloading 31 unused Assets / (33.6 KB). Loaded Objects now: 3719.
-Memory consumption went from 126.6 MB to 126.6 MB.
-Total: 4.315300 ms (FindLiveObjects: 0.260700 ms CreateObjectMapping: 0.091500 ms MarkObjects: 3.833500 ms  DeleteObjects: 0.128600 ms)
-
-Prepare: number of updated asset objects reloaded= 0
-AssetImportParameters requested are different than current active one (requested -> active):
-  custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 
-  custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 
-  custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 -> 
-  custom:CustomObjectIndexerAttribute: 9a22284fe3817be447336de3de66b15e -> 
-  custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 
-  custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 
-  custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 -> 
-  custom:SearchIndexIgnoredProperties: e643bd26f0fe6173181afceb89e7c659 -> 
-  custom:AudioImporter_EditorPlatform: d09bf68614088b80899f8185d706f6e7 -> 
-  custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 -> 
-  custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
-  custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 

+ 0 - 6
ToneTuneToolkit/Logs/shadercompiler-AssetImportWorker0.log

@@ -1,6 +0,0 @@
-Base path: 'C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data', plugins path 'C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines'
-Cmd: initializeCompiler
-
-Unhandled exception: Protocol error - failed to read magic number. Error code 0x80000004 (Not connected). (transferred 0/4)
-
-Quitting shader compiler process

+ 1 - 0
ToneTuneToolkit/Logs/shadercompiler-UnityShaderCompiler.exe0.log

@@ -1,3 +1,4 @@
 Base path: 'C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data', plugins path 'C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines'
 Cmd: initializeCompiler
 
+Cmd: shutdown

+ 21 - 21
ToneTuneToolkit/UserSettings/Layouts/default-2022.dwlt

@@ -191,8 +191,8 @@ MonoBehaviour:
     y: 0
     width: 727.99994
     height: 1018.80005
-  m_MinSize: {x: 200, y: 200}
-  m_MaxSize: {x: 4000, y: 4000}
+  m_MinSize: {x: 202, y: 221}
+  m_MaxSize: {x: 4002, y: 4021}
   m_ActualView: {fileID: 17}
   m_Panes:
   - {fileID: 17}
@@ -242,8 +242,8 @@ MonoBehaviour:
     y: 0
     width: 744
     height: 1018.80005
-  m_MinSize: {x: 275, y: 50}
-  m_MaxSize: {x: 4000, y: 4000}
+  m_MinSize: {x: 276, y: 71}
+  m_MaxSize: {x: 4001, y: 4021}
   m_ActualView: {fileID: 14}
   m_Panes:
   - {fileID: 14}
@@ -268,8 +268,8 @@ MonoBehaviour:
     y: 0
     width: 724.80005
     height: 447.2
-  m_MinSize: {x: 200, y: 200}
-  m_MaxSize: {x: 4000, y: 4000}
+  m_MinSize: {x: 202, y: 221}
+  m_MaxSize: {x: 4002, y: 4021}
   m_ActualView: {fileID: 18}
   m_Panes:
   - {fileID: 18}
@@ -285,7 +285,7 @@ MonoBehaviour:
   m_Enabled: 1
   m_EditorHideFlags: 1
   m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
-  m_Name: ConsoleWindow
+  m_Name: ProjectBrowser
   m_EditorClassIdentifier: 
   m_Children: []
   m_Position:
@@ -294,14 +294,14 @@ MonoBehaviour:
     y: 447.2
     width: 724.80005
     height: 571.60004
-  m_MinSize: {x: 102, y: 121}
-  m_MaxSize: {x: 4002, y: 4021}
-  m_ActualView: {fileID: 13}
+  m_MinSize: {x: 232, y: 271}
+  m_MaxSize: {x: 10002, y: 10021}
+  m_ActualView: {fileID: 15}
   m_Panes:
   - {fileID: 15}
   - {fileID: 13}
-  m_Selected: 1
-  m_LastSelected: 0
+  m_Selected: 0
+  m_LastSelected: 1
 --- !u!114 &13
 MonoBehaviour:
   m_ObjectHideFlags: 52
@@ -428,7 +428,7 @@ MonoBehaviour:
     m_SkipHidden: 0
     m_SearchArea: 1
     m_Folders:
-    - Assets/ToneTuneToolkit/Modules/Other/QR/Scripts
+    - Assets/ToneTuneToolkit/Scripts/Common
     m_Globs: []
     m_OriginalText: 
     m_ImportLogFlags: 0
@@ -436,16 +436,16 @@ MonoBehaviour:
   m_ViewMode: 1
   m_StartGridSize: 16
   m_LastFolders:
-  - Assets/ToneTuneToolkit/Modules/Other/QR/Scripts
+  - Assets/ToneTuneToolkit/Scripts/Common
   m_LastFoldersGridSize: 16
   m_LastProjectPath: D:\Workflow\Project\Unity\ToneTuneToolkit\ToneTuneToolkit
   m_LockTracker:
     m_IsLocked: 0
   m_FolderTreeState:
     scrollPos: {x: 0, y: 0}
-    m_SelectedIDs: cc5b0000
-    m_LastClickedID: 23500
-    m_ExpandedIDs: 00000000b85a00003a5b00003c5b0000505b00005a5b0000765b0000c65b0000
+    m_SelectedIDs: 5c5b0000
+    m_LastClickedID: 23388
+    m_ExpandedIDs: 00000000425b0000445b0000
     m_RenameOverlay:
       m_UserAcceptedRename: 0
       m_Name: 
@@ -473,7 +473,7 @@ MonoBehaviour:
     scrollPos: {x: 0, y: 0}
     m_SelectedIDs: 
     m_LastClickedID: 0
-    m_ExpandedIDs: 000000003a5b00003c5b0000
+    m_ExpandedIDs: 00000000425b0000445b0000
     m_RenameOverlay:
       m_UserAcceptedRename: 0
       m_Name: 
@@ -500,7 +500,7 @@ MonoBehaviour:
   m_ListAreaState:
     m_SelectedInstanceIDs: 
     m_LastClickedInstanceID: 0
-    m_HadKeyboardFocusLastEvent: 1
+    m_HadKeyboardFocusLastEvent: 0
     m_ExpandedInstanceIDs: c6230000825300006a520000
     m_RenameOverlay:
       m_UserAcceptedRename: 0
@@ -1059,7 +1059,7 @@ MonoBehaviour:
   m_Rotation:
     m_Target: {x: -0.045668785, y: 0.15016527, z: -0.0069431216, w: -0.9875863}
     speed: 2
-    m_Value: {x: -0.045668557, y: 0.15016453, z: -0.0069430866, w: -0.9875814}
+    m_Value: {x: 0, y: 0, z: 0, w: 1}
   m_Size:
     m_Target: 158.11388
     speed: 2
@@ -1127,7 +1127,7 @@ MonoBehaviour:
       scrollPos: {x: 0, y: 0}
       m_SelectedIDs: 
       m_LastClickedID: 0
-      m_ExpandedIDs: 08fbffff
+      m_ExpandedIDs: eefaffff
       m_RenameOverlay:
         m_UserAcceptedRename: 0
         m_Name: