MirzkisD1Ex0 1 year ago
parent
commit
d45a823492
38 changed files with 1997 additions and 834 deletions
  1. 0 50
      Materials/CallbackReceiver.cs
  2. 224 0
      Materials/RemoveBG/RemoveBGManager.cs
  3. 123 0
      Materials/RemoveBG/RemoveBGManagerOld.cs
  4. 3 0
      Materials/RemoveBG/removebgkey.json
  5. 270 0
      Materials/后端上传模块/BackendNetManager.cs
  6. 247 0
      Materials/后端上传模块/UploadManager.cs
  7. 99 0
      Materials/后置相机拍摄/WebCamManager.cs
  8. 2 3
      ToneTuneToolkit/Assets/Examples/022_UGUIGray/Scenes/Example.unity
  9. 20 230
      ToneTuneToolkit/Assets/Examples/_Dev/Scenes/Example.unity
  10. 18 3
      ToneTuneToolkit/Assets/Examples/_Dev/Scripts/Dev.cs
  11. 14 13
      ToneTuneToolkit/Assets/NOTE.md
  12. BIN
      ToneTuneToolkit/Assets/PDFs/022.pdf
  13. 7 0
      ToneTuneToolkit/Assets/PDFs/022.pdf.meta
  14. BIN
      ToneTuneToolkit/Assets/Plugins/BestHTTP.dll
  15. 33 0
      ToneTuneToolkit/Assets/Plugins/BestHTTP.dll.meta
  16. 5 3
      ToneTuneToolkit/Assets/ToneTuneToolkit/README.md
  17. 1 1
      ToneTuneToolkit/Assets/ToneTuneToolkit/Scripts/Media/ScreenshotMasterLite.cs
  18. 14 6
      ToneTuneToolkit/Assets/ToneTuneToolkit/Scripts/Media/ScreenshotMasterMini.cs
  19. 163 0
      ToneTuneToolkit/Assets/ToneTuneToolkit/Scripts/Media/TextureProcessor.cs
  20. 11 0
      ToneTuneToolkit/Assets/ToneTuneToolkit/Scripts/Media/TextureProcessor.cs.meta
  21. 4 3
      ToneTuneToolkit/Assets/ToneTuneToolkit/Scripts/UI/TextFlick.cs
  22. 1 1
      ToneTuneToolkit/Assets/ToneTuneToolkit/Shaders/GreyscaleShader.shader
  23. 231 104
      ToneTuneToolkit/Logs/AssetImportWorker0-prev.log
  24. 126 112
      ToneTuneToolkit/Logs/AssetImportWorker0.log
  25. 171 108
      ToneTuneToolkit/Logs/AssetImportWorker1-prev.log
  26. 105 107
      ToneTuneToolkit/Logs/AssetImportWorker1.log
  27. 13 0
      ToneTuneToolkit/Logs/Packages-Update.log
  28. 2 2
      ToneTuneToolkit/Logs/shadercompiler-AssetImportWorker0.log
  29. 1 1
      ToneTuneToolkit/Logs/shadercompiler-UnityShaderCompiler.exe0.log
  30. 6 5
      ToneTuneToolkit/Packages/manifest.json
  31. 18 20
      ToneTuneToolkit/Packages/packages-lock.json
  32. 4 1
      ToneTuneToolkit/ProjectSettings/EditorBuildSettings.asset
  33. 0 2
      ToneTuneToolkit/ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json
  34. 2 2
      ToneTuneToolkit/ProjectSettings/ProjectVersion.txt
  35. 0 0
      ToneTuneToolkit/ProjectSettings/boot.config
  36. 9 9
      ToneTuneToolkit/UserSettings/EditorUserSettings.asset
  37. 45 45
      ToneTuneToolkit/UserSettings/Layouts/default-2022.dwlt
  38. 5 3
      readme.md

+ 0 - 50
Materials/CallbackReceiver.cs

@@ -1,50 +0,0 @@
-using System.Collections;
-using System.Collections.Generic;
-using UniOSC;
-using UnityEngine;
-
-public class CallbackReceiver : UniOSCEventTarget
-{
-
-  /// <summary>
-  /// 消息接收重写
-  /// </summary>
-  /// <param name="args"></param>
-  public override void OnOSCMessageReceived(UniOSCEventArgs args)
-  {
-    AnalyseMessage(args);
-    return;
-  }
-
-  // ==================================================
-
-  /// <summary>
-  /// 消息分析
-  /// </summary>
-  /// <param name="args"></param>
-  private void AnalyseMessage(UniOSCEventArgs args)
-  {
-    switch (args.Address)
-    {
-      default: break;
-      case "/callback/setup":
-        Debug.Log("设备初始化完成;" + args.Packet.Data[1]);
-        break;
-      case "/callback/takephoto":
-        Debug.Log("拍照完成,图片位于[" + args.Packet.Data[1] + "]");
-        break;
-    }
-
-
-    // Debug.Log(args.Address);
-    // if (args.Packet.Data.Count > 0)
-    // {
-    //   foreach (var VARIABLE in args.Packet.Data)
-    //   {
-    //     Debug.Log(VARIABLE);
-    //   }
-    // }
-    return;
-  }
-
-}

+ 224 - 0
Materials/RemoveBG/RemoveBGManager.cs

@@ -0,0 +1,224 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+using System;
+using System.IO;
+using Best.HTTP;
+using Best.HTTP.Request.Upload.Forms;
+using UnityEngine.Events;
+using ToneTuneToolkit.Data;
+using UnityEngine.Networking;
+using System.Text;
+
+namespace LonginesYogaPhotoJoy
+{
+  public class RemoveBGManager : MonoBehaviour
+  {
+    public static RemoveBGManager Instance;
+
+    private UnityAction<Texture2D> onRemoveBGCompelete;
+
+    private const string removebgAPI = "https://api.remove.bg/v1.0/removebg";
+    // private const string removebgAPI = "http://192.168.50.130:3500";
+    private string key;
+    // 测试key U1j4pJeg9zT63Kfa8zDmiRkG
+    // 正式key 76YHaSA8WZYmbZXfqfBeYbqy // 20240606 剩余100
+    // live X859F9v3g4YpoPBRQe2n7h8T
+
+    [Header("DEBUG - Peek")]
+    [SerializeField] private Texture2D preuploadTexture;
+    [SerializeField] private Texture2D downloadTexture;
+
+    // ==================================================
+
+    private void Awake()
+    {
+      Instance = this;
+    }
+
+    private void Start()
+    {
+      Init();
+    }
+
+    // ==================================================
+
+    public void AddEventListener(UnityAction<Texture2D> unityAction)
+    {
+      onRemoveBGCompelete += unityAction;
+      return;
+    }
+
+    public void RemoveEventListener(UnityAction<Texture2D> unityAction)
+    {
+      onRemoveBGCompelete -= unityAction;
+      return;
+    }
+
+    // ==================================================
+
+    private void Init()
+    {
+      key = JsonManager.GetJson(Application.streamingAssetsPath + "/removebgkey.json", "Key");
+      return;
+    }
+
+    // ==================================================
+
+
+    // public void UploadPhoto2RemoveBG(Texture2D value)
+    // {
+    //   StartCoroutine(UploadPhoto2RemoveBGAction(value));
+    //   return;
+    // }
+    // private IEnumerator UploadPhoto2RemoveBGAction(Texture2D value)
+    // {
+    //   yield return new WaitForEndOfFrame();
+    //   byte[] bytes = value.EncodeToPNG(); // 图转比特流
+
+    //   // string base64 = "data:image/jpg;base64," + Convert.ToBase64String(bytes);
+    //   WWWForm form = new WWWForm();
+    //   form.AddBinaryData("image_file", bytes);
+    //   form.AddField("size", "auto");
+    //   form.AddField("type", "person");
+
+    //   using (UnityWebRequest www = UnityWebRequest.Post(removebgAPI, form))
+    //   {
+    //     www.SetRequestHeader("Content-Type", "multipart/form-data");
+    //     // www.SetRequestHeader("Content-Type", "application/x-www-form-urlencoded");
+    //     www.SetRequestHeader("X-Api-Key", key);
+    //     DownloadHandler downloadHandler = new DownloadHandlerBuffer();
+    //     www.downloadHandler = downloadHandler;
+    //     yield return www.SendWebRequest();
+    //     if (www.result != UnityWebRequest.Result.Success)
+    //     {
+    //       Debug.Log(www.error + "...<color=red>[ER]</color>");
+    //       yield break;
+    //     }
+    //     else
+    //     {
+    //       result = www.downloadHandler.text.ToString();
+    //       Debug.Log("RemoveBG...<color=green>[OK]</color>");
+    //       // Debug.Log(result + "...<color=green>[OK]</color>");
+    //     }
+    //   }
+    // }
+
+
+
+
+
+    // public void UploadPhoto2RemoveBG(Texture2D value)
+    // {
+    //   StartCoroutine(UploadPhoto2RemoveBGAction(value));
+    //   return;
+    // }
+
+    public void UploadPhoto2RemoveBG(Texture2D value)
+    {
+      preuploadTexture = value;
+
+      byte[] bytes = value.EncodeToJPG(); // 图转比特流
+      MultipartFormDataStream form = new MultipartFormDataStream();
+      form.AddStreamField("image_file", new MemoryStream(bytes), "filename", "image/jpg");
+      form.AddField("size", "auto");
+      form.AddField("type", "person");
+
+      HTTPRequest request = HTTPRequest.CreatePost(new Uri(removebgAPI), RequestFinishedCallback);
+      request.SetHeader("X-Api-Key", key);
+      request.UploadSettings.UploadStream = form;
+      request.Send();
+      return;
+    }
+
+    private void RequestFinishedCallback(HTTPRequest req, HTTPResponse resp)
+    {
+      switch (req.State)
+      {
+        case HTTPRequestStates.Finished:
+          if (resp.IsSuccess)
+          {
+            if (onRemoveBGCompelete != null)
+            {
+              onRemoveBGCompelete(resp.DataAsTexture2D);
+            }
+            Debug.Log("Upload finished succesfully!");
+          }
+          else
+          {
+            // 6. Error handling
+            Debug.LogError($"Server sent an error: {resp.StatusCode}-{resp.Message}");
+          }
+          break;
+
+        // 6. Error handling
+        default:
+          Debug.LogError($"Request finished with error! Request state: {req.State}");
+          break;
+      }
+    }
+
+    #region 可用
+    // /// <summary>
+    // /// 上传照片至RemoveBG
+    // /// </summary>
+    // /// <param name="value"></param>
+    // public void UploadPhoto2RemoveBG(Texture2D value)
+    // {
+    //   preuploadTexture = value;
+    //   byte[] bytes = value.EncodeToPNG();
+
+    //   MultipartFormDataStream form = new MultipartFormDataStream();
+    //   form.AddField("image_file", bytes);
+    //   // form.AddField("size", "full");
+    //   form.AddField("size", "auto");
+    //   form.AddField("type", "person");
+
+    //   HTTPRequest request = new HTTPRequest(
+    //     new Uri(removebgAPI),
+    //     HTTPMethods.Post,
+    //     UploadPictureCallback);
+
+    //   request.SetHeader("X-Api-Key", key);
+    //   // request.SetForm(form);
+    //   request.UploadSettings.UploadStream = form;
+    //   request.Send();
+    //   return;
+    // }
+
+    // private void UploadPictureCallback(HTTPRequest httpRequest, HTTPResponse httpResponse)
+    // {
+
+    //   Debug.Log(httpResponse.StatusCode);
+    //   if (httpResponse == null)
+    //   {
+    //     Debug.Log("RemoveBG请求无响应...<color=red>[ER]</color>");
+    //     return;
+    //   }
+    //   if (httpResponse.StatusCode == 200)
+    //   {
+    //     Debug.Log(httpResponse.DataAsTexture2D.width + " / " + httpResponse.DataAsTexture2D.height);
+
+    //     string fullPath = $"{Application.streamingAssetsPath}/RemoveBG/{DateTime.Now:yyyy-MM-dd-HH-mm-ss}.png";
+    //     byte[] bytes = httpResponse.DataAsTexture2D.EncodeToPNG();
+    //     File.WriteAllBytes(fullPath, bytes);
+
+    //     downloadTexture = httpResponse.DataAsTexture2D; // 无必要
+
+    //     if (onRemoveBGCompelete != null)
+    //     {
+    //       onRemoveBGCompelete(httpResponse.DataAsTexture2D);
+    //     }
+    //     Debug.Log("RemoveBG返回成功...[OK]");
+    //   }
+    //   else
+    //   {
+    //     Debug.Log($"RemoveBG返回失败,{httpResponse.StatusCode}...<color=red>[ER]</color>");
+    //     Debug.Log(httpResponse.DataAsText);
+    //     // UploadPhoto2RemoveBG(preuoloadTexture);
+    //   }
+    //   return;
+    // }
+    #endregion
+  }
+}

+ 123 - 0
Materials/RemoveBG/RemoveBGManagerOld.cs

@@ -0,0 +1,123 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+using System;
+using System.IO;
+using BestHTTP;
+using BestHTTP.Forms;
+using UnityEngine.Events;
+using ToneTuneToolkit.Data;
+
+namespace LonginesYogaPhotoJoy
+{
+  public class RemoveBGManagerOld : MonoBehaviour
+  {
+    public static RemoveBGManagerOld Instance;
+
+    private UnityAction<Texture2D> onRemoveBGCompelete;
+
+    private const string removebgAPI = "https://api.remove.bg/v1.0/removebg";
+    private string key;
+    // 测试key U1j4pJeg9zT63Kfa8zDmiRkG
+    // 正式key 76YHaSA8WZYmbZXfqfBeYbqy // 20240606 剩余100
+    // live X859F9v3g4YpoPBRQe2n7h8T
+
+    [Header("DEBUG - Peek")]
+    [SerializeField] private Texture2D preuploadTexture;
+    [SerializeField] private Texture2D downloadTexture;
+
+    // ==================================================
+
+    private void Awake()
+    {
+      Instance = this;
+    }
+
+    private void Start()
+    {
+      Init();
+    }
+
+    // ==================================================
+
+    public void AddEventListener(UnityAction<Texture2D> unityAction)
+    {
+      onRemoveBGCompelete += unityAction;
+      return;
+    }
+
+    public void RemoveEventListener(UnityAction<Texture2D> unityAction)
+    {
+      onRemoveBGCompelete -= unityAction;
+      return;
+    }
+
+    // ==================================================
+
+    private void Init()
+    {
+      key = JsonManager.GetJson(Application.streamingAssetsPath + "/removebgkey.json", "Key");
+      return;
+    }
+
+    // ==================================================
+
+    /// <summary>
+    /// 上传照片至RemoveBG
+    /// </summary>
+    /// <param name="value"></param>
+    public void UploadPhoto2RemoveBG(Texture2D value)
+    {
+      preuploadTexture = value;
+      byte[] bytes = value.EncodeToPNG();
+
+      HTTPMultiPartForm form = new HTTPMultiPartForm();
+      form.AddBinaryData("image_file", bytes);
+      // form.AddField("size", "full");
+      form.AddField("size", "auto");
+      form.AddField("type", "person");
+
+      HTTPRequest request = new HTTPRequest(
+        new Uri(removebgAPI),
+        HTTPMethods.Post,
+        UploadPictureCallback);
+
+      request.SetHeader("X-Api-Key", key);
+      request.SetForm(form);
+      request.Send();
+      return;
+    }
+
+    private void UploadPictureCallback(HTTPRequest httpRequest, HTTPResponse httpResponse)
+    {
+      if (httpResponse == null)
+      {
+        Debug.Log("RemoveBG请求无响应...<color=red>[ER]</color>");
+        return;
+      }
+      if (httpResponse.StatusCode == 200)
+      {
+        Debug.Log(httpResponse.DataAsTexture2D.width + " / " + httpResponse.DataAsTexture2D.height);
+
+        string fullPath = $"{Application.streamingAssetsPath}/RemoveBG/{DateTime.Now:yyyy-MM-dd-HH-mm-ss}.png";
+        byte[] bytes = httpResponse.DataAsTexture2D.EncodeToPNG();
+        File.WriteAllBytes(fullPath, bytes);
+
+        downloadTexture = httpResponse.DataAsTexture2D; // 无必要
+
+        if (onRemoveBGCompelete != null)
+        {
+          onRemoveBGCompelete(httpResponse.DataAsTexture2D);
+        }
+        Debug.Log("RemoveBG返回成功...[OK]");
+      }
+      else
+      {
+        Debug.Log($"RemoveBG返回失败,{httpResponse.StatusCode}...<color=red>[ER]</color>");
+        Debug.Log(httpResponse.DataAsText);
+        // UploadPhoto2RemoveBG(preuoloadTexture);
+      }
+      return;
+    }
+  }
+}

+ 3 - 0
Materials/RemoveBG/removebgkey.json

@@ -0,0 +1,3 @@
+{
+  "Key": "X859F9v3g4YpoPBRQe2n7h8T"
+}

+ 270 - 0
Materials/后端上传模块/BackendNetManager.cs

@@ -0,0 +1,270 @@
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using Newtonsoft.Json;
+using UnityEngine;
+using UnityEngine.Events;
+using UnityEngine.Networking;
+
+namespace LonginesYogaPhotoJoy
+{
+  /// <summary>
+  /// 后端对接专用
+  /// </summary>
+  public class BackendNetManager : MonoBehaviour
+  {
+    public static BackendNetManager Instance;
+
+    // ==================================================
+
+    private void Awake()
+    {
+      Instance = this;
+    }
+
+    private void Start()
+    {
+      Init();
+    }
+
+    // private void Update()
+    // {
+    //   if (Input.GetKeyUp(KeyCode.U))
+    //   {
+    //     string testPath = @"D:\2024-06-03-21-28-17.png";
+    //     UploadPhoto2Backend(ToneTuneToolkit.Media.TextureProcessor.ReadTexture(testPath));
+    //   }
+    // }
+
+    // ==================================================
+
+    private void Init()
+    {
+      GetStartupQR();
+      return;
+    }
+
+    // ==================================================
+    #region 获取启动QR码
+    public event UnityAction<string> OnGetStartupInfoComplete;
+    public StartupQRResponse QRData;
+
+    private const string qrURL = "https://open.skyelook.com/api/longine_gz/startQr";
+    private const string deviceCode = "Test_001";
+    public void GetStartupQR()
+    {
+      StartCoroutine("GetStartupQRAction");
+      return;
+    }
+    private IEnumerator GetStartupQRAction()
+    {
+      WWWForm wwwForm = new WWWForm();
+      wwwForm.AddField("device_code", deviceCode);
+
+      using (UnityWebRequest www = UnityWebRequest.Post(qrURL, wwwForm)) // 获取二维码链接
+      {
+        // www.SetRequestHeader("Content-Type", "multipart/form-data"); // 永远永远不要用这个
+        www.SetRequestHeader("Content-Type", "application/x-www-form-urlencoded");
+        DownloadHandler downloadHandler = new DownloadHandlerBuffer();
+        www.downloadHandler = downloadHandler;
+        yield return www.SendWebRequest();
+
+        if (www.result != UnityWebRequest.Result.Success)
+        {
+          Debug.Log($"{www.error}...<color=red>[ER]</color>");
+          yield break;
+        }
+        else
+        {
+          Debug.Log($"QRCode Json :\n{www.downloadHandler.text}...<color=green>[OK]</color>");
+          QRData = JsonConvert.DeserializeObject<StartupQRResponse>(www.downloadHandler.text.ToString());
+
+          if (OnGetStartupInfoComplete != null)
+          {
+            OnGetStartupInfoComplete(QRData.data.start_code);
+          }
+          Debug.Log("QRCode Json...<color=green>[OK]</color>");
+        }
+      }
+
+      // using (UnityWebRequest www = UnityWebRequestTexture.GetTexture(QRData.data.qr_url)) // 获取二维码
+      // {
+      //   yield return www.SendWebRequest();
+      //   if (www.result != UnityWebRequest.Result.Success)
+      //   {
+      //     Debug.Log($"{www.error}...<color=red>[ER]</color>");
+      //     yield break;
+      //   }
+      //   else
+      //   {
+      //     if (OnGetStartupQRComplete != null)
+      //     {
+      //       OnGetStartupQRComplete(DownloadHandlerTexture.GetContent(www));
+      //     }
+      //     Debug.Log("QRCode Image...<color=green>[OK]</color>");
+      //     StartCoroutine("QueryUserStatus"); // 启动轮询
+      //   }
+      // }
+      yield break;
+    }
+
+    [Serializable]
+    public class StartupQRResponse
+    {
+      public int code;
+      public string message;
+      public StartupQRData data;
+    }
+    [Serializable]
+    public class StartupQRData
+    {
+      public string start_code;
+      public string qr_url;
+    }
+    #endregion
+
+    // ==================================================
+    #region 轮询是否有玩家在玩
+    // public event UnityAction OnUserActive;
+    // public StatusResponse StatusData;
+
+    // private const string statusURL = "https://open.skyelook.com/api/longine_gz/startStatus";
+    // private IEnumerator QueryUserStatus()
+    // {
+    //   WWWForm wwwForm = new WWWForm();
+    //   wwwForm.AddField("device_code", deviceCode);
+    //   wwwForm.AddField("start_code", QRData.data.start_code);
+
+    //   using (UnityWebRequest www = UnityWebRequest.Post(statusURL, wwwForm))
+    //   {
+    //     www.SetRequestHeader("Content-Type", "application/x-www-form-urlencoded");
+    //     www.downloadHandler = new DownloadHandlerBuffer();
+    //     yield return www.SendWebRequest();
+    //     if (www.result != UnityWebRequest.Result.Success)
+    //     {
+    //       Debug.Log($"{www.error}...<color=red>[ER]</color>");
+    //       yield break;
+    //     }
+    //     else
+    //     {
+    //       StatusData = JsonConvert.DeserializeObject<StatusResponse>(www.downloadHandler.text);
+    //       // Debug.Log($"{www.downloadHandler.text}...<color=green>[OK]</color>");
+    //       Debug.Log("Query...<color=green>[OK]</color>");
+    //     }
+    //   }
+
+    //   // 轮询 // 启动游戏
+    //   switch (StatusData.data.status)
+    //   {
+    //     default: break;
+    //     case "0":
+    //       yield return new WaitForSeconds(2f);
+    //       StartCoroutine("QueryUserStatus");
+    //       break;
+    //     case "1":
+    //       if (OnUserActive != null)
+    //       {
+    //         OnUserActive();
+    //       }
+    //       StopCoroutine("QueryUserStatus");
+    //       break;
+    //     case "2": break;
+    //     case "3": break;
+    //   }
+    //   yield break;
+    // }
+
+    // [Serializable]
+    // public class StatusResponse
+    // {
+    //   public int code;
+    //   public string message;
+    //   public StatusResponseData data;
+    // }
+    // [Serializable]
+    // public class StatusResponseData
+    // {
+    //   public string status;
+    //   public string status_text;
+    // }
+    #endregion
+
+    // ==================================================
+    #region 上传图片
+    public UploadResponse UploadData;
+
+    public event UnityAction<Texture2D> OnUpload;
+
+    private const string uploadURL = "https://open.skyelook.com/api/longine_gz/uploadThumb";
+
+    public void UploadPhoto2Backend(Texture2D texture2D)
+    {
+      StartCoroutine(UploadPhoto2BackendAction(texture2D));
+      return;
+    }
+
+    private IEnumerator UploadPhoto2BackendAction(Texture2D texture2D)
+    {
+      byte[] bytes = texture2D.EncodeToPNG(); // 图转比特流
+      string base64 = "data:image/png;base64," + Convert.ToBase64String(bytes);
+
+      WWWForm wwwForm = new WWWForm();
+      wwwForm.AddField("device_code", deviceCode);
+      wwwForm.AddField("start_code", QRData.data.start_code);
+      wwwForm.AddField("file", base64);
+      // wwwForm.AddBinaryData("file", bytes);
+
+      using (UnityWebRequest www = UnityWebRequest.Post(uploadURL, wwwForm))
+      {
+        www.SetRequestHeader("Content-Type", "application/x-www-form-urlencoded");
+        www.downloadHandler = new DownloadHandlerBuffer();
+        yield return www.SendWebRequest();
+        if (www.result != UnityWebRequest.Result.Success)
+        {
+          Debug.Log($"{www.error}...<color=red>[ER]</color>");
+          yield break;
+        }
+        else
+        {
+          Debug.Log("Upload...<color=green>[OK]</color>");
+          Debug.Log(www.downloadHandler.text.ToString());
+          UploadData = JsonConvert.DeserializeObject<UploadResponse>(www.downloadHandler.text.ToString());
+        }
+      }
+
+      using (UnityWebRequest www = UnityWebRequestTexture.GetTexture(UploadData.data.qr_url)) // 搞最终QR图 // DEBUG
+      {
+        yield return www.SendWebRequest();
+        if (www.result != UnityWebRequest.Result.Success)
+        {
+          Debug.Log($"{www.error}...<color=red>[ER]</color>");
+          yield break;
+        }
+        else
+        {
+          if (OnUpload != null)
+          {
+            OnUpload(DownloadHandlerTexture.GetContent(www));
+          }
+          Debug.Log("Final QRCode...<color=green>[OK]</color>");
+        }
+      }
+      yield break;
+    }
+
+    [Serializable]
+    public class UploadResponse
+    {
+      public int code;
+      public string message;
+      public UploadResponseData data;
+    }
+    [Serializable]
+    public class UploadResponseData
+    {
+      public string file_url;
+      public string qr_url;
+    }
+    #endregion
+  }
+}

+ 247 - 0
Materials/后端上传模块/UploadManager.cs

@@ -0,0 +1,247 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+using UnityEngine.Events;
+using System.Text;
+using Newtonsoft.Json;
+using UnityEngine.Networking;
+
+namespace OwnTheFloor
+{
+  public class UploadManager : MonoBehaviour
+  {
+    public static UploadManager Instance;
+
+    private event UnityAction<string, string> OnFinalCallbackUpdate; // sting形参
+
+    private int appID = 76;
+    private float retryWaitTime = 30f; // 重新上传尝试间隔
+
+    private Texture2D currentTexture2D;
+    private string currentFileName;
+
+    private TokenJson tokenJson = new TokenJson();
+    private CloudCallbackJson cloudCallbackJson = new CloudCallbackJson();
+    private ServerJson serverJson = new ServerJson();
+    private ServerCallbackJson serverCallbackJson = new ServerCallbackJson();
+
+    // ==================================================
+
+    private void Awake()
+    {
+      Instance = this;
+    }
+
+    // ==================================================
+
+    public void AddEventListener(UnityAction<string, string> unityAction)
+    {
+      OnFinalCallbackUpdate += unityAction;
+      return;
+    }
+
+    public void RemoveEventListener(UnityAction<string, string> unityAction)
+    {
+      OnFinalCallbackUpdate -= unityAction;
+      return;
+    }
+
+    private void EventNoticeAll()
+    {
+      if (OnFinalCallbackUpdate == null) // 如果没人订阅
+      {
+        return;
+      }
+      // OnFinalCallbackUpdate(serverCallbackJson.data.view_url); // 把viewurl丢出去
+      OnFinalCallbackUpdate(serverCallbackJson.data.view_url, serverCallbackJson.data.file_url); // 把fileurl丢出去
+      return;
+    }
+
+    // ==================================================
+
+    /// <summary>
+    /// 
+    /// </summary>
+    /// <param name="fileTexture"></param>
+    /// <param name="fileName"></param>
+    public void UploadData2Net(Texture2D fileTexture, string fileName)
+    {
+      currentTexture2D = fileTexture;
+      currentFileName = fileName;
+      StartCoroutine(GetToken4Cloud());
+      return;
+    }
+
+
+
+    /// <summary>
+    /// 获取Token
+    /// 第一步
+    /// </summary>
+    /// <returns></returns>
+    private IEnumerator GetToken4Cloud()
+    {
+      string url = @"https://h5.skyelook.com/api/qiniu/getAccessToken";
+
+      using (UnityWebRequest unityWebRequest = UnityWebRequest.Get(url))
+      {
+        yield return unityWebRequest.SendWebRequest();
+        if (unityWebRequest.result != UnityWebRequest.Result.Success)
+        {
+          Debug.Log(unityWebRequest.error + "...<color=red>[ER]</color>");
+          StartCoroutine(RetryUpload());
+        }
+        else
+        {
+          tokenJson = JsonConvert.DeserializeObject<TokenJson>(unityWebRequest.downloadHandler.text);
+          Debug.Log($"Get token sucessed: {tokenJson.data.token}...<color=green>[OK]</color>");
+
+          StartCoroutine(UploadData2Cloud());
+        }
+      }
+      yield break;
+    }
+
+    /// <summary>
+    /// 上传文件到七牛云
+    /// 第二步
+    /// </summary>
+    private IEnumerator UploadData2Cloud()
+    {
+      string url = "https://upload.qiniup.com";
+      byte[] bytes = currentTexture2D.EncodeToPNG();
+
+      WWWForm wwwForm = new WWWForm();
+      wwwForm.AddField("token", tokenJson.data.token);
+      wwwForm.AddBinaryData("file", bytes, currentFileName);
+
+      using (UnityWebRequest unityWebRequest = UnityWebRequest.Post(url, wwwForm))
+      {
+        // unityWebRequest.SetRequestHeader("Content-Type", "multipart/form-data;charset=utf-8");
+        // unityWebRequest.SetRequestHeader("Content-Type", "application/x-www-form-urlencoded");
+        // unityWebRequest.SetRequestHeader("Content-Type", "application/json");
+        yield return unityWebRequest.SendWebRequest();
+        if (unityWebRequest.result != UnityWebRequest.Result.Success)
+        {
+          Debug.Log(unityWebRequest.error + "...<color=red>[ER]</color>");
+          StartCoroutine(RetryUpload());
+        }
+        else
+        {
+          cloudCallbackJson = JsonConvert.DeserializeObject<CloudCallbackJson>(unityWebRequest.downloadHandler.text);
+          Debug.Log($"Upload sucessed: {cloudCallbackJson.data.file_url}...<color=green>[OK]</color>");
+
+          StartCoroutine(SaveFile2Server());
+        }
+      }
+      yield break;
+    }
+
+    /// <summary>
+    /// 七牛云返回数据传至服务器
+    /// 第三步
+    /// </summary>
+    /// <returns></returns>
+    private IEnumerator SaveFile2Server()
+    {
+      string url = "https://h5.skyelook.com/api/attachments";
+
+      serverJson.file_url = cloudCallbackJson.data.file_url;
+      serverJson.app_id = appID;
+      // serverJson.options = "google-gds-print";
+
+      string jsonString = JsonConvert.SerializeObject(serverJson);
+      byte[] bytes = Encoding.Default.GetBytes(jsonString);
+
+      Debug.Log(jsonString);
+
+      using (UnityWebRequest unityWebRequest = new UnityWebRequest(url, "POST"))
+      {
+        unityWebRequest.SetRequestHeader("Content-Type", "application/json");
+        unityWebRequest.uploadHandler = new UploadHandlerRaw(bytes);
+        unityWebRequest.downloadHandler = new DownloadHandlerBuffer();
+
+        yield return unityWebRequest.SendWebRequest();
+        if (unityWebRequest.result != UnityWebRequest.Result.Success)
+        {
+          Debug.Log(unityWebRequest.error + "...<color=red>[ER]</color>");
+          StartCoroutine(RetryUpload());
+        }
+        else
+        {
+          serverCallbackJson = JsonConvert.DeserializeObject<ServerCallbackJson>(unityWebRequest.downloadHandler.text);
+          Debug.Log($"{unityWebRequest.downloadHandler.text}");
+          Debug.Log($"{serverCallbackJson.data.view_url}...<color=green>[OK]</color>");
+
+          EventNoticeAll(); // 钩子在此
+        }
+      }
+      yield break;
+    }
+
+    /// <summary>
+    /// 传不上去硬传
+    /// </summary>
+    /// <returns></returns>
+    private IEnumerator RetryUpload()
+    {
+      yield return new WaitForSeconds(retryWaitTime);
+      UploadData2Cloud();
+      yield break;
+    }
+
+    // ==================================================
+    // Json解析类
+    // 七牛云Token回执
+    public class TokenJson
+    {
+      public int status;
+      public int code;
+      public TokenDataJson data;
+      public string message;
+    }
+    public class TokenDataJson
+    {
+      public string token;
+    }
+
+    // 七牛云文件上传回执
+    public class CloudCallbackJson
+    {
+      public int code;
+      public CloudCallbackDataJson data;
+      public int status;
+    }
+    public class CloudCallbackDataJson
+    {
+      public string file_name;
+      public string file_url;
+    }
+
+    // 向服务器发送的json
+    public class ServerJson
+    {
+      public string file_url;
+      public int app_id;
+      // public string options;
+    }
+
+    // 服务器回执
+    public class ServerCallbackJson
+    {
+      public int status;
+      public int code;
+      public ServerCallbackDataJson data;
+    }
+    public class ServerCallbackDataJson
+    {
+      public string file_url;
+      public int app_id;
+      public string code;
+      public string view_url;
+      public string updated_at;
+      public string created_at;
+      public int id;
+    }
+  }
+}

+ 99 - 0
Materials/后置相机拍摄/WebCamManager.cs

@@ -0,0 +1,99 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+using UnityEngine.UI;
+
+namespace LonginesYogaPhotoJoy
+{
+  public class WebCamManager : MonoBehaviour
+  {
+    public static WebCamManager Instance;
+
+    public RawImage WebCamRawImage;
+
+    private WebCamTexture webCamTexture;
+    // private string deviceName = "Logitech BRIO";
+    // private string deviceName = "Camera (NVIDIA Broadcast)";
+    private string deviceName = "EOS Webcam Utility";
+    // private string deviceName = "OBS Virtual Camera";
+
+    private bool isReady = false;
+
+    // ==================================================
+
+    private void Awake()
+    {
+      Instance = this;
+    }
+
+    private void Start()
+    {
+      InitWebcam();
+      // SwitchWebcam(true);
+    }
+
+    private void OnApplicationQuit()
+    {
+      SwitchWebcam(false);
+    }
+
+    // ==================================================
+
+    // private void Init()
+    // {
+    //   InitWebcam();
+    //   return;
+    // }
+
+    private void InitWebcam()
+    {
+      if (WebCamTexture.devices.Length <= 0)
+      {
+        Debug.Log("<color=red>[WM]</color> 无可用设备");
+        return;
+      }
+
+      WebCamDevice[] devices = WebCamTexture.devices;
+      for (int i = 0; i < devices.Length; i++)
+      {
+        Debug.Log($"[WM] 设备[{i}]:{devices[i].name}");
+        if (devices[i].name == deviceName)
+        {
+          webCamTexture = new WebCamTexture(devices[i].name, Screen.width, Screen.height, 30)
+          {
+            wrapMode = TextureWrapMode.Clamp
+          };
+
+          WebCamRawImage.texture = webCamTexture;
+          isReady = true;
+          break;
+        }
+      }
+      return;
+    }
+
+
+
+    public void SwitchWebcam(bool value)
+    {
+      if (webCamTexture == null || isReady == false)
+      {
+        return;
+      }
+
+      if (value == true)
+      {
+        webCamTexture.Play();
+      }
+      else
+      {
+        if (webCamTexture.isPlaying)
+        {
+          webCamTexture.Stop();
+        }
+      }
+      return;
+    }
+
+  }
+}

+ 2 - 3
ToneTuneToolkit/Assets/Examples/022_UGUIGray/Scenes/Example.unity

@@ -38,7 +38,6 @@ RenderSettings:
   m_ReflectionIntensity: 1
   m_ReflectionIntensity: 1
   m_CustomReflection: {fileID: 0}
   m_CustomReflection: {fileID: 0}
   m_Sun: {fileID: 0}
   m_Sun: {fileID: 0}
-  m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
   m_UseRadianceAmbientProbe: 0
   m_UseRadianceAmbientProbe: 0
 --- !u!157 &3
 --- !u!157 &3
 LightmapSettings:
 LightmapSettings:
@@ -622,8 +621,8 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0.5, y: 0.5}
   m_AnchorMin: {x: 0.5, y: 0.5}
   m_AnchorMax: {x: 0.5, y: 0.5}
   m_AnchorMax: {x: 0.5, y: 0.5}
-  m_AnchoredPosition: {x: -905.875, y: -137.5}
-  m_SizeDelta: {x: 100, y: 100}
+  m_AnchoredPosition: {x: 0, y: 0}
+  m_SizeDelta: {x: 2000, y: 1000}
   m_Pivot: {x: 0.5, y: 0.5}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &2026483230
 --- !u!114 &2026483230
 MonoBehaviour:
 MonoBehaviour:

+ 20 - 230
ToneTuneToolkit/Assets/Examples/_Dev/Scenes/Example.unity

@@ -38,7 +38,6 @@ RenderSettings:
   m_ReflectionIntensity: 1
   m_ReflectionIntensity: 1
   m_CustomReflection: {fileID: 0}
   m_CustomReflection: {fileID: 0}
   m_Sun: {fileID: 0}
   m_Sun: {fileID: 0}
-  m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
   m_UseRadianceAmbientProbe: 0
   m_UseRadianceAmbientProbe: 0
 --- !u!157 &3
 --- !u!157 &3
 LightmapSettings:
 LightmapSettings:
@@ -123,109 +122,6 @@ NavMeshSettings:
     debug:
     debug:
       m_Flags: 0
       m_Flags: 0
   m_NavMeshData: {fileID: 0}
   m_NavMeshData: {fileID: 0}
---- !u!1 &537808008
-GameObject:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  serializedVersion: 6
-  m_Component:
-  - component: {fileID: 537808012}
-  - component: {fileID: 537808011}
-  - component: {fileID: 537808010}
-  - component: {fileID: 537808009}
-  m_Layer: 5
-  m_Name: Canvas
-  m_TagString: Untagged
-  m_Icon: {fileID: 0}
-  m_NavMeshLayer: 0
-  m_StaticEditorFlags: 0
-  m_IsActive: 1
---- !u!114 &537808009
-MonoBehaviour:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 537808008}
-  m_Enabled: 1
-  m_EditorHideFlags: 0
-  m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
-  m_Name: 
-  m_EditorClassIdentifier: 
-  m_IgnoreReversedGraphics: 1
-  m_BlockingObjects: 0
-  m_BlockingMask:
-    serializedVersion: 2
-    m_Bits: 4294967295
---- !u!114 &537808010
-MonoBehaviour:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 537808008}
-  m_Enabled: 1
-  m_EditorHideFlags: 0
-  m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
-  m_Name: 
-  m_EditorClassIdentifier: 
-  m_UiScaleMode: 0
-  m_ReferencePixelsPerUnit: 100
-  m_ScaleFactor: 1
-  m_ReferenceResolution: {x: 800, y: 600}
-  m_ScreenMatchMode: 0
-  m_MatchWidthOrHeight: 0
-  m_PhysicalUnit: 3
-  m_FallbackScreenDPI: 96
-  m_DefaultSpriteDPI: 96
-  m_DynamicPixelsPerUnit: 1
-  m_PresetInfoIsWorld: 0
---- !u!223 &537808011
-Canvas:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 537808008}
-  m_Enabled: 1
-  serializedVersion: 3
-  m_RenderMode: 0
-  m_Camera: {fileID: 0}
-  m_PlaneDistance: 100
-  m_PixelPerfect: 0
-  m_ReceivesEvents: 1
-  m_OverrideSorting: 0
-  m_OverridePixelPerfect: 0
-  m_SortingBucketNormalizedSize: 0
-  m_VertexColorAlwaysGammaSpace: 0
-  m_AdditionalShaderChannelsFlag: 0
-  m_UpdateRectTransformForStandalone: 0
-  m_SortingLayerID: 0
-  m_SortingOrder: 0
-  m_TargetDisplay: 0
---- !u!224 &537808012
-RectTransform:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 537808008}
-  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
-  m_LocalPosition: {x: 0, y: 0, z: 0}
-  m_LocalScale: {x: 0, y: 0, z: 0}
-  m_ConstrainProportionsScale: 0
-  m_Children:
-  - {fileID: 967847886}
-  - {fileID: 2026483229}
-  m_Father: {fileID: 0}
-  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
-  m_AnchorMin: {x: 0, y: 0}
-  m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 0, y: 0}
-  m_SizeDelta: {x: 0, y: 0}
-  m_Pivot: {x: 0, y: 0}
 --- !u!1 &858143314
 --- !u!1 &858143314
 GameObject:
 GameObject:
   m_ObjectHideFlags: 0
   m_ObjectHideFlags: 0
@@ -294,7 +190,7 @@ Transform:
   m_Children: []
   m_Children: []
   m_Father: {fileID: 0}
   m_Father: {fileID: 0}
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!1 &967847885
+--- !u!1 &1341750538
 GameObject:
 GameObject:
   m_ObjectHideFlags: 0
   m_ObjectHideFlags: 0
   m_CorrespondingSourceObject: {fileID: 0}
   m_CorrespondingSourceObject: {fileID: 0}
@@ -302,73 +198,42 @@ GameObject:
   m_PrefabAsset: {fileID: 0}
   m_PrefabAsset: {fileID: 0}
   serializedVersion: 6
   serializedVersion: 6
   m_Component:
   m_Component:
-  - component: {fileID: 967847886}
-  - component: {fileID: 967847888}
-  - component: {fileID: 967847887}
-  m_Layer: 5
-  m_Name: Image
+  - component: {fileID: 1341750540}
+  - component: {fileID: 1341750539}
+  m_Layer: 0
+  m_Name: GameObject
   m_TagString: Untagged
   m_TagString: Untagged
   m_Icon: {fileID: 0}
   m_Icon: {fileID: 0}
   m_NavMeshLayer: 0
   m_NavMeshLayer: 0
   m_StaticEditorFlags: 0
   m_StaticEditorFlags: 0
   m_IsActive: 1
   m_IsActive: 1
---- !u!224 &967847886
-RectTransform:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 967847885}
-  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
-  m_LocalPosition: {x: 0, y: 0, z: 0}
-  m_LocalScale: {x: 1, y: 1, z: 1}
-  m_ConstrainProportionsScale: 0
-  m_Children: []
-  m_Father: {fileID: 537808012}
-  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
-  m_AnchorMin: {x: 0, y: 0}
-  m_AnchorMax: {x: 1, y: 1}
-  m_AnchoredPosition: {x: 0, y: 0}
-  m_SizeDelta: {x: 0, y: 0}
-  m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &967847887
+--- !u!114 &1341750539
 MonoBehaviour:
 MonoBehaviour:
   m_ObjectHideFlags: 0
   m_ObjectHideFlags: 0
   m_CorrespondingSourceObject: {fileID: 0}
   m_CorrespondingSourceObject: {fileID: 0}
   m_PrefabInstance: {fileID: 0}
   m_PrefabInstance: {fileID: 0}
   m_PrefabAsset: {fileID: 0}
   m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 967847885}
+  m_GameObject: {fileID: 1341750538}
   m_Enabled: 1
   m_Enabled: 1
   m_EditorHideFlags: 0
   m_EditorHideFlags: 0
-  m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
+  m_Script: {fileID: 11500000, guid: e0e5c02493498b846a1832d9cf244c7d, type: 3}
   m_Name: 
   m_Name: 
   m_EditorClassIdentifier: 
   m_EditorClassIdentifier: 
-  m_Material: {fileID: 0}
-  m_Color: {r: 1, g: 1, b: 1, a: 1}
-  m_RaycastTarget: 1
-  m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
-  m_Maskable: 1
-  m_OnCullStateChanged:
-    m_PersistentCalls:
-      m_Calls: []
-  m_Sprite: {fileID: 0}
-  m_Type: 0
-  m_PreserveAspect: 0
-  m_FillCenter: 1
-  m_FillMethod: 4
-  m_FillAmount: 1
-  m_FillClockwise: 1
-  m_FillOrigin: 0
-  m_UseSpriteMesh: 0
-  m_PixelsPerUnitMultiplier: 1
---- !u!222 &967847888
-CanvasRenderer:
+--- !u!4 &1341750540
+Transform:
   m_ObjectHideFlags: 0
   m_ObjectHideFlags: 0
   m_CorrespondingSourceObject: {fileID: 0}
   m_CorrespondingSourceObject: {fileID: 0}
   m_PrefabInstance: {fileID: 0}
   m_PrefabInstance: {fileID: 0}
   m_PrefabAsset: {fileID: 0}
   m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 967847885}
-  m_CullTransparentMesh: 1
+  m_GameObject: {fileID: 1341750538}
+  serializedVersion: 2
+  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+  m_LocalPosition: {x: 591.4512, y: 1203.4978, z: -6.3683434}
+  m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
+  m_Children: []
+  m_Father: {fileID: 0}
+  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
 --- !u!1 &1736974413
 --- !u!1 &1736974413
 GameObject:
 GameObject:
   m_ObjectHideFlags: 0
   m_ObjectHideFlags: 0
@@ -546,81 +411,6 @@ Transform:
   m_Children: []
   m_Children: []
   m_Father: {fileID: 0}
   m_Father: {fileID: 0}
   m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
   m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
---- !u!1 &2026483228
-GameObject:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  serializedVersion: 6
-  m_Component:
-  - component: {fileID: 2026483229}
-  - component: {fileID: 2026483231}
-  - component: {fileID: 2026483230}
-  m_Layer: 5
-  m_Name: Image
-  m_TagString: Untagged
-  m_Icon: {fileID: 0}
-  m_NavMeshLayer: 0
-  m_StaticEditorFlags: 0
-  m_IsActive: 1
---- !u!224 &2026483229
-RectTransform:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 2026483228}
-  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
-  m_LocalPosition: {x: 0, y: 0, z: 0}
-  m_LocalScale: {x: 1, y: 1, z: 1}
-  m_ConstrainProportionsScale: 0
-  m_Children: []
-  m_Father: {fileID: 537808012}
-  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
-  m_AnchorMin: {x: 0.5, y: 0.5}
-  m_AnchorMax: {x: 0.5, y: 0.5}
-  m_AnchoredPosition: {x: -905.875, y: -137.5}
-  m_SizeDelta: {x: 100, y: 100}
-  m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &2026483230
-MonoBehaviour:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 2026483228}
-  m_Enabled: 1
-  m_EditorHideFlags: 0
-  m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
-  m_Name: 
-  m_EditorClassIdentifier: 
-  m_Material: {fileID: 2100000, guid: 90809b6034016494ea4e155c1079859a, type: 2}
-  m_Color: {r: 1, g: 1, b: 1, a: 1}
-  m_RaycastTarget: 1
-  m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
-  m_Maskable: 1
-  m_OnCullStateChanged:
-    m_PersistentCalls:
-      m_Calls: []
-  m_Sprite: {fileID: 21300000, guid: 80779dc01c161fd429a22adf6150a5cb, type: 3}
-  m_Type: 0
-  m_PreserveAspect: 0
-  m_FillCenter: 1
-  m_FillMethod: 4
-  m_FillAmount: 1
-  m_FillClockwise: 1
-  m_FillOrigin: 0
-  m_UseSpriteMesh: 0
-  m_PixelsPerUnitMultiplier: 1
---- !u!222 &2026483231
-CanvasRenderer:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 2026483228}
-  m_CullTransparentMesh: 1
 --- !u!1660057539 &9223372036854775807
 --- !u!1660057539 &9223372036854775807
 SceneRoots:
 SceneRoots:
   m_ObjectHideFlags: 0
   m_ObjectHideFlags: 0
@@ -628,4 +418,4 @@ SceneRoots:
   - {fileID: 1736974416}
   - {fileID: 1736974416}
   - {fileID: 858143317}
   - {fileID: 858143317}
   - {fileID: 1763200703}
   - {fileID: 1763200703}
-  - {fileID: 537808012}
+  - {fileID: 1341750540}

+ 18 - 3
ToneTuneToolkit/Assets/Examples/_Dev/Scripts/Dev.cs

@@ -1,4 +1,5 @@
 using UnityEngine;
 using UnityEngine;
+using System.Collections;
 using ToneTuneToolkit;
 using ToneTuneToolkit;
 
 
 namespace Examples
 namespace Examples
@@ -8,16 +9,30 @@ namespace Examples
   /// </summary>
   /// </summary>
   public class Dev : MonoBehaviour
   public class Dev : MonoBehaviour
   {
   {
-    private GameObject NodeImages;
 
 
     private void Start()
     private void Start()
     {
     {
-      NodeImages = GameObject.Find("Node - Images").gameObject;
+
     }
     }
 
 
     private void Update()
     private void Update()
     {
     {
-      Debug.DrawLine(Vector3.zero, new Vector3(5, 0, 5), Color.red);
+      if (Input.GetKeyDown(KeyCode.Q))
+      {
+        StartCoroutine("Count");
+      }
+      if (Input.GetKeyDown(KeyCode.W))
+      {
+        StopCoroutine("Count");
+      }
+    }
+
+    private IEnumerator Count()
+    {
+      Debug.Log("启动");
+      yield return new WaitForSeconds(3f);
+      Debug.Log("3s");
+      StartCoroutine("Count");
     }
     }
   }
   }
 }
 }

+ 14 - 13
ToneTuneToolkit/Assets/NOTE.md

@@ -13,16 +13,16 @@
 ### -> 命名规则
 ### -> 命名规则
 * FocusObjectTransform => foTrC;
 * FocusObjectTransform => foTrC;
 * CameraGameObject => cameraGO;
 * CameraGameObject => cameraGO;
-* Presetting();
+* <s>Presetting();</s> Init();
 * xxxxxMethod();
 * xxxxxMethod();
 * this.
 * this.
 * 动词+名词
 * 动词+名词
 * 方法需要return;
 * 方法需要return;
 
 
-/// <summary>
-/// Copyright (c) 2021 MirzkisD1Ex0 All rights reserved.
-/// Code Version 1.0
-/// </summary>
+/// \<summary> </br>
+/// Copyright (c) 2024 MirzkisD1Ex0 All rights reserved. </br>
+/// Code Version 1.01 </br>
+/// \</summary>
 
 
 </br>
 </br>
 
 
@@ -50,6 +50,8 @@
         "017": "JsonConstructer",
         "017": "JsonConstructer",
         "019": "ObjectRotateAndScale",
         "019": "ObjectRotateAndScale",
         "020": "JsonReadAndWirte"
         "020": "JsonReadAndWirte"
+        "021": "MVC"
+        "022": "UGUIGray"
       }
       }
     }
     }
 
 
@@ -60,9 +62,9 @@
 [ToneTuneToolkit][000] </br>
 [ToneTuneToolkit][000] </br>
 
 
 #region Environment </br>
 #region Environment </br>
-Windows 10 21H1 </br>
-Unity 2020.3.16f1 LTS </br>
-VSCode 1.61.0 </br>
+Windows 10 22H2 </br>
+Unity 2022.3.30f1 LTS </br>
+VSCode 1.90.0 </br>
 // ToneTune Toolkit 下载地址 </br>
 // ToneTune Toolkit 下载地址 </br>
 // https://github.com/MirzkisD1Ex0/ToneTuneToolkit.git </br>
 // https://github.com/MirzkisD1Ex0/ToneTuneToolkit.git </br>
 #endregion </br>
 #endregion </br>
@@ -70,12 +72,11 @@ VSCode 1.61.0 </br>
 </br>
 </br>
 </br>
 </br>
 #region Introduction </br>
 #region Introduction </br>
-此工程位于Github,遵从GPLv3.0协议,请根据需求使用。Pull完记得点个Star! </br>
-文章仅作抛砖引玉之用,希望能够借此给予寻求思路的开发者们一些灵感。 </br>
-此教程系列曾属于“Unity The Great”,但由于“Tone Tune Tookit”的诞生,开发组决定将两个系列进行合并。 </br>
+工具原工程位于Github并遵从GPLv3.0协议,请根据需求使用。</br>
+文章仅作抛砖引玉之用,希望借此给予寻求思路的开发者们一些灵感。 </br>
+此教程系列曾属于“Unity The Great”,但由于“Tone Tune Tookit”的诞生,因此我决定将两个系列进行合并。 </br>
 如果内容中出现了语混序乱、错鳖字、缺少标点符号的情况还请见谅 </br>
 如果内容中出现了语混序乱、错鳖字、缺少标点符号的情况还请见谅 </br>
 互联网精神永存。 </br>
 互联网精神永存。 </br>
-Hooray!!! </br>
 #endregion </br>
 #endregion </br>
 </br>
 </br>
 #region Developer </br>
 #region Developer </br>
@@ -84,7 +85,7 @@ Hooray!!! </br>
 [开发者邮箱] </br>
 [开发者邮箱] </br>
 // dearisaacyang@outlook.com </br>
 // dearisaacyang@outlook.com </br>
 [开发者微信] </br>
 [开发者微信] </br>
-// wxid_63t8w3035kvp22 </br>
+// qq2957047371 </br>
 [开发者企鹅] </br>
 [开发者企鹅] </br>
 // 2957047371 </br>
 // 2957047371 </br>
 #endregion </br>
 #endregion </br>

BIN
ToneTuneToolkit/Assets/PDFs/022.pdf


+ 7 - 0
ToneTuneToolkit/Assets/PDFs/022.pdf.meta

@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 1006b43b42bcd364f8963831699acb92
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

BIN
ToneTuneToolkit/Assets/Plugins/BestHTTP.dll


+ 33 - 0
ToneTuneToolkit/Assets/Plugins/BestHTTP.dll.meta

@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: e9913f6f2b5b5ee48b9d72ad25d41e4c
+PluginImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  iconMap: {}
+  executionOrder: {}
+  defineConstraints: []
+  isPreloaded: 0
+  isOverridable: 0
+  isExplicitlyReferenced: 0
+  validateReferences: 1
+  platformData:
+  - first:
+      Any: 
+    second:
+      enabled: 1
+      settings: {}
+  - first:
+      Editor: Editor
+    second:
+      enabled: 0
+      settings:
+        DefaultValueInitialized: true
+  - first:
+      Windows Store Apps: WindowsStoreApps
+    second:
+      enabled: 0
+      settings:
+        CPU: AnyCPU
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 5 - 3
ToneTuneToolkit/Assets/ToneTuneToolkit/README.md

@@ -1,8 +1,8 @@
 <font face="Source Han Sans TC" size=2 color=#FFFFFF>
 <font face="Source Han Sans TC" size=2 color=#FFFFFF>
 
 
-#### <center><font size=2>Make everything simple.</font></center>
-#### <center><font size=2>2023/12/28</font></center>
-# <center><font color="#54FF9F" size=6>**Tone Tune Toolkit v1.4.14**</font></center>
+#### <center><font size=2>Make everything f<font color="#FF0000">or</font>king simple.</font></center>
+#### <center><font size=2>2024/06/02</font></center>
+# <center><font color="#54FF9F" size=6>**Tone Tune Toolkit v1.4.15**</font></center>
 ## ToneTuneToolkit是什么?
 ## ToneTuneToolkit是什么?
 一个致力于帮助Unity六边形战士减轻开发负担的项目。</br>
 一个致力于帮助Unity六边形战士减轻开发负担的项目。</br>
 <s>但更多的时候是在帮助互动媒体人偷懒。</s></br>
 <s>但更多的时候是在帮助互动媒体人偷懒。</s></br>
@@ -43,6 +43,7 @@
 22. 2023/11/06 UI模块下的截图工具与Media模块下的截图工具功能合并,新增全角度截图工具“FullAngleScreenshotTool”。
 22. 2023/11/06 UI模块下的截图工具与Media模块下的截图工具功能合并,新增全角度截图工具“FullAngleScreenshotTool”。
 23. 2023/12/04 新增“SHADERS”模块,新增了一个可以将UGUI去色的Shader,需要额外创建材质球,详见“Examples/022_UGUIGray”。
 23. 2023/12/04 新增“SHADERS”模块,新增了一个可以将UGUI去色的Shader,需要额外创建材质球,详见“Examples/022_UGUIGray”。
 24. 2023/12/28 分离“TextLoader”的json读写功能至“Data”分类下的“JsonManager”。
 24. 2023/12/28 分离“TextLoader”的json读写功能至“Data”分类下的“JsonManager”。
+25. 2024/06/03 添加了“TextureProcessor”,读/写/旋转/缩放Texture。
 
 
 </br>
 </br>
 
 
@@ -70,6 +71,7 @@
 ### -> ToneTuneToolkit.Media/
 ### -> ToneTuneToolkit.Media/
 * ScreenshotMaster.cs         // 透明通道截图工具
 * ScreenshotMaster.cs         // 透明通道截图工具
 * FullAngleScreenshotTool.cs  // 全角度截图工具
 * FullAngleScreenshotTool.cs  // 全角度截图工具
+* TextureProcessor.cs         // 图片处理工具
 
 
 ### -> ToneTuneToolkit.Mobile/
 ### -> ToneTuneToolkit.Mobile/
 * ObjectRotateAndScale.cs   // 物体Android平台中的单指旋转及双指缩放
 * ObjectRotateAndScale.cs   // 物体Android平台中的单指旋转及双指缩放

+ 1 - 1
ToneTuneToolkit/Assets/ToneTuneToolkit/Scripts/Media/ScreenshotMasterLite.cs

@@ -97,7 +97,7 @@ namespace ToneTuneToolkit.Media
       File.WriteAllBytes(fullFilePath, bytes);
       File.WriteAllBytes(fullFilePath, bytes);
       Debug.Log($"[ScreenshotMasterLite] <color=green>{fullFilePath}</color>...[OK]");
       Debug.Log($"[ScreenshotMasterLite] <color=green>{fullFilePath}</color>...[OK]");
 
 
-      Destroy(texture2D);
+      // Destroy(texture2D);
       yield break;
       yield break;
     }
     }
 
 

+ 14 - 6
ToneTuneToolkit/Assets/ToneTuneToolkit/Scripts/Media/ScreenshotMasterMini.cs

@@ -7,7 +7,6 @@ using System.Collections;
 using System.Collections.Generic;
 using System.Collections.Generic;
 using UnityEngine;
 using UnityEngine;
 using System.IO;
 using System.IO;
-using ToneTuneToolkit.Common;
 using UnityEngine.Events;
 using UnityEngine.Events;
 
 
 namespace ToneTuneToolkit.Media
 namespace ToneTuneToolkit.Media
@@ -15,9 +14,20 @@ namespace ToneTuneToolkit.Media
   /// <summary>
   /// <summary>
   /// 截图大师Mini
   /// 截图大师Mini
   /// </summary>
   /// </summary>
-  public class ScreenshotMasterMini : SingletonMaster<ScreenshotMasterMini>
+  public class ScreenshotMasterMini : MonoBehaviour
   {
   {
-    public UnityAction<Texture2D> OnScreenshotCompelete;
+    public static ScreenshotMasterMini Instance;
+
+    public static UnityAction<Texture2D> OnScreenshotCompelete;
+
+    // ==================================================
+
+    private void Awake()
+    {
+      Instance = this;
+    }
+
+    // ==================================================
 
 
     /// <summary>
     /// <summary>
     /// 传入用于标定范围的Image
     /// 传入用于标定范围的Image
@@ -51,14 +61,12 @@ namespace ToneTuneToolkit.Media
       // 保存至本地
       // 保存至本地
       byte[] bytes = texture2D.EncodeToPNG();
       byte[] bytes = texture2D.EncodeToPNG();
       File.WriteAllBytes(fullFilePath, bytes);
       File.WriteAllBytes(fullFilePath, bytes);
-      Debug.Log($"[ScreenshotMasterLite] <color=green>{fullFilePath}</color>...[OK]");
+      Debug.Log($"[ScreenshotMasterLite] <color=green>{fullFilePath}</color>...<color=green>[OK]</color>");
 
 
       if (OnScreenshotCompelete != null)
       if (OnScreenshotCompelete != null)
       {
       {
         OnScreenshotCompelete(texture2D);
         OnScreenshotCompelete(texture2D);
       }
       }
-
-      Destroy(texture2D);
       yield break;
       yield break;
     }
     }
   }
   }

+ 163 - 0
ToneTuneToolkit/Assets/ToneTuneToolkit/Scripts/Media/TextureProcessor.cs

@@ -0,0 +1,163 @@
+/// <summary>
+/// Copyright (c) 2024 MirzkisD1Ex0 All rights reserved.
+/// Code Version 1.0
+/// </summary>
+
+using System.Collections;
+using System.Collections.Generic;
+using System.IO;
+using UnityEngine;
+
+namespace ToneTuneToolkit.Media
+{
+  /// <summary>
+  /// 图像旋转
+  /// https://blog.csdn.net/qq_35030499/article/details/135174016?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-1-135174016-blog-78890247.235^v43^control&spm=1001.2101.3001.4242.2&utm_relevant_index=4
+  /// </summary>
+  public class TextureProcessor : MonoBehaviour
+  {
+    public static TextureProcessor Instance;
+
+    private void Awake()
+    {
+      Instance = this;
+    }
+
+    // ==================================================
+    // 读写
+
+    /// <summary>
+    /// 读取图片转为t2d
+    /// </summary>
+    /// <param name="picturePath">图片路径</param>
+    /// <returns></returns>
+    public static Texture2D ReadTexture(string picturePath)
+    {
+      Texture2D tempTexture = new Texture2D(2, 2);
+      tempTexture.LoadImage(File.ReadAllBytes(picturePath));
+      tempTexture.Apply();
+      return tempTexture;
+    }
+
+    /// <summary>
+    /// 写入图片
+    /// </summary>
+    /// <param name="texture2D">写入的图片</param>
+    /// <param name="picturePath">图片路径</param>
+    /// <returns></returns>
+    public static bool WirteTexture(Texture2D texture2D, string picturePath, PictureFormat pictureFormat)
+    {
+      byte[] data;
+      switch (pictureFormat)
+      {
+        default:
+        case PictureFormat.PNG: data = texture2D.EncodeToPNG(); break;
+        case PictureFormat.JPG: data = texture2D.EncodeToJPG(); break;
+      }
+      File.WriteAllBytes(picturePath, data);
+      return true;
+    }
+    public enum PictureFormat
+    {
+      PNG,
+      JPG,
+    }
+
+    // ==================================================
+    // 旋转翻转
+
+    /// <summary>
+    /// 旋转t2d
+    /// </summary>
+    /// <param name="originalTexture">原t2d</param>
+    /// <param name="clockwise">顺时针/逆时针</param>
+    /// <returns></returns>
+    public static Texture2D RotateTexture(Texture2D originalTexture, bool clockwise)
+    {
+      Color32[] original = originalTexture.GetPixels32();
+      Color32[] rotated = new Color32[original.Length];
+      int w = originalTexture.width;
+      int h = originalTexture.height;
+
+      int iRotated, iOriginal;
+
+      for (int j = 0; j < h; ++j)
+      {
+        for (int i = 0; i < w; ++i)
+        {
+          iRotated = (i + 1) * h - j - 1;
+          iOriginal = clockwise ? original.Length - 1 - (j * w + i) : j * w + i;
+          rotated[iRotated] = original[iOriginal];
+        }
+      }
+
+      Texture2D rotatedTexture = new Texture2D(h, w);
+      rotatedTexture.SetPixels32(rotated);
+      rotatedTexture.Apply();
+      return rotatedTexture;
+    }
+
+    /// <summary>
+    /// 水平翻转t2d
+    /// </summary>
+    /// <param name="originalTexture"></param>
+    /// <returns></returns>
+    public static Texture2D HorizontalFlipTexture(Texture2D originalTexture)
+    {
+      int width = originalTexture.width;
+      int height = originalTexture.height;
+
+      Texture2D flipTexture = new Texture2D(width, height);
+
+      for (int i = 0; i < width; i++)
+      {
+        flipTexture.SetPixels(i, 0, 1, height, originalTexture.GetPixels(width - i - 1, 0, 1, height));
+      }
+      flipTexture.Apply();
+      return flipTexture;
+    }
+
+    /// <summary>
+    /// 垂直翻转t2d
+    /// </summary>
+    /// <param name="originalTexture"></param>
+    /// <returns></returns>
+    public static Texture2D VerticalFlipTexture(Texture2D originalTexture)
+    {
+      int width = originalTexture.width;
+      int height = originalTexture.height;
+
+      Texture2D flipTexture = new Texture2D(width, height);
+      for (int i = 0; i < height; i++)
+      {
+        flipTexture.SetPixels(0, i, width, 1, originalTexture.GetPixels(0, height - i - 1, width, 1));
+      }
+      flipTexture.Apply();
+      return flipTexture;
+    }
+
+    /// <summary>
+    /// 压缩t2d尺寸
+    /// </summary>
+    /// <param name="originalTexture"></param>
+    /// <param name="targetWidth"></param>
+    /// <param name="targetHeight"></param>
+    /// <returns></returns>
+    public static Texture2D ScaleTexture(Texture2D originalTexture, float targetWidth, float targetHeight)
+    {
+      Texture2D scaleTexutre2D = new Texture2D((int)targetWidth, (int)targetHeight, originalTexture.format, false);
+
+      for (int i = 0; i < scaleTexutre2D.height; ++i)
+      {
+        for (int j = 0; j < scaleTexutre2D.width; ++j)
+        {
+          Color newColor = originalTexture.GetPixelBilinear(j / (float)scaleTexutre2D.width, i / (float)scaleTexutre2D.height);
+          scaleTexutre2D.SetPixel(j, i, newColor);
+        }
+      }
+
+      scaleTexutre2D.Apply();
+      return scaleTexutre2D;
+    }
+  }
+}

+ 11 - 0
ToneTuneToolkit/Assets/ToneTuneToolkit/Scripts/Media/TextureProcessor.cs.meta

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

+ 4 - 3
ToneTuneToolkit/Assets/ToneTuneToolkit/Scripts/UI/TextFlick.cs

@@ -15,11 +15,11 @@ namespace ToneTuneToolkit.UI
   /// </summary>
   /// </summary>
   public class TextFlick : MonoBehaviour
   public class TextFlick : MonoBehaviour
   {
   {
-    public float MinAlpha = 102f; // 最小透明度
-    public float MaxAlpha = 255f; // 最大透明度
+    [Range(0f, 255f)] public float MinAlpha = 51f; // 最小透明度
+    [Range(0f, 255f)] public float MaxAlpha = 255f; // 最大透明度
     public float FlickSpeed = 150f; // 速度
     public float FlickSpeed = 150f; // 速度
 
 
-    private float floatingValue = 0;
+    private float floatingValue;
     private bool isFull = false;
     private bool isFull = false;
     private Color newColor;
     private Color newColor;
     private Text textCOM;
     private Text textCOM;
@@ -41,6 +41,7 @@ namespace ToneTuneToolkit.UI
     private void Init()
     private void Init()
     {
     {
       textCOM = GetComponent<Text>();
       textCOM = GetComponent<Text>();
+      floatingValue = MaxAlpha - 1;
       newColor = textCOM.color;
       newColor = textCOM.color;
       return;
       return;
     }
     }

+ 1 - 1
ToneTuneToolkit/Assets/ToneTuneToolkit/Shaders/GreyscaleShader.shader

@@ -1,4 +1,4 @@
-Shader "Sprites/GreyscaleShader"
+Shader "UI/GreyscaleShader"
 {
 {
 	Properties
 	Properties
 	{
 	{

+ 231 - 104
ToneTuneToolkit/Logs/AssetImportWorker0-prev.log

@@ -1,10 +1,10 @@
 Using pre-set license
 Using pre-set license
-Built from '2021.3/staging' branch; Version is '2021.3.33f1 (ee5a2aa03ab2) revision 15620650'; Using compiler version '192829333'; Build Type 'Release'
+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
 OS: 'Windows 10  (10.0.19045) 64bit Professional' Language: 'zh' Physical Memory: 15773 MB
 BatchMode: 1, IsHumanControllingUs: 0, StartBugReporterOnCrash: 0, Is64bit: 1, IsPro: 1
 BatchMode: 1, IsHumanControllingUs: 0, StartBugReporterOnCrash: 0, Is64bit: 1, IsPro: 1
 
 
 COMMAND LINE ARGUMENTS:
 COMMAND LINE ARGUMENTS:
-C:\Workflow\Software\Unity\Editor\2021.3.33f1\Editor\Unity.exe
+C:\Workflow\Software\Unity\Editor\2022.3.30f1\Editor\Unity.exe
 -adb2
 -adb2
 -batchMode
 -batchMode
 -noUpm
 -noUpm
@@ -15,7 +15,7 @@ D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 -logFile
 -logFile
 Logs/AssetImportWorker0.log
 Logs/AssetImportWorker0.log
 -srvPort
 -srvPort
-6193
+12111
 Successfully changed project path to: D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 Successfully changed project path to: D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 [UnityMemory] Configuration Parameters - Can be set up in boot.config
 [UnityMemory] Configuration Parameters - Can be set up in boot.config
@@ -39,6 +39,8 @@ D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
     "memorysetup-job-temp-allocator-block-size=2097152"
     "memorysetup-job-temp-allocator-block-size=2097152"
     "memorysetup-job-temp-allocator-block-size-background=1048576"
     "memorysetup-job-temp-allocator-block-size-background=1048576"
     "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
     "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-background-worker=32768"
     "memorysetup-temp-allocator-size-job-worker=262144"
     "memorysetup-temp-allocator-size-job-worker=262144"
     "memorysetup-temp-allocator-size-preload-manager=33554432"
     "memorysetup-temp-allocator-size-preload-manager=33554432"
@@ -47,15 +49,15 @@ D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
     "memorysetup-temp-allocator-size-cloud-worker=32768"
     "memorysetup-temp-allocator-size-cloud-worker=32768"
     "memorysetup-temp-allocator-size-gi-baking-worker=262144"
     "memorysetup-temp-allocator-size-gi-baking-worker=262144"
     "memorysetup-temp-allocator-size-gfx=262144"
     "memorysetup-temp-allocator-size-gfx=262144"
-Player connection [47940] Host "[IP] 172.18.144.1 [Port] 0 [Flags] 2 [Guid] 1502443353 [EditorId] 1502443353 [Version] 1048832 [Id] WindowsEditor(7,Capsule-UNITY) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined multi-casting on [225.0.0.222:54997]...
+Player connection [26504] Host "[IP] 172.26.208.1 [Port] 0 [Flags] 2 [Guid] 1442816120 [EditorId] 1442816120 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Unity) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined multi-casting on [225.0.0.222:54997]...
 
 
-Player connection [47940] Host "[IP] 172.18.144.1 [Port] 0 [Flags] 2 [Guid] 1502443353 [EditorId] 1502443353 [Version] 1048832 [Id] WindowsEditor(7,Capsule-UNITY) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined alternative multi-casting on [225.0.0.222:34997]...
+Player connection [26504] Host "[IP] 172.26.208.1 [Port] 0 [Flags] 2 [Guid] 1442816120 [EditorId] 1442816120 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Unity) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined alternative multi-casting on [225.0.0.222:34997]...
 
 
-[Physics::Module] Initialized MultithreadedJobDispatcher with {0} workers.
-Refreshing native plugins compatible for Editor in 81.57 ms, found 3 plugins.
+[Physics::Module] Initialized MultithreadedJobDispatcher with 15 workers.
+Refreshing native plugins compatible for Editor in 40.10 ms, found 3 plugins.
 Preloading 0 native plugins for Editor in 0.00 ms.
 Preloading 0 native plugins for Editor in 0.00 ms.
-Initialize engine version: 2021.3.33f1 (ee5a2aa03ab2)
-[Subsystems] Discovering subsystems at path C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/Resources/UnitySubsystems
+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
 [Subsystems] Discovering subsystems at path D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit/Assets
 GfxDevice: creating device client; threaded=0; jobified=0
 GfxDevice: creating device client; threaded=0; jobified=0
 Direct3D:
 Direct3D:
@@ -65,118 +67,243 @@ Direct3D:
     VRAM:     5996 MB
     VRAM:     5996 MB
     Driver:   31.0.15.5152
     Driver:   31.0.15.5152
 Initialize mono
 Initialize mono
-Mono path[0] = 'C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/Managed'
-Mono path[1] = 'C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/MonoBleedingEdge/lib/mono/unityjit-win32'
-Mono config path = 'C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/MonoBleedingEdge/etc'
-Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56964
+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:56416
 Begin MonoManager ReloadAssembly
 Begin MonoManager ReloadAssembly
 Registering precompiled unity dll's ...
 Registering precompiled unity dll's ...
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/WebGLSupport/UnityEditor.WebGL.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/AndroidPlayer/UnityEditor.Android.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/iOSSupport/UnityEditor.iOS.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/MetroSupport/UnityEditor.UWP.Extensions.dll
-Registered in 0.009574 seconds.
-Native extension for UWP target not found
+Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll
+Registered in 0.009217 seconds.
+- Loaded All Assemblies, in  0.416 seconds
 Native extension for WindowsStandalone target not found
 Native extension for WindowsStandalone target not found
-[usbmuxd] Start listen thread
-[usbmuxd] Listen thread started
-Native extension for iOS target not found
-Native extension for Android target not found
-Android Extension - Scanning For ADB Devices 484 ms
-Native extension for WebGL target not found
-Refreshing native plugins compatible for Editor in 76.99 ms, found 3 plugins.
-Preloading 0 native plugins for Editor in 0.00 ms.
 Mono: successfully reloaded assembly
 Mono: successfully reloaded assembly
-- Completed reload, in  1.176 seconds
-Domain Reload Profiling:
-	ReloadAssembly (1177ms)
-		BeginReloadAssembly (95ms)
-			ExecutionOrderSort (0ms)
-			DisableScriptedObjects (0ms)
-			BackupInstance (0ms)
-			ReleaseScriptingObjects (0ms)
-			CreateAndSetChildDomain (1ms)
-		EndReloadAssembly (979ms)
-			LoadAssemblies (93ms)
-			RebuildTransferFunctionScriptingTraits (0ms)
-			SetupTypeCache (103ms)
-			ReleaseScriptCaches (0ms)
-			RebuildScriptCaches (24ms)
-			SetupLoadedEditorAssemblies (810ms)
-				LogAssemblyErrors (0ms)
-				InitializePlatformSupportModulesInManaged (592ms)
-				SetLoadedEditorAssemblies (0ms)
-				RefreshPlugins (77ms)
-				BeforeProcessingInitializeOnLoad (1ms)
-				ProcessInitializeOnLoadAttributes (98ms)
-				ProcessInitializeOnLoadMethodAttributes (42ms)
-				AfterProcessingInitializeOnLoad (0ms)
-				EditorAssembliesLoaded (0ms)
-			ExecutionOrderSort2 (0ms)
-			AwakeInstancesAfterBackupRestoration (0ms)
-Platform modules already initialized, skipping
-Registering precompiled user dll's ...
-Registered in 0.003267 seconds.
+- Finished resetting the current domain, in  0.333 seconds
+Domain Reload Profiling: 748ms
+	BeginReloadAssembly (128ms)
+		ExecutionOrderSort (0ms)
+		DisableScriptedObjects (0ms)
+		BackupInstance (0ms)
+		ReleaseScriptingObjects (0ms)
+		CreateAndSetChildDomain (1ms)
+	RebuildCommonClasses (38ms)
+	RebuildNativeTypeToScriptingClass (11ms)
+	initialDomainReloadingComplete (66ms)
+	LoadAllAssembliesAndSetupDomain (172ms)
+		LoadAssemblies (125ms)
+		RebuildTransferFunctionScriptingTraits (0ms)
+		AnalyzeDomain (170ms)
+			TypeCache.Refresh (169ms)
+				TypeCache.ScanAssembly (153ms)
+			ScanForSourceGeneratedMonoScriptInfo (0ms)
+			ResolveRequiredComponents (0ms)
+	FinalizeReload (334ms)
+		ReleaseScriptCaches (0ms)
+		RebuildScriptCaches (0ms)
+		SetupLoadedEditorAssemblies (263ms)
+			LogAssemblyErrors (0ms)
+			InitializePlatformSupportModulesInManaged (10ms)
+			SetLoadedEditorAssemblies (10ms)
+			RefreshPlugins (0ms)
+			BeforeProcessingInitializeOnLoad (2ms)
+			ProcessInitializeOnLoadAttributes (186ms)
+			ProcessInitializeOnLoadMethodAttributes (54ms)
+			AfterProcessingInitializeOnLoad (0ms)
+			EditorAssembliesLoaded (0ms)
+		ExecutionOrderSort2 (0ms)
+		AwakeInstancesAfterBackupRestoration (0ms)
+========================================================================
+Worker process is ready to serve import requests
 Begin MonoManager ReloadAssembly
 Begin MonoManager ReloadAssembly
-Native extension for UWP target not found
+- Loaded All Assemblies, in  0.810 seconds
+Refreshing native plugins compatible for Editor in 2.68 ms, found 3 plugins.
 Native extension for WindowsStandalone target not found
 Native extension for WindowsStandalone target not found
-Native extension for iOS target not found
-Native extension for Android target not found
-Native extension for WebGL target not found
-Refreshing native plugins compatible for Editor in 0.74 ms, found 3 plugins.
-Preloading 0 native plugins for Editor in 0.00 ms.
 Package Manager log level set to [2]
 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] 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
 [Package Manager] Cannot connect to Unity Package Manager local server
 Mono: successfully reloaded assembly
 Mono: successfully reloaded assembly
-- Completed reload, in  1.477 seconds
-Domain Reload Profiling:
-	ReloadAssembly (1478ms)
-		BeginReloadAssembly (151ms)
-			ExecutionOrderSort (0ms)
-			DisableScriptedObjects (11ms)
-			BackupInstance (0ms)
-			ReleaseScriptingObjects (0ms)
-			CreateAndSetChildDomain (27ms)
-		EndReloadAssembly (1239ms)
-			LoadAssemblies (96ms)
-			RebuildTransferFunctionScriptingTraits (0ms)
-			SetupTypeCache (324ms)
-			ReleaseScriptCaches (1ms)
-			RebuildScriptCaches (56ms)
-			SetupLoadedEditorAssemblies (738ms)
-				LogAssemblyErrors (0ms)
-				InitializePlatformSupportModulesInManaged (33ms)
-				SetLoadedEditorAssemblies (0ms)
-				RefreshPlugins (1ms)
-				BeforeProcessingInitializeOnLoad (92ms)
-				ProcessInitializeOnLoadAttributes (583ms)
-				ProcessInitializeOnLoadMethodAttributes (20ms)
-				AfterProcessingInitializeOnLoad (7ms)
-				EditorAssembliesLoaded (0ms)
-			ExecutionOrderSort2 (0ms)
-			AwakeInstancesAfterBackupRestoration (6ms)
-Platform modules already initialized, skipping
-========================================================================
-Worker process is ready to serve import requests
-Launched and connected shader compiler UnityShaderCompiler.exe after 0.06 seconds
-Refreshing native plugins compatible for Editor in 1.68 ms, found 3 plugins.
+- Finished resetting the current domain, in  0.571 seconds
+Domain Reload Profiling: 1380ms
+	BeginReloadAssembly (188ms)
+		ExecutionOrderSort (0ms)
+		DisableScriptedObjects (6ms)
+		BackupInstance (0ms)
+		ReleaseScriptingObjects (0ms)
+		CreateAndSetChildDomain (35ms)
+	RebuildCommonClasses (38ms)
+	RebuildNativeTypeToScriptingClass (12ms)
+	initialDomainReloadingComplete (30ms)
+	LoadAllAssembliesAndSetupDomain (542ms)
+		LoadAssemblies (468ms)
+		RebuildTransferFunctionScriptingTraits (0ms)
+		AnalyzeDomain (181ms)
+			TypeCache.Refresh (159ms)
+				TypeCache.ScanAssembly (145ms)
+			ScanForSourceGeneratedMonoScriptInfo (15ms)
+			ResolveRequiredComponents (5ms)
+	FinalizeReload (571ms)
+		ReleaseScriptCaches (0ms)
+		RebuildScriptCaches (0ms)
+		SetupLoadedEditorAssemblies (423ms)
+			LogAssemblyErrors (0ms)
+			InitializePlatformSupportModulesInManaged (6ms)
+			SetLoadedEditorAssemblies (3ms)
+			RefreshPlugins (0ms)
+			BeforeProcessingInitializeOnLoad (67ms)
+			ProcessInitializeOnLoadAttributes (319ms)
+			ProcessInitializeOnLoadMethodAttributes (20ms)
+			AfterProcessingInitializeOnLoad (8ms)
+			EditorAssembliesLoaded (0ms)
+		ExecutionOrderSort2 (0ms)
+		AwakeInstancesAfterBackupRestoration (7ms)
+Launched and connected shader compiler UnityShaderCompiler.exe after 0.05 seconds
+Refreshing native plugins compatible for Editor in 2.24 ms, found 3 plugins.
 Preloading 0 native plugins for Editor in 0.00 ms.
 Preloading 0 native plugins for Editor in 0.00 ms.
-Unloading 3135 Unused Serialized files (Serialized files now loaded: 0)
-Unloading 25 unused Assets / (46.4 KB). Loaded Objects now: 3597.
-Memory consumption went from 114.5 MB to 114.4 MB.
-Total: 2.683600 ms (FindLiveObjects: 0.238100 ms CreateObjectMapping: 0.088900 ms MarkObjects: 2.277000 ms  DeleteObjects: 0.078600 ms)
+Unloading 3204 Unused Serialized files (Serialized files now loaded: 0)
+Unloading 36 unused Assets / (58.7 KB). Loaded Objects now: 3663.
+Memory consumption went from 122.3 MB to 122.2 MB.
+Total: 3.587300 ms (FindLiveObjects: 0.485900 ms CreateObjectMapping: 0.127500 ms MarkObjects: 2.870500 ms  DeleteObjects: 0.101600 ms)
 
 
 AssetImportParameters requested are different than current active one (requested -> active):
 AssetImportParameters requested are different than current active one (requested -> active):
+  custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 
   custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 
   custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 
-  custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 
+  custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 -> 
+  custom:CustomObjectIndexerAttribute: 9a22284fe3817be447336de3de66b15e -> 
   custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 
   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:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 -> 
-  custom:CustomObjectIndexerAttribute: bc11b3a6c3213fcdd17b65e7da85e133 -> 
+  custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
   custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
   custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
-  custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 -> 
-  custom:SearchIndexIgnoredProperties: e643bd26f0fe6173181afceb89e7c659 -> 
+========================================================================
+Received Prepare
+Begin MonoManager ReloadAssembly
+- Loaded All Assemblies, in  0.404 seconds
+Refreshing native plugins compatible for Editor in 2.00 ms, found 3 plugins.
+Native extension for WindowsStandalone 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.757 seconds
+Domain Reload Profiling: 1160ms
+	BeginReloadAssembly (145ms)
+		ExecutionOrderSort (0ms)
+		DisableScriptedObjects (5ms)
+		BackupInstance (0ms)
+		ReleaseScriptingObjects (0ms)
+		CreateAndSetChildDomain (37ms)
+	RebuildCommonClasses (30ms)
+	RebuildNativeTypeToScriptingClass (9ms)
+	initialDomainReloadingComplete (26ms)
+	LoadAllAssembliesAndSetupDomain (192ms)
+		LoadAssemblies (254ms)
+		RebuildTransferFunctionScriptingTraits (0ms)
+		AnalyzeDomain (13ms)
+			TypeCache.Refresh (6ms)
+				TypeCache.ScanAssembly (0ms)
+			ScanForSourceGeneratedMonoScriptInfo (0ms)
+			ResolveRequiredComponents (6ms)
+	FinalizeReload (758ms)
+		ReleaseScriptCaches (0ms)
+		RebuildScriptCaches (0ms)
+		SetupLoadedEditorAssemblies (391ms)
+			LogAssemblyErrors (0ms)
+			InitializePlatformSupportModulesInManaged (7ms)
+			SetLoadedEditorAssemblies (3ms)
+			RefreshPlugins (0ms)
+			BeforeProcessingInitializeOnLoad (60ms)
+			ProcessInitializeOnLoadAttributes (293ms)
+			ProcessInitializeOnLoadMethodAttributes (20ms)
+			AfterProcessingInitializeOnLoad (7ms)
+			EditorAssembliesLoaded (0ms)
+		ExecutionOrderSort2 (0ms)
+		AwakeInstancesAfterBackupRestoration (11ms)
+Refreshing native plugins compatible for Editor in 2.11 ms, found 3 plugins.
+Preloading 0 native plugins for Editor in 0.00 ms.
+Unloading 3196 Unused Serialized files (Serialized files now loaded: 0)
+Unloading 27 unused Assets / (32.6 KB). Loaded Objects now: 3666.
+Memory consumption went from 121.1 MB to 121.1 MB.
+Total: 3.544400 ms (FindLiveObjects: 0.255200 ms CreateObjectMapping: 0.231200 ms MarkObjects: 2.990400 ms  DeleteObjects: 0.066700 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: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: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-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
+  custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
+========================================================================
+Received Import Request.
+  Time since last request: 318404.885636 seconds.
+  path: Assets/NOTE.md
+  artifactKey: Guid(05277bc3d02b1394fa5122bb40ba2d98) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
+Start importing Assets/NOTE.md using Guid(05277bc3d02b1394fa5122bb40ba2d98) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: '8bdb1afdf70742d73b0d4e9a596637c3') in 0.010023 seconds
+Number of updated asset objects reloaded before import = 0
+Number of asset objects unloaded after import = 1
+========================================================================
+Received Import Request.
+  Time since last request: 107.701146 seconds.
+  path: Assets/NOTE.md
+  artifactKey: Guid(05277bc3d02b1394fa5122bb40ba2d98) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
+Start importing Assets/NOTE.md using Guid(05277bc3d02b1394fa5122bb40ba2d98) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: '86d5bba29c2218c9ca9b1cade2ebd37e') in 0.000864 seconds
+Number of updated asset objects reloaded before import = 0
+Number of asset objects unloaded after import = 1
+========================================================================
+Received Import Request.
+  Time since last request: 251.397864 seconds.
+  path: Assets/NOTE.md
+  artifactKey: Guid(05277bc3d02b1394fa5122bb40ba2d98) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
+Start importing Assets/NOTE.md using Guid(05277bc3d02b1394fa5122bb40ba2d98) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: 'd5416d56e0e32ec8ad3f48d739bb71d5') in 0.001013 seconds
+Number of updated asset objects reloaded before import = 0
+Number of asset objects unloaded after import = 1
+========================================================================
+Received Import Request.
+  Time since last request: 513.788432 seconds.
+  path: Assets/Examples/022_UGUIGray/Materials
+  artifactKey: Guid(47238e2a03c47fd42a8bf6e52a5ba346) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
+Start importing Assets/Examples/022_UGUIGray/Materials using Guid(47238e2a03c47fd42a8bf6e52a5ba346) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: 'd83dbfbe5aab3729312917a9bef9d401') in 0.000525 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: 67.041642 seconds.
+  path: Assets/Examples/020_JsonReadAndWrite/Scripts
+  artifactKey: Guid(67a96f0e884623b4eba9e058f27795a1) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
+Start importing Assets/Examples/020_JsonReadAndWrite/Scripts using Guid(67a96f0e884623b4eba9e058f27795a1) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: 'c690877ba74d5beb1404319f6c13a439') in 0.000539 seconds
+Number of updated asset objects reloaded before import = 1
+Number of asset objects unloaded after import = 0
+========================================================================
+Received Import Request.
+  Time since last request: 0.514581 seconds.
+  path: Assets/Examples/020_JsonReadAndWrite/Scripts/JsonReadAndWrite.cs
+  artifactKey: Guid(fbacd6b00d123c94186958b1ab136ab8) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
+Start importing Assets/Examples/020_JsonReadAndWrite/Scripts/JsonReadAndWrite.cs using Guid(fbacd6b00d123c94186958b1ab136ab8) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: '553cd23a5b47013341420c6872b0ef6b') in 0.000556 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: 282.467912 seconds.
+  path: Assets/ToneTuneToolkit/Shaders
+  artifactKey: Guid(7e9444544e901f54dbf4b22b03ca3309) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
+Start importing Assets/ToneTuneToolkit/Shaders using Guid(7e9444544e901f54dbf4b22b03ca3309) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: 'db866a74768884458d490ee3f137913d') in 0.000533 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.667460 seconds.
+  path: Assets/ToneTuneToolkit/Shaders/GreyscaleShader.shader
+  artifactKey: Guid(3331ec7710b1cd2439c4a9910ddb4a5e) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
+Start importing Assets/ToneTuneToolkit/Shaders/GreyscaleShader.shader using Guid(3331ec7710b1cd2439c4a9910ddb4a5e) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: 'e3510633b375c168e1ba31df74d8600c') in 0.000715 seconds
+Number of updated asset objects reloaded before import = 0
+Number of asset objects unloaded after import = 0

+ 126 - 112
ToneTuneToolkit/Logs/AssetImportWorker0.log

@@ -1,10 +1,10 @@
 Using pre-set license
 Using pre-set license
-Built from '2021.3/staging' branch; Version is '2021.3.33f1 (ee5a2aa03ab2) revision 15620650'; Using compiler version '192829333'; Build Type 'Release'
+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
 OS: 'Windows 10  (10.0.19045) 64bit Professional' Language: 'zh' Physical Memory: 15773 MB
 BatchMode: 1, IsHumanControllingUs: 0, StartBugReporterOnCrash: 0, Is64bit: 1, IsPro: 1
 BatchMode: 1, IsHumanControllingUs: 0, StartBugReporterOnCrash: 0, Is64bit: 1, IsPro: 1
 
 
 COMMAND LINE ARGUMENTS:
 COMMAND LINE ARGUMENTS:
-C:\Workflow\Software\Unity\Editor\2021.3.33f1\Editor\Unity.exe
+C:\Workflow\Software\Unity\Editor\2022.3.30f1\Editor\Unity.exe
 -adb2
 -adb2
 -batchMode
 -batchMode
 -noUpm
 -noUpm
@@ -15,7 +15,7 @@ D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 -logFile
 -logFile
 Logs/AssetImportWorker0.log
 Logs/AssetImportWorker0.log
 -srvPort
 -srvPort
-2051
+14889
 Successfully changed project path to: D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 Successfully changed project path to: D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 [UnityMemory] Configuration Parameters - Can be set up in boot.config
 [UnityMemory] Configuration Parameters - Can be set up in boot.config
@@ -39,6 +39,8 @@ D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
     "memorysetup-job-temp-allocator-block-size=2097152"
     "memorysetup-job-temp-allocator-block-size=2097152"
     "memorysetup-job-temp-allocator-block-size-background=1048576"
     "memorysetup-job-temp-allocator-block-size-background=1048576"
     "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
     "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-background-worker=32768"
     "memorysetup-temp-allocator-size-job-worker=262144"
     "memorysetup-temp-allocator-size-job-worker=262144"
     "memorysetup-temp-allocator-size-preload-manager=33554432"
     "memorysetup-temp-allocator-size-preload-manager=33554432"
@@ -47,15 +49,15 @@ D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
     "memorysetup-temp-allocator-size-cloud-worker=32768"
     "memorysetup-temp-allocator-size-cloud-worker=32768"
     "memorysetup-temp-allocator-size-gi-baking-worker=262144"
     "memorysetup-temp-allocator-size-gi-baking-worker=262144"
     "memorysetup-temp-allocator-size-gfx=262144"
     "memorysetup-temp-allocator-size-gfx=262144"
-Player connection [1600] Host "[IP] 172.24.224.1 [Port] 0 [Flags] 2 [Guid] 1281968334 [EditorId] 1281968334 [Version] 1048832 [Id] WindowsEditor(7,Capsule-UNITY) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined multi-casting on [225.0.0.222:54997]...
+Player connection [24968] Host "[IP] 172.26.208.1 [Port] 0 [Flags] 2 [Guid] 2015322149 [EditorId] 2015322149 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Unity) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined multi-casting on [225.0.0.222:54997]...
 
 
-Player connection [1600] Host "[IP] 172.24.224.1 [Port] 0 [Flags] 2 [Guid] 1281968334 [EditorId] 1281968334 [Version] 1048832 [Id] WindowsEditor(7,Capsule-UNITY) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined alternative multi-casting on [225.0.0.222:34997]...
+Player connection [24968] Host "[IP] 172.26.208.1 [Port] 0 [Flags] 2 [Guid] 2015322149 [EditorId] 2015322149 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Unity) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined alternative multi-casting on [225.0.0.222:34997]...
 
 
-[Physics::Module] Initialized MultithreadedJobDispatcher with {0} workers.
-Refreshing native plugins compatible for Editor in 97.11 ms, found 3 plugins.
+[Physics::Module] Initialized MultithreadedJobDispatcher with 15 workers.
+Refreshing native plugins compatible for Editor in 7.26 ms, found 3 plugins.
 Preloading 0 native plugins for Editor in 0.00 ms.
 Preloading 0 native plugins for Editor in 0.00 ms.
-Initialize engine version: 2021.3.33f1 (ee5a2aa03ab2)
-[Subsystems] Discovering subsystems at path C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/Resources/UnitySubsystems
+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
 [Subsystems] Discovering subsystems at path D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit/Assets
 GfxDevice: creating device client; threaded=0; jobified=0
 GfxDevice: creating device client; threaded=0; jobified=0
 Direct3D:
 Direct3D:
@@ -65,126 +67,138 @@ Direct3D:
     VRAM:     5996 MB
     VRAM:     5996 MB
     Driver:   31.0.15.5152
     Driver:   31.0.15.5152
 Initialize mono
 Initialize mono
-Mono path[0] = 'C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/Managed'
-Mono path[1] = 'C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/MonoBleedingEdge/lib/mono/unityjit-win32'
-Mono config path = 'C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/MonoBleedingEdge/etc'
-Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56484
+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:56252
 Begin MonoManager ReloadAssembly
 Begin MonoManager ReloadAssembly
 Registering precompiled unity dll's ...
 Registering precompiled unity dll's ...
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/WebGLSupport/UnityEditor.WebGL.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/AndroidPlayer/UnityEditor.Android.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/iOSSupport/UnityEditor.iOS.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/MetroSupport/UnityEditor.UWP.Extensions.dll
-Registered in 0.009638 seconds.
-Native extension for UWP target not found
+Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll
+Registered in 0.007518 seconds.
+- Loaded All Assemblies, in  0.401 seconds
 Native extension for WindowsStandalone target not found
 Native extension for WindowsStandalone target not found
-[usbmuxd] Start listen thread
-[usbmuxd] Listen thread started
-Native extension for iOS target not found
-Native extension for Android target not found
-Android Extension - Scanning For ADB Devices 486 ms
-Native extension for WebGL target not found
-Refreshing native plugins compatible for Editor in 104.15 ms, found 3 plugins.
-Preloading 0 native plugins for Editor in 0.00 ms.
 Mono: successfully reloaded assembly
 Mono: successfully reloaded assembly
-- Completed reload, in  1.336 seconds
-Domain Reload Profiling:
-	ReloadAssembly (1336ms)
-		BeginReloadAssembly (113ms)
-			ExecutionOrderSort (0ms)
-			DisableScriptedObjects (0ms)
-			BackupInstance (0ms)
-			ReleaseScriptingObjects (0ms)
-			CreateAndSetChildDomain (1ms)
-		EndReloadAssembly (1117ms)
-			LoadAssemblies (112ms)
-			RebuildTransferFunctionScriptingTraits (0ms)
-			SetupTypeCache (131ms)
-			ReleaseScriptCaches (0ms)
-			RebuildScriptCaches (50ms)
-			SetupLoadedEditorAssemblies (892ms)
-				LogAssemblyErrors (0ms)
-				InitializePlatformSupportModulesInManaged (609ms)
-				SetLoadedEditorAssemblies (0ms)
-				RefreshPlugins (104ms)
-				BeforeProcessingInitializeOnLoad (1ms)
-				ProcessInitializeOnLoadAttributes (114ms)
-				ProcessInitializeOnLoadMethodAttributes (63ms)
-				AfterProcessingInitializeOnLoad (0ms)
-				EditorAssembliesLoaded (0ms)
-			ExecutionOrderSort2 (0ms)
-			AwakeInstancesAfterBackupRestoration (0ms)
-Platform modules already initialized, skipping
-Registering precompiled user dll's ...
-Registered in 0.004632 seconds.
+- Finished resetting the current domain, in  0.322 seconds
+Domain Reload Profiling: 721ms
+	BeginReloadAssembly (129ms)
+		ExecutionOrderSort (0ms)
+		DisableScriptedObjects (0ms)
+		BackupInstance (0ms)
+		ReleaseScriptingObjects (0ms)
+		CreateAndSetChildDomain (1ms)
+	RebuildCommonClasses (43ms)
+	RebuildNativeTypeToScriptingClass (10ms)
+	initialDomainReloadingComplete (66ms)
+	LoadAllAssembliesAndSetupDomain (151ms)
+		LoadAssemblies (127ms)
+		RebuildTransferFunctionScriptingTraits (0ms)
+		AnalyzeDomain (148ms)
+			TypeCache.Refresh (146ms)
+				TypeCache.ScanAssembly (132ms)
+			ScanForSourceGeneratedMonoScriptInfo (0ms)
+			ResolveRequiredComponents (0ms)
+	FinalizeReload (323ms)
+		ReleaseScriptCaches (0ms)
+		RebuildScriptCaches (0ms)
+		SetupLoadedEditorAssemblies (254ms)
+			LogAssemblyErrors (0ms)
+			InitializePlatformSupportModulesInManaged (10ms)
+			SetLoadedEditorAssemblies (9ms)
+			RefreshPlugins (0ms)
+			BeforeProcessingInitializeOnLoad (2ms)
+			ProcessInitializeOnLoadAttributes (174ms)
+			ProcessInitializeOnLoadMethodAttributes (59ms)
+			AfterProcessingInitializeOnLoad (0ms)
+			EditorAssembliesLoaded (0ms)
+		ExecutionOrderSort2 (0ms)
+		AwakeInstancesAfterBackupRestoration (0ms)
+========================================================================
+Worker process is ready to serve import requests
 Begin MonoManager ReloadAssembly
 Begin MonoManager ReloadAssembly
-Native extension for UWP target not found
+- Loaded All Assemblies, in  0.775 seconds
+Refreshing native plugins compatible for Editor in 3.44 ms, found 3 plugins.
 Native extension for WindowsStandalone target not found
 Native extension for WindowsStandalone target not found
-Native extension for iOS target not found
-Native extension for Android target not found
-Native extension for WebGL target not found
-Refreshing native plugins compatible for Editor in 0.64 ms, found 3 plugins.
-Preloading 0 native plugins for Editor in 0.00 ms.
 Package Manager log level set to [2]
 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] 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
 [Package Manager] Cannot connect to Unity Package Manager local server
 Mono: successfully reloaded assembly
 Mono: successfully reloaded assembly
-- Completed reload, in  1.373 seconds
-Domain Reload Profiling:
-	ReloadAssembly (1374ms)
-		BeginReloadAssembly (161ms)
-			ExecutionOrderSort (0ms)
-			DisableScriptedObjects (7ms)
-			BackupInstance (0ms)
-			ReleaseScriptingObjects (0ms)
-			CreateAndSetChildDomain (47ms)
-		EndReloadAssembly (1124ms)
-			LoadAssemblies (97ms)
-			RebuildTransferFunctionScriptingTraits (0ms)
-			SetupTypeCache (261ms)
-			ReleaseScriptCaches (1ms)
-			RebuildScriptCaches (47ms)
-			SetupLoadedEditorAssemblies (711ms)
-				LogAssemblyErrors (0ms)
-				InitializePlatformSupportModulesInManaged (32ms)
-				SetLoadedEditorAssemblies (0ms)
-				RefreshPlugins (1ms)
-				BeforeProcessingInitializeOnLoad (91ms)
-				ProcessInitializeOnLoadAttributes (563ms)
-				ProcessInitializeOnLoadMethodAttributes (16ms)
-				AfterProcessingInitializeOnLoad (7ms)
-				EditorAssembliesLoaded (0ms)
-			ExecutionOrderSort2 (0ms)
-			AwakeInstancesAfterBackupRestoration (5ms)
-Platform modules already initialized, skipping
-========================================================================
-Worker process is ready to serve import requests
-Launched and connected shader compiler UnityShaderCompiler.exe after 0.05 seconds
-Refreshing native plugins compatible for Editor in 0.60 ms, found 3 plugins.
+- Finished resetting the current domain, in  0.674 seconds
+Domain Reload Profiling: 1448ms
+	BeginReloadAssembly (181ms)
+		ExecutionOrderSort (0ms)
+		DisableScriptedObjects (7ms)
+		BackupInstance (0ms)
+		ReleaseScriptingObjects (0ms)
+		CreateAndSetChildDomain (37ms)
+	RebuildCommonClasses (39ms)
+	RebuildNativeTypeToScriptingClass (15ms)
+	initialDomainReloadingComplete (33ms)
+	LoadAllAssembliesAndSetupDomain (505ms)
+		LoadAssemblies (385ms)
+		RebuildTransferFunctionScriptingTraits (0ms)
+		AnalyzeDomain (217ms)
+			TypeCache.Refresh (191ms)
+				TypeCache.ScanAssembly (167ms)
+			ScanForSourceGeneratedMonoScriptInfo (17ms)
+			ResolveRequiredComponents (7ms)
+	FinalizeReload (675ms)
+		ReleaseScriptCaches (0ms)
+		RebuildScriptCaches (0ms)
+		SetupLoadedEditorAssemblies (496ms)
+			LogAssemblyErrors (0ms)
+			InitializePlatformSupportModulesInManaged (7ms)
+			SetLoadedEditorAssemblies (4ms)
+			RefreshPlugins (0ms)
+			BeforeProcessingInitializeOnLoad (75ms)
+			ProcessInitializeOnLoadAttributes (376ms)
+			ProcessInitializeOnLoadMethodAttributes (27ms)
+			AfterProcessingInitializeOnLoad (6ms)
+			EditorAssembliesLoaded (0ms)
+		ExecutionOrderSort2 (0ms)
+		AwakeInstancesAfterBackupRestoration (9ms)
+Launched and connected shader compiler UnityShaderCompiler.exe after 0.06 seconds
+Refreshing native plugins compatible for Editor in 2.28 ms, found 3 plugins.
 Preloading 0 native plugins for Editor in 0.00 ms.
 Preloading 0 native plugins for Editor in 0.00 ms.
-Unloading 3135 Unused Serialized files (Serialized files now loaded: 0)
-Unloading 25 unused Assets / (46.4 KB). Loaded Objects now: 3597.
-Memory consumption went from 114.5 MB to 114.5 MB.
-Total: 2.681800 ms (FindLiveObjects: 0.231200 ms CreateObjectMapping: 0.099600 ms MarkObjects: 2.283900 ms  DeleteObjects: 0.066200 ms)
+Unloading 3204 Unused Serialized files (Serialized files now loaded: 0)
+Unloading 36 unused Assets / (58.7 KB). Loaded Objects now: 3663.
+Memory consumption went from 122.2 MB to 122.2 MB.
+Total: 4.778000 ms (FindLiveObjects: 0.352000 ms CreateObjectMapping: 0.378800 ms MarkObjects: 3.910700 ms  DeleteObjects: 0.134900 ms)
 
 
 AssetImportParameters requested are different than current active one (requested -> active):
 AssetImportParameters requested are different than current active one (requested -> active):
+  custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 
   custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 
   custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 
-  custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 
-  custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 
-  custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 -> 
-  custom:CustomObjectIndexerAttribute: bc11b3a6c3213fcdd17b65e7da85e133 -> 
-  custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
   custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 -> 
   custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 -> 
-  custom:SearchIndexIgnoredProperties: e643bd26f0fe6173181afceb89e7c659 -> 
-  custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 
+  custom:CustomObjectIndexerAttribute: 9a22284fe3817be447336de3de66b15e -> 
+  custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 
+  custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 
   custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 -> 
   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-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
+  custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
+========================================================================
+Received Import Request.
+  Time since last request: 321396.519193 seconds.
+  path: Assets/Models/masterkong
+  artifactKey: Guid(26a3a83c41dd98c45b46b96ac932a574) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
+Start importing Assets/Models/masterkong using Guid(26a3a83c41dd98c45b46b96ac932a574) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: 'efcaa2ae66d67432af37eba70508e782') in 0.003535 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: 1.571196 seconds.
+  path: Assets/_Dev/00.png
+  artifactKey: Guid(e3d44ac34f3efe642a1903ea4269dcfb) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
+Start importing Assets/_Dev/00.png using Guid(e3d44ac34f3efe642a1903ea4269dcfb) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: 'b09c2be91857825265e25a259dc6b369') in 0.130776 seconds
+Number of updated asset objects reloaded before import = 0
+Number of asset objects unloaded after import = 3
 ========================================================================
 ========================================================================
 Received Import Request.
 Received Import Request.
-  Time since last request: 179427.117182 seconds.
-  path: Assets/ToneTuneToolkit/Scripts/UDP/UDPCommunicatorLite.cs
-  artifactKey: Guid(2d9b3e621aa0a0846a562abf8d098af6) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
-Number of updated assets reloaded before import = 0
-Start importing Assets/ToneTuneToolkit/Scripts/UDP/UDPCommunicatorLite.cs using Guid(2d9b3e621aa0a0846a562abf8d098af6) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: '69c6a45a3be016e4429c8b45001356ee') in 0.046236 seconds 
+  Time since last request: 0.272691 seconds.
+  path: Assets/_Dev/New Scene.unity
+  artifactKey: Guid(e320c0c8ca2716d41881b51366aa9f20) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
+Start importing Assets/_Dev/New Scene.unity using Guid(e320c0c8ca2716d41881b51366aa9f20) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: 'e33acca2b6ae03e2e5d6c642c1a83d97') in 0.000721 seconds
+Number of updated asset objects reloaded before import = 0
 Number of asset objects unloaded after import = 0
 Number of asset objects unloaded after import = 0

+ 171 - 108
ToneTuneToolkit/Logs/AssetImportWorker1-prev.log

@@ -1,10 +1,10 @@
 Using pre-set license
 Using pre-set license
-Built from '2021.3/staging' branch; Version is '2021.3.33f1 (ee5a2aa03ab2) revision 15620650'; Using compiler version '192829333'; Build Type 'Release'
+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
 OS: 'Windows 10  (10.0.19045) 64bit Professional' Language: 'zh' Physical Memory: 15773 MB
 BatchMode: 1, IsHumanControllingUs: 0, StartBugReporterOnCrash: 0, Is64bit: 1, IsPro: 1
 BatchMode: 1, IsHumanControllingUs: 0, StartBugReporterOnCrash: 0, Is64bit: 1, IsPro: 1
 
 
 COMMAND LINE ARGUMENTS:
 COMMAND LINE ARGUMENTS:
-C:\Workflow\Software\Unity\Editor\2021.3.33f1\Editor\Unity.exe
+C:\Workflow\Software\Unity\Editor\2022.3.30f1\Editor\Unity.exe
 -adb2
 -adb2
 -batchMode
 -batchMode
 -noUpm
 -noUpm
@@ -15,7 +15,7 @@ D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 -logFile
 -logFile
 Logs/AssetImportWorker1.log
 Logs/AssetImportWorker1.log
 -srvPort
 -srvPort
-6193
+12111
 Successfully changed project path to: D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 Successfully changed project path to: D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 [UnityMemory] Configuration Parameters - Can be set up in boot.config
 [UnityMemory] Configuration Parameters - Can be set up in boot.config
@@ -39,6 +39,8 @@ D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
     "memorysetup-job-temp-allocator-block-size=2097152"
     "memorysetup-job-temp-allocator-block-size=2097152"
     "memorysetup-job-temp-allocator-block-size-background=1048576"
     "memorysetup-job-temp-allocator-block-size-background=1048576"
     "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
     "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-background-worker=32768"
     "memorysetup-temp-allocator-size-job-worker=262144"
     "memorysetup-temp-allocator-size-job-worker=262144"
     "memorysetup-temp-allocator-size-preload-manager=33554432"
     "memorysetup-temp-allocator-size-preload-manager=33554432"
@@ -47,15 +49,15 @@ D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
     "memorysetup-temp-allocator-size-cloud-worker=32768"
     "memorysetup-temp-allocator-size-cloud-worker=32768"
     "memorysetup-temp-allocator-size-gi-baking-worker=262144"
     "memorysetup-temp-allocator-size-gi-baking-worker=262144"
     "memorysetup-temp-allocator-size-gfx=262144"
     "memorysetup-temp-allocator-size-gfx=262144"
-Player connection [13112] Host "[IP] 172.18.144.1 [Port] 0 [Flags] 2 [Guid] 797282907 [EditorId] 797282907 [Version] 1048832 [Id] WindowsEditor(7,Capsule-UNITY) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined multi-casting on [225.0.0.222:54997]...
+Player connection [33592] Host "[IP] 172.26.208.1 [Port] 0 [Flags] 2 [Guid] 3704562898 [EditorId] 3704562898 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Unity) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined multi-casting on [225.0.0.222:54997]...
 
 
-Player connection [13112] Host "[IP] 172.18.144.1 [Port] 0 [Flags] 2 [Guid] 797282907 [EditorId] 797282907 [Version] 1048832 [Id] WindowsEditor(7,Capsule-UNITY) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined alternative multi-casting on [225.0.0.222:34997]...
+Player connection [33592] Host "[IP] 172.26.208.1 [Port] 0 [Flags] 2 [Guid] 3704562898 [EditorId] 3704562898 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Unity) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined alternative multi-casting on [225.0.0.222:34997]...
 
 
-[Physics::Module] Initialized MultithreadedJobDispatcher with {0} workers.
-Refreshing native plugins compatible for Editor in 81.60 ms, found 3 plugins.
+[Physics::Module] Initialized MultithreadedJobDispatcher with 15 workers.
+Refreshing native plugins compatible for Editor in 7.25 ms, found 3 plugins.
 Preloading 0 native plugins for Editor in 0.00 ms.
 Preloading 0 native plugins for Editor in 0.00 ms.
-Initialize engine version: 2021.3.33f1 (ee5a2aa03ab2)
-[Subsystems] Discovering subsystems at path C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/Resources/UnitySubsystems
+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
 [Subsystems] Discovering subsystems at path D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit/Assets
 GfxDevice: creating device client; threaded=0; jobified=0
 GfxDevice: creating device client; threaded=0; jobified=0
 Direct3D:
 Direct3D:
@@ -65,126 +67,187 @@ Direct3D:
     VRAM:     5996 MB
     VRAM:     5996 MB
     Driver:   31.0.15.5152
     Driver:   31.0.15.5152
 Initialize mono
 Initialize mono
-Mono path[0] = 'C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/Managed'
-Mono path[1] = 'C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/MonoBleedingEdge/lib/mono/unityjit-win32'
-Mono config path = 'C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/MonoBleedingEdge/etc'
-Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56972
+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:56184
 Begin MonoManager ReloadAssembly
 Begin MonoManager ReloadAssembly
 Registering precompiled unity dll's ...
 Registering precompiled unity dll's ...
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/WebGLSupport/UnityEditor.WebGL.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/AndroidPlayer/UnityEditor.Android.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/iOSSupport/UnityEditor.iOS.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/MetroSupport/UnityEditor.UWP.Extensions.dll
-Registered in 0.010455 seconds.
-Native extension for UWP target not found
+Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll
+Registered in 0.009651 seconds.
+- Loaded All Assemblies, in  0.451 seconds
 Native extension for WindowsStandalone target not found
 Native extension for WindowsStandalone target not found
-[usbmuxd] Start listen thread
-[usbmuxd] Listen thread started
-Native extension for iOS target not found
-Native extension for Android target not found
-Android Extension - Scanning For ADB Devices 473 ms
-Native extension for WebGL target not found
-Refreshing native plugins compatible for Editor in 100.48 ms, found 3 plugins.
-Preloading 0 native plugins for Editor in 0.00 ms.
 Mono: successfully reloaded assembly
 Mono: successfully reloaded assembly
-- Completed reload, in  1.207 seconds
-Domain Reload Profiling:
-	ReloadAssembly (1207ms)
-		BeginReloadAssembly (113ms)
-			ExecutionOrderSort (0ms)
-			DisableScriptedObjects (0ms)
-			BackupInstance (0ms)
-			ReleaseScriptingObjects (0ms)
-			CreateAndSetChildDomain (1ms)
-		EndReloadAssembly (995ms)
-			LoadAssemblies (110ms)
-			RebuildTransferFunctionScriptingTraits (0ms)
-			SetupTypeCache (106ms)
-			ReleaseScriptCaches (0ms)
-			RebuildScriptCaches (24ms)
-			SetupLoadedEditorAssemblies (825ms)
-				LogAssemblyErrors (0ms)
-				InitializePlatformSupportModulesInManaged (584ms)
-				SetLoadedEditorAssemblies (0ms)
-				RefreshPlugins (101ms)
-				BeforeProcessingInitializeOnLoad (1ms)
-				ProcessInitializeOnLoadAttributes (95ms)
-				ProcessInitializeOnLoadMethodAttributes (44ms)
-				AfterProcessingInitializeOnLoad (0ms)
-				EditorAssembliesLoaded (0ms)
-			ExecutionOrderSort2 (0ms)
-			AwakeInstancesAfterBackupRestoration (0ms)
-Platform modules already initialized, skipping
-Registering precompiled user dll's ...
-Registered in 0.003668 seconds.
+- Finished resetting the current domain, in  0.327 seconds
+Domain Reload Profiling: 777ms
+	BeginReloadAssembly (163ms)
+		ExecutionOrderSort (0ms)
+		DisableScriptedObjects (0ms)
+		BackupInstance (0ms)
+		ReleaseScriptingObjects (0ms)
+		CreateAndSetChildDomain (1ms)
+	RebuildCommonClasses (35ms)
+	RebuildNativeTypeToScriptingClass (11ms)
+	initialDomainReloadingComplete (68ms)
+	LoadAllAssembliesAndSetupDomain (172ms)
+		LoadAssemblies (159ms)
+		RebuildTransferFunctionScriptingTraits (0ms)
+		AnalyzeDomain (170ms)
+			TypeCache.Refresh (168ms)
+				TypeCache.ScanAssembly (150ms)
+			ScanForSourceGeneratedMonoScriptInfo (0ms)
+			ResolveRequiredComponents (1ms)
+	FinalizeReload (328ms)
+		ReleaseScriptCaches (0ms)
+		RebuildScriptCaches (0ms)
+		SetupLoadedEditorAssemblies (259ms)
+			LogAssemblyErrors (0ms)
+			InitializePlatformSupportModulesInManaged (11ms)
+			SetLoadedEditorAssemblies (8ms)
+			RefreshPlugins (0ms)
+			BeforeProcessingInitializeOnLoad (3ms)
+			ProcessInitializeOnLoadAttributes (181ms)
+			ProcessInitializeOnLoadMethodAttributes (56ms)
+			AfterProcessingInitializeOnLoad (0ms)
+			EditorAssembliesLoaded (0ms)
+		ExecutionOrderSort2 (0ms)
+		AwakeInstancesAfterBackupRestoration (0ms)
+========================================================================
+Worker process is ready to serve import requests
 Begin MonoManager ReloadAssembly
 Begin MonoManager ReloadAssembly
-Native extension for UWP target not found
+- Loaded All Assemblies, in  0.822 seconds
+Refreshing native plugins compatible for Editor in 2.50 ms, found 3 plugins.
 Native extension for WindowsStandalone target not found
 Native extension for WindowsStandalone target not found
-Native extension for iOS target not found
-Native extension for Android target not found
-Native extension for WebGL target not found
-Refreshing native plugins compatible for Editor in 0.60 ms, found 3 plugins.
-Preloading 0 native plugins for Editor in 0.00 ms.
 Package Manager log level set to [2]
 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] 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
 [Package Manager] Cannot connect to Unity Package Manager local server
 Mono: successfully reloaded assembly
 Mono: successfully reloaded assembly
-- Completed reload, in  1.502 seconds
-Domain Reload Profiling:
-	ReloadAssembly (1503ms)
-		BeginReloadAssembly (160ms)
-			ExecutionOrderSort (0ms)
-			DisableScriptedObjects (7ms)
-			BackupInstance (0ms)
-			ReleaseScriptingObjects (0ms)
-			CreateAndSetChildDomain (32ms)
-		EndReloadAssembly (1258ms)
-			LoadAssemblies (110ms)
-			RebuildTransferFunctionScriptingTraits (0ms)
-			SetupTypeCache (324ms)
-			ReleaseScriptCaches (1ms)
-			RebuildScriptCaches (67ms)
-			SetupLoadedEditorAssemblies (751ms)
-				LogAssemblyErrors (0ms)
-				InitializePlatformSupportModulesInManaged (39ms)
-				SetLoadedEditorAssemblies (0ms)
-				RefreshPlugins (1ms)
-				BeforeProcessingInitializeOnLoad (86ms)
-				ProcessInitializeOnLoadAttributes (596ms)
-				ProcessInitializeOnLoadMethodAttributes (20ms)
-				AfterProcessingInitializeOnLoad (8ms)
-				EditorAssembliesLoaded (0ms)
-			ExecutionOrderSort2 (0ms)
-			AwakeInstancesAfterBackupRestoration (6ms)
-Platform modules already initialized, skipping
-========================================================================
-Worker process is ready to serve import requests
+- Finished resetting the current domain, in  0.569 seconds
+Domain Reload Profiling: 1390ms
+	BeginReloadAssembly (188ms)
+		ExecutionOrderSort (0ms)
+		DisableScriptedObjects (6ms)
+		BackupInstance (0ms)
+		ReleaseScriptingObjects (0ms)
+		CreateAndSetChildDomain (35ms)
+	RebuildCommonClasses (38ms)
+	RebuildNativeTypeToScriptingClass (11ms)
+	initialDomainReloadingComplete (33ms)
+	LoadAllAssembliesAndSetupDomain (551ms)
+		LoadAssemblies (479ms)
+		RebuildTransferFunctionScriptingTraits (0ms)
+		AnalyzeDomain (181ms)
+			TypeCache.Refresh (159ms)
+				TypeCache.ScanAssembly (144ms)
+			ScanForSourceGeneratedMonoScriptInfo (15ms)
+			ResolveRequiredComponents (5ms)
+	FinalizeReload (569ms)
+		ReleaseScriptCaches (0ms)
+		RebuildScriptCaches (0ms)
+		SetupLoadedEditorAssemblies (425ms)
+			LogAssemblyErrors (0ms)
+			InitializePlatformSupportModulesInManaged (7ms)
+			SetLoadedEditorAssemblies (3ms)
+			RefreshPlugins (0ms)
+			BeforeProcessingInitializeOnLoad (69ms)
+			ProcessInitializeOnLoadAttributes (318ms)
+			ProcessInitializeOnLoadMethodAttributes (20ms)
+			AfterProcessingInitializeOnLoad (8ms)
+			EditorAssembliesLoaded (0ms)
+		ExecutionOrderSort2 (0ms)
+		AwakeInstancesAfterBackupRestoration (7ms)
 Launched and connected shader compiler UnityShaderCompiler.exe after 0.06 seconds
 Launched and connected shader compiler UnityShaderCompiler.exe after 0.06 seconds
-Refreshing native plugins compatible for Editor in 0.70 ms, found 3 plugins.
+Refreshing native plugins compatible for Editor in 2.22 ms, found 3 plugins.
 Preloading 0 native plugins for Editor in 0.00 ms.
 Preloading 0 native plugins for Editor in 0.00 ms.
-Unloading 3135 Unused Serialized files (Serialized files now loaded: 0)
-Unloading 25 unused Assets / (46.4 KB). Loaded Objects now: 3597.
-Memory consumption went from 114.5 MB to 114.4 MB.
-Total: 2.707900 ms (FindLiveObjects: 0.256500 ms CreateObjectMapping: 0.093300 ms MarkObjects: 2.287000 ms  DeleteObjects: 0.070200 ms)
+Unloading 3204 Unused Serialized files (Serialized files now loaded: 0)
+Unloading 36 unused Assets / (58.6 KB). Loaded Objects now: 3663.
+Memory consumption went from 122.2 MB to 122.2 MB.
+Total: 3.296800 ms (FindLiveObjects: 0.520500 ms CreateObjectMapping: 0.127000 ms MarkObjects: 2.529100 ms  DeleteObjects: 0.118800 ms)
 
 
 AssetImportParameters requested are different than current active one (requested -> active):
 AssetImportParameters requested are different than current active one (requested -> active):
+  custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 
   custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 
   custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 
-  custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 
+  custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 -> 
+  custom:CustomObjectIndexerAttribute: 9a22284fe3817be447336de3de66b15e -> 
   custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 
   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:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 -> 
-  custom:CustomObjectIndexerAttribute: bc11b3a6c3213fcdd17b65e7da85e133 -> 
+  custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
   custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
   custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
-  custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 -> 
-  custom:SearchIndexIgnoredProperties: e643bd26f0fe6173181afceb89e7c659 -> 
+========================================================================
+Received Prepare
+Begin MonoManager ReloadAssembly
+- Loaded All Assemblies, in  0.404 seconds
+Refreshing native plugins compatible for Editor in 2.10 ms, found 3 plugins.
+Native extension for WindowsStandalone 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.756 seconds
+Domain Reload Profiling: 1159ms
+	BeginReloadAssembly (143ms)
+		ExecutionOrderSort (0ms)
+		DisableScriptedObjects (5ms)
+		BackupInstance (0ms)
+		ReleaseScriptingObjects (0ms)
+		CreateAndSetChildDomain (35ms)
+	RebuildCommonClasses (28ms)
+	RebuildNativeTypeToScriptingClass (9ms)
+	initialDomainReloadingComplete (27ms)
+	LoadAllAssembliesAndSetupDomain (195ms)
+		LoadAssemblies (256ms)
+		RebuildTransferFunctionScriptingTraits (0ms)
+		AnalyzeDomain (13ms)
+			TypeCache.Refresh (6ms)
+				TypeCache.ScanAssembly (0ms)
+			ScanForSourceGeneratedMonoScriptInfo (0ms)
+			ResolveRequiredComponents (5ms)
+	FinalizeReload (757ms)
+		ReleaseScriptCaches (0ms)
+		RebuildScriptCaches (0ms)
+		SetupLoadedEditorAssemblies (390ms)
+			LogAssemblyErrors (0ms)
+			InitializePlatformSupportModulesInManaged (7ms)
+			SetLoadedEditorAssemblies (4ms)
+			RefreshPlugins (0ms)
+			BeforeProcessingInitializeOnLoad (60ms)
+			ProcessInitializeOnLoadAttributes (292ms)
+			ProcessInitializeOnLoadMethodAttributes (21ms)
+			AfterProcessingInitializeOnLoad (7ms)
+			EditorAssembliesLoaded (0ms)
+		ExecutionOrderSort2 (0ms)
+		AwakeInstancesAfterBackupRestoration (12ms)
+Refreshing native plugins compatible for Editor in 2.72 ms, found 3 plugins.
+Preloading 0 native plugins for Editor in 0.00 ms.
+Unloading 3196 Unused Serialized files (Serialized files now loaded: 0)
+Unloading 27 unused Assets / (32.7 KB). Loaded Objects now: 3666.
+Memory consumption went from 121.0 MB to 121.0 MB.
+Total: 3.654500 ms (FindLiveObjects: 0.318500 ms CreateObjectMapping: 0.218400 ms MarkObjects: 3.060500 ms  DeleteObjects: 0.055600 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: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: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-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
+  custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
 ========================================================================
 ========================================================================
 Received Import Request.
 Received Import Request.
-  Time since last request: 1189762.657745 seconds.
-  path: Assets/Examples/021_MVC/Scripts/View.cs
-  artifactKey: Guid(e594a22bcba63bc4abf596b718739578) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
-Number of updated assets reloaded before import = 0
-Start importing Assets/Examples/021_MVC/Scripts/View.cs using Guid(e594a22bcba63bc4abf596b718739578) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: '39e860fb0a079c01b5845eb44a882c66') in 0.040493 seconds 
+  Time since last request: 318369.309721 seconds.
+  path: Assets/Examples/022_UGUIGray/Scenes/Example.unity
+  artifactKey: Guid(1c2973ca003dff24da40d47b30a13924) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
+Start importing Assets/Examples/022_UGUIGray/Scenes/Example.unity using Guid(1c2973ca003dff24da40d47b30a13924) Importer(815301076,1909f56bfc062723c751e8b465ee728b)  -> (artifact id: 'c6f6de9afd26a6e321f6512f27435791') in 0.003634 seconds
+Number of updated asset objects reloaded before import = 0
 Number of asset objects unloaded after import = 0
 Number of asset objects unloaded after import = 0

+ 105 - 107
ToneTuneToolkit/Logs/AssetImportWorker1.log

@@ -1,10 +1,10 @@
 Using pre-set license
 Using pre-set license
-Built from '2021.3/staging' branch; Version is '2021.3.33f1 (ee5a2aa03ab2) revision 15620650'; Using compiler version '192829333'; Build Type 'Release'
+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
 OS: 'Windows 10  (10.0.19045) 64bit Professional' Language: 'zh' Physical Memory: 15773 MB
 BatchMode: 1, IsHumanControllingUs: 0, StartBugReporterOnCrash: 0, Is64bit: 1, IsPro: 1
 BatchMode: 1, IsHumanControllingUs: 0, StartBugReporterOnCrash: 0, Is64bit: 1, IsPro: 1
 
 
 COMMAND LINE ARGUMENTS:
 COMMAND LINE ARGUMENTS:
-C:\Workflow\Software\Unity\Editor\2021.3.33f1\Editor\Unity.exe
+C:\Workflow\Software\Unity\Editor\2022.3.30f1\Editor\Unity.exe
 -adb2
 -adb2
 -batchMode
 -batchMode
 -noUpm
 -noUpm
@@ -15,7 +15,7 @@ D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 -logFile
 -logFile
 Logs/AssetImportWorker1.log
 Logs/AssetImportWorker1.log
 -srvPort
 -srvPort
-2051
+14889
 Successfully changed project path to: D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 Successfully changed project path to: D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
 [UnityMemory] Configuration Parameters - Can be set up in boot.config
 [UnityMemory] Configuration Parameters - Can be set up in boot.config
@@ -39,6 +39,8 @@ D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
     "memorysetup-job-temp-allocator-block-size=2097152"
     "memorysetup-job-temp-allocator-block-size=2097152"
     "memorysetup-job-temp-allocator-block-size-background=1048576"
     "memorysetup-job-temp-allocator-block-size-background=1048576"
     "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
     "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-background-worker=32768"
     "memorysetup-temp-allocator-size-job-worker=262144"
     "memorysetup-temp-allocator-size-job-worker=262144"
     "memorysetup-temp-allocator-size-preload-manager=33554432"
     "memorysetup-temp-allocator-size-preload-manager=33554432"
@@ -47,15 +49,15 @@ D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit
     "memorysetup-temp-allocator-size-cloud-worker=32768"
     "memorysetup-temp-allocator-size-cloud-worker=32768"
     "memorysetup-temp-allocator-size-gi-baking-worker=262144"
     "memorysetup-temp-allocator-size-gi-baking-worker=262144"
     "memorysetup-temp-allocator-size-gfx=262144"
     "memorysetup-temp-allocator-size-gfx=262144"
-Player connection [3708] Host "[IP] 172.24.224.1 [Port] 0 [Flags] 2 [Guid] 2965898189 [EditorId] 2965898189 [Version] 1048832 [Id] WindowsEditor(7,Capsule-UNITY) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined multi-casting on [225.0.0.222:54997]...
+Player connection [29332] Host "[IP] 172.26.208.1 [Port] 0 [Flags] 2 [Guid] 4117711309 [EditorId] 4117711309 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Unity) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined multi-casting on [225.0.0.222:54997]...
 
 
-Player connection [3708] Host "[IP] 172.24.224.1 [Port] 0 [Flags] 2 [Guid] 2965898189 [EditorId] 2965898189 [Version] 1048832 [Id] WindowsEditor(7,Capsule-UNITY) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined alternative multi-casting on [225.0.0.222:34997]...
+Player connection [29332] Host "[IP] 172.26.208.1 [Port] 0 [Flags] 2 [Guid] 4117711309 [EditorId] 4117711309 [Version] 1048832 [Id] WindowsEditor(7,Capsule-Unity) [Debug] 1 [PackageName] WindowsEditor [ProjectName] Editor" joined alternative multi-casting on [225.0.0.222:34997]...
 
 
-[Physics::Module] Initialized MultithreadedJobDispatcher with {0} workers.
-Refreshing native plugins compatible for Editor in 174.10 ms, found 3 plugins.
+[Physics::Module] Initialized MultithreadedJobDispatcher with 15 workers.
+Refreshing native plugins compatible for Editor in 6.27 ms, found 3 plugins.
 Preloading 0 native plugins for Editor in 0.00 ms.
 Preloading 0 native plugins for Editor in 0.00 ms.
-Initialize engine version: 2021.3.33f1 (ee5a2aa03ab2)
-[Subsystems] Discovering subsystems at path C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/Resources/UnitySubsystems
+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
 [Subsystems] Discovering subsystems at path D:/Workflow/Project/Unity/ToneTuneToolkit/ToneTuneToolkit/Assets
 GfxDevice: creating device client; threaded=0; jobified=0
 GfxDevice: creating device client; threaded=0; jobified=0
 Direct3D:
 Direct3D:
@@ -65,118 +67,114 @@ Direct3D:
     VRAM:     5996 MB
     VRAM:     5996 MB
     Driver:   31.0.15.5152
     Driver:   31.0.15.5152
 Initialize mono
 Initialize mono
-Mono path[0] = 'C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/Managed'
-Mono path[1] = 'C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/MonoBleedingEdge/lib/mono/unityjit-win32'
-Mono config path = 'C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/MonoBleedingEdge/etc'
-Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56516
+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:56708
 Begin MonoManager ReloadAssembly
 Begin MonoManager ReloadAssembly
 Registering precompiled unity dll's ...
 Registering precompiled unity dll's ...
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/WebGLSupport/UnityEditor.WebGL.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/AndroidPlayer/UnityEditor.Android.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/iOSSupport/UnityEditor.iOS.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll
-Register platform support module: C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines/MetroSupport/UnityEditor.UWP.Extensions.dll
-Registered in 0.013124 seconds.
-Native extension for UWP target not found
+Register platform support module: C:/Workflow/Software/Unity/Editor/2022.3.30f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll
+Registered in 0.008382 seconds.
+- Loaded All Assemblies, in  0.405 seconds
 Native extension for WindowsStandalone target not found
 Native extension for WindowsStandalone target not found
-[usbmuxd] Start listen thread
-[usbmuxd] Listen thread started
-Native extension for iOS target not found
-Native extension for Android target not found
-Android Extension - Scanning For ADB Devices 448 ms
-Native extension for WebGL target not found
-Refreshing native plugins compatible for Editor in 98.28 ms, found 3 plugins.
-Preloading 0 native plugins for Editor in 0.00 ms.
 Mono: successfully reloaded assembly
 Mono: successfully reloaded assembly
-- Completed reload, in  1.312 seconds
-Domain Reload Profiling:
-	ReloadAssembly (1313ms)
-		BeginReloadAssembly (106ms)
-			ExecutionOrderSort (0ms)
-			DisableScriptedObjects (0ms)
-			BackupInstance (0ms)
-			ReleaseScriptingObjects (0ms)
-			CreateAndSetChildDomain (1ms)
-		EndReloadAssembly (1070ms)
-			LoadAssemblies (106ms)
-			RebuildTransferFunctionScriptingTraits (0ms)
-			SetupTypeCache (127ms)
-			ReleaseScriptCaches (0ms)
-			RebuildScriptCaches (30ms)
-			SetupLoadedEditorAssemblies (866ms)
-				LogAssemblyErrors (0ms)
-				InitializePlatformSupportModulesInManaged (570ms)
-				SetLoadedEditorAssemblies (0ms)
-				RefreshPlugins (98ms)
-				BeforeProcessingInitializeOnLoad (2ms)
-				ProcessInitializeOnLoadAttributes (147ms)
-				ProcessInitializeOnLoadMethodAttributes (48ms)
-				AfterProcessingInitializeOnLoad (0ms)
-				EditorAssembliesLoaded (0ms)
-			ExecutionOrderSort2 (0ms)
-			AwakeInstancesAfterBackupRestoration (0ms)
-Platform modules already initialized, skipping
-Registering precompiled user dll's ...
-Registered in 0.003935 seconds.
+- Finished resetting the current domain, in  0.329 seconds
+Domain Reload Profiling: 733ms
+	BeginReloadAssembly (129ms)
+		ExecutionOrderSort (0ms)
+		DisableScriptedObjects (0ms)
+		BackupInstance (0ms)
+		ReleaseScriptingObjects (0ms)
+		CreateAndSetChildDomain (1ms)
+	RebuildCommonClasses (43ms)
+	RebuildNativeTypeToScriptingClass (10ms)
+	initialDomainReloadingComplete (68ms)
+	LoadAllAssembliesAndSetupDomain (152ms)
+		LoadAssemblies (127ms)
+		RebuildTransferFunctionScriptingTraits (0ms)
+		AnalyzeDomain (150ms)
+			TypeCache.Refresh (148ms)
+				TypeCache.ScanAssembly (133ms)
+			ScanForSourceGeneratedMonoScriptInfo (0ms)
+			ResolveRequiredComponents (1ms)
+	FinalizeReload (330ms)
+		ReleaseScriptCaches (0ms)
+		RebuildScriptCaches (0ms)
+		SetupLoadedEditorAssemblies (262ms)
+			LogAssemblyErrors (0ms)
+			InitializePlatformSupportModulesInManaged (10ms)
+			SetLoadedEditorAssemblies (9ms)
+			RefreshPlugins (0ms)
+			BeforeProcessingInitializeOnLoad (3ms)
+			ProcessInitializeOnLoadAttributes (179ms)
+			ProcessInitializeOnLoadMethodAttributes (61ms)
+			AfterProcessingInitializeOnLoad (0ms)
+			EditorAssembliesLoaded (0ms)
+		ExecutionOrderSort2 (0ms)
+		AwakeInstancesAfterBackupRestoration (0ms)
+========================================================================
+Worker process is ready to serve import requests
 Begin MonoManager ReloadAssembly
 Begin MonoManager ReloadAssembly
-Native extension for UWP target not found
+- Loaded All Assemblies, in  0.777 seconds
+Refreshing native plugins compatible for Editor in 2.54 ms, found 3 plugins.
 Native extension for WindowsStandalone target not found
 Native extension for WindowsStandalone target not found
-Native extension for iOS target not found
-Native extension for Android target not found
-Native extension for WebGL target not found
-Refreshing native plugins compatible for Editor in 0.59 ms, found 3 plugins.
-Preloading 0 native plugins for Editor in 0.00 ms.
 Package Manager log level set to [2]
 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] 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
 [Package Manager] Cannot connect to Unity Package Manager local server
 Mono: successfully reloaded assembly
 Mono: successfully reloaded assembly
-- Completed reload, in  1.337 seconds
-Domain Reload Profiling:
-	ReloadAssembly (1338ms)
-		BeginReloadAssembly (132ms)
-			ExecutionOrderSort (0ms)
-			DisableScriptedObjects (5ms)
-			BackupInstance (0ms)
-			ReleaseScriptingObjects (0ms)
-			CreateAndSetChildDomain (21ms)
-		EndReloadAssembly (1117ms)
-			LoadAssemblies (97ms)
-			RebuildTransferFunctionScriptingTraits (0ms)
-			SetupTypeCache (246ms)
-			ReleaseScriptCaches (1ms)
-			RebuildScriptCaches (62ms)
-			SetupLoadedEditorAssemblies (699ms)
-				LogAssemblyErrors (0ms)
-				InitializePlatformSupportModulesInManaged (31ms)
-				SetLoadedEditorAssemblies (0ms)
-				RefreshPlugins (1ms)
-				BeforeProcessingInitializeOnLoad (77ms)
-				ProcessInitializeOnLoadAttributes (565ms)
-				ProcessInitializeOnLoadMethodAttributes (19ms)
-				AfterProcessingInitializeOnLoad (6ms)
-				EditorAssembliesLoaded (0ms)
-			ExecutionOrderSort2 (0ms)
-			AwakeInstancesAfterBackupRestoration (6ms)
-Platform modules already initialized, skipping
-========================================================================
-Worker process is ready to serve import requests
-Launched and connected shader compiler UnityShaderCompiler.exe after 0.05 seconds
-Refreshing native plugins compatible for Editor in 1.38 ms, found 3 plugins.
+- Finished resetting the current domain, in  0.656 seconds
+Domain Reload Profiling: 1432ms
+	BeginReloadAssembly (192ms)
+		ExecutionOrderSort (0ms)
+		DisableScriptedObjects (6ms)
+		BackupInstance (0ms)
+		ReleaseScriptingObjects (0ms)
+		CreateAndSetChildDomain (36ms)
+	RebuildCommonClasses (40ms)
+	RebuildNativeTypeToScriptingClass (10ms)
+	initialDomainReloadingComplete (36ms)
+	LoadAllAssembliesAndSetupDomain (499ms)
+		LoadAssemblies (388ms)
+		RebuildTransferFunctionScriptingTraits (0ms)
+		AnalyzeDomain (214ms)
+			TypeCache.Refresh (187ms)
+				TypeCache.ScanAssembly (167ms)
+			ScanForSourceGeneratedMonoScriptInfo (19ms)
+			ResolveRequiredComponents (5ms)
+	FinalizeReload (656ms)
+		ReleaseScriptCaches (0ms)
+		RebuildScriptCaches (0ms)
+		SetupLoadedEditorAssemblies (490ms)
+			LogAssemblyErrors (0ms)
+			InitializePlatformSupportModulesInManaged (6ms)
+			SetLoadedEditorAssemblies (3ms)
+			RefreshPlugins (0ms)
+			BeforeProcessingInitializeOnLoad (80ms)
+			ProcessInitializeOnLoadAttributes (363ms)
+			ProcessInitializeOnLoadMethodAttributes (27ms)
+			AfterProcessingInitializeOnLoad (11ms)
+			EditorAssembliesLoaded (0ms)
+		ExecutionOrderSort2 (0ms)
+		AwakeInstancesAfterBackupRestoration (7ms)
+Launched and connected shader compiler UnityShaderCompiler.exe after 0.06 seconds
+Refreshing native plugins compatible for Editor in 2.57 ms, found 3 plugins.
 Preloading 0 native plugins for Editor in 0.00 ms.
 Preloading 0 native plugins for Editor in 0.00 ms.
-Unloading 3135 Unused Serialized files (Serialized files now loaded: 0)
-Unloading 25 unused Assets / (46.4 KB). Loaded Objects now: 3597.
-Memory consumption went from 114.6 MB to 114.5 MB.
-Total: 2.597100 ms (FindLiveObjects: 0.227300 ms CreateObjectMapping: 0.097100 ms MarkObjects: 2.209400 ms  DeleteObjects: 0.062600 ms)
+Unloading 3204 Unused Serialized files (Serialized files now loaded: 0)
+Unloading 36 unused Assets / (58.7 KB). Loaded Objects now: 3663.
+Memory consumption went from 122.2 MB to 122.2 MB.
+Total: 4.985300 ms (FindLiveObjects: 0.393800 ms CreateObjectMapping: 0.407600 ms MarkObjects: 4.052800 ms  DeleteObjects: 0.129800 ms)
 
 
 AssetImportParameters requested are different than current active one (requested -> active):
 AssetImportParameters requested are different than current active one (requested -> active):
+  custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 
   custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 
   custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc -> 
-  custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 
-  custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 
-  custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 -> 
-  custom:CustomObjectIndexerAttribute: bc11b3a6c3213fcdd17b65e7da85e133 -> 
-  custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
   custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 -> 
   custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 -> 
-  custom:SearchIndexIgnoredProperties: e643bd26f0fe6173181afceb89e7c659 -> 
-  custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> 
+  custom:CustomObjectIndexerAttribute: 9a22284fe3817be447336de3de66b15e -> 
+  custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 -> 
+  custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b -> 
   custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 -> 
   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-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 
+  custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> 

+ 13 - 0
ToneTuneToolkit/Logs/Packages-Update.log

@@ -11,3 +11,16 @@ The following packages were updated:
   com.unity.2d.psdimporter from version 6.0.7 to 8.0.2
   com.unity.2d.psdimporter from version 6.0.7 to 8.0.2
   com.unity.2d.spriteshape from version 7.0.7 to 9.0.2
   com.unity.2d.spriteshape from version 7.0.7 to 9.0.2
   com.unity.timeline from version 1.6.5 to 1.7.6
   com.unity.timeline from version 1.6.5 to 1.7.6
+
+=== Mon May 27 10:31:08 2024
+
+Packages were changed.
+Update Mode: updateDependencies
+
+The following packages were added:
+  com.unity.ai.navigation@1.1.5
+The following packages were updated:
+  com.unity.collab-proxy from version 2.2.0 to 2.3.1
+  com.unity.ide.rider from version 3.0.27 to 3.0.28
+  com.unity.timeline from version 1.6.5 to 1.7.6
+  com.unity.visualscripting from version 1.9.1 to 1.9.4

+ 2 - 2
ToneTuneToolkit/Logs/shadercompiler-AssetImportWorker0.log

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

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

@@ -1,4 +1,4 @@
-Base path: 'C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data', plugins path 'C:/Workflow/Software/Unity/Editor/2021.3.33f1/Editor/Data/PlaybackEngines'
+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: initializeCompiler
 
 
 Cmd: shutdown
 Cmd: shutdown

+ 6 - 5
ToneTuneToolkit/Packages/manifest.json

@@ -1,15 +1,16 @@
 {
 {
   "dependencies": {
   "dependencies": {
-    "com.unity.collab-proxy": "2.2.0",
+    "com.unity.ai.navigation": "1.1.5",
+    "com.unity.collab-proxy": "2.3.1",
     "com.unity.feature.development": "1.0.1",
     "com.unity.feature.development": "1.0.1",
-    "com.unity.ide.rider": "3.0.27",
+    "com.unity.ide.rider": "3.0.28",
     "com.unity.ide.visualstudio": "2.0.22",
     "com.unity.ide.visualstudio": "2.0.22",
     "com.unity.ide.vscode": "1.2.5",
     "com.unity.ide.vscode": "1.2.5",
     "com.unity.test-framework": "1.1.33",
     "com.unity.test-framework": "1.1.33",
-    "com.unity.textmeshpro": "3.0.8",
-    "com.unity.timeline": "1.6.5",
+    "com.unity.textmeshpro": "3.0.9",
+    "com.unity.timeline": "1.7.6",
     "com.unity.ugui": "1.0.0",
     "com.unity.ugui": "1.0.0",
-    "com.unity.visualscripting": "1.9.1",
+    "com.unity.visualscripting": "1.9.4",
     "com.unity.modules.ai": "1.0.0",
     "com.unity.modules.ai": "1.0.0",
     "com.unity.modules.androidjni": "1.0.0",
     "com.unity.modules.androidjni": "1.0.0",
     "com.unity.modules.animation": "1.0.0",
     "com.unity.modules.animation": "1.0.0",

+ 18 - 20
ToneTuneToolkit/Packages/packages-lock.json

@@ -1,7 +1,16 @@
 {
 {
   "dependencies": {
   "dependencies": {
+    "com.unity.ai.navigation": {
+      "version": "1.1.5",
+      "depth": 0,
+      "source": "registry",
+      "dependencies": {
+        "com.unity.modules.ai": "1.0.0"
+      },
+      "url": "https://packages.unity.com"
+    },
     "com.unity.collab-proxy": {
     "com.unity.collab-proxy": {
-      "version": "2.2.0",
+      "version": "2.3.1",
       "depth": 0,
       "depth": 0,
       "source": "registry",
       "source": "registry",
       "dependencies": {},
       "dependencies": {},
@@ -27,16 +36,16 @@
       "source": "builtin",
       "source": "builtin",
       "dependencies": {
       "dependencies": {
         "com.unity.ide.visualstudio": "2.0.22",
         "com.unity.ide.visualstudio": "2.0.22",
-        "com.unity.ide.rider": "3.0.26",
+        "com.unity.ide.rider": "3.0.28",
         "com.unity.ide.vscode": "1.2.5",
         "com.unity.ide.vscode": "1.2.5",
         "com.unity.editorcoroutines": "1.0.0",
         "com.unity.editorcoroutines": "1.0.0",
         "com.unity.performance.profile-analyzer": "1.2.2",
         "com.unity.performance.profile-analyzer": "1.2.2",
         "com.unity.test-framework": "1.1.33",
         "com.unity.test-framework": "1.1.33",
-        "com.unity.testtools.codecoverage": "1.2.4"
+        "com.unity.testtools.codecoverage": "1.2.5"
       }
       }
     },
     },
     "com.unity.ide.rider": {
     "com.unity.ide.rider": {
-      "version": "3.0.27",
+      "version": "3.0.28",
       "depth": 0,
       "depth": 0,
       "source": "registry",
       "source": "registry",
       "dependencies": {
       "dependencies": {
@@ -68,7 +77,7 @@
       "url": "https://packages.unity.com"
       "url": "https://packages.unity.com"
     },
     },
     "com.unity.settings-manager": {
     "com.unity.settings-manager": {
-      "version": "1.0.3",
+      "version": "2.0.1",
       "depth": 2,
       "depth": 2,
       "source": "registry",
       "source": "registry",
       "dependencies": {},
       "dependencies": {},
@@ -86,7 +95,7 @@
       "url": "https://packages.unity.com"
       "url": "https://packages.unity.com"
     },
     },
     "com.unity.testtools.codecoverage": {
     "com.unity.testtools.codecoverage": {
-      "version": "1.2.4",
+      "version": "1.2.5",
       "depth": 1,
       "depth": 1,
       "source": "registry",
       "source": "registry",
       "dependencies": {
       "dependencies": {
@@ -96,7 +105,7 @@
       "url": "https://packages.unity.com"
       "url": "https://packages.unity.com"
     },
     },
     "com.unity.textmeshpro": {
     "com.unity.textmeshpro": {
-      "version": "3.0.8",
+      "version": "3.0.9",
       "depth": 0,
       "depth": 0,
       "source": "registry",
       "source": "registry",
       "dependencies": {
       "dependencies": {
@@ -105,7 +114,7 @@
       "url": "https://packages.unity.com"
       "url": "https://packages.unity.com"
     },
     },
     "com.unity.timeline": {
     "com.unity.timeline": {
-      "version": "1.6.5",
+      "version": "1.7.6",
       "depth": 0,
       "depth": 0,
       "source": "registry",
       "source": "registry",
       "dependencies": {
       "dependencies": {
@@ -126,7 +135,7 @@
       }
       }
     },
     },
     "com.unity.visualscripting": {
     "com.unity.visualscripting": {
-      "version": "1.9.1",
+      "version": "1.9.4",
       "depth": 0,
       "depth": 0,
       "source": "registry",
       "source": "registry",
       "dependencies": {
       "dependencies": {
@@ -267,17 +276,6 @@
       "version": "1.0.0",
       "version": "1.0.0",
       "depth": 0,
       "depth": 0,
       "source": "builtin",
       "source": "builtin",
-      "dependencies": {
-        "com.unity.modules.ui": "1.0.0",
-        "com.unity.modules.imgui": "1.0.0",
-        "com.unity.modules.jsonserialize": "1.0.0",
-        "com.unity.modules.uielementsnative": "1.0.0"
-      }
-    },
-    "com.unity.modules.uielementsnative": {
-      "version": "1.0.0",
-      "depth": 1,
-      "source": "builtin",
       "dependencies": {
       "dependencies": {
         "com.unity.modules.ui": "1.0.0",
         "com.unity.modules.ui": "1.0.0",
         "com.unity.modules.imgui": "1.0.0",
         "com.unity.modules.imgui": "1.0.0",

+ 4 - 1
ToneTuneToolkit/ProjectSettings/EditorBuildSettings.asset

@@ -4,5 +4,8 @@
 EditorBuildSettings:
 EditorBuildSettings:
   m_ObjectHideFlags: 0
   m_ObjectHideFlags: 0
   serializedVersion: 2
   serializedVersion: 2
-  m_Scenes: []
+  m_Scenes:
+  - enabled: 1
+    path: Assets/_Dev/New Scene.unity
+    guid: e320c0c8ca2716d41881b51366aa9f20
   m_configObjects: {}
   m_configObjects: {}

+ 0 - 2
ToneTuneToolkit/ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json

@@ -1,6 +1,4 @@
 {
 {
-    "m_Name": "Settings",
-    "m_Path": "ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json",
     "m_Dictionary": {
     "m_Dictionary": {
         "m_DictionaryValues": []
         "m_DictionaryValues": []
     }
     }

+ 2 - 2
ToneTuneToolkit/ProjectSettings/ProjectVersion.txt

@@ -1,2 +1,2 @@
-m_EditorVersion: 2021.3.33f1
-m_EditorVersionWithRevision: 2021.3.33f1 (ee5a2aa03ab2)
+m_EditorVersion: 2022.3.30f1
+m_EditorVersionWithRevision: 2022.3.30f1 (70558241b701)

+ 0 - 0
ToneTuneToolkit/ProjectSettings/boot.config


+ 9 - 9
ToneTuneToolkit/UserSettings/EditorUserSettings.asset

@@ -9,31 +9,31 @@ EditorUserSettings:
       value: 515250075c0c595e5f5a5e71122159444e4e4a2f7a7d7f602f284d66b4b76661
       value: 515250075c0c595e5f5a5e71122159444e4e4a2f7a7d7f602f284d66b4b76661
       flags: 0
       flags: 0
     RecentlyUsedSceneGuid-1:
     RecentlyUsedSceneGuid-1:
-      value: 5252065f52060a5a5d5e5f2616250d4412164c7a287c71327e791c62b1b9666c
+      value: 5104515606010b5d5956587640750e4412154a78287a77342e784e66b1b26461
       flags: 0
       flags: 0
     RecentlyUsedSceneGuid-2:
     RecentlyUsedSceneGuid-2:
-      value: 0050565201005f0a0e565520477b5b44434f41292f2d70357c2d4a66b3b2353e
+      value: 570900525605510d0e0c0e2644265d444e4e4b2e7e7e7e6479281b31b3b1663c
       flags: 0
       flags: 0
     RecentlyUsedSceneGuid-3:
     RecentlyUsedSceneGuid-3:
-      value: 5104515606010b5d5956587640750e4412154a78287a77342e784e66b1b26461
+      value: 52550c055c01590e55595e7049210744414e1b2b782b236179714d36e6b16239
       flags: 0
       flags: 0
     RecentlyUsedSceneGuid-4:
     RecentlyUsedSceneGuid-4:
-      value: 570900525605510d0e0c0e2644265d444e4e4b2e7e7e7e6479281b31b3b1663c
+      value: 000801035602080b085b0f2646765b44131549732e70203578704e6ae6e5623a
       flags: 0
       flags: 0
     RecentlyUsedSceneGuid-5:
     RecentlyUsedSceneGuid-5:
-      value: 52550c055c01590e55595e7049210744414e1b2b782b236179714d36e6b16239
+      value: 52060755060c595f58080971447a0644424f4d727a7d27327d7f4c30e3b33561
       flags: 0
       flags: 0
     RecentlyUsedSceneGuid-6:
     RecentlyUsedSceneGuid-6:
-      value: 000801035602080b085b0f2646765b44131549732e70203578704e6ae6e5623a
+      value: 0602005750065f090f0d5a24137a5d44134e407c2d2b27312e7a4565e0e2633e
       flags: 0
       flags: 0
     RecentlyUsedSceneGuid-7:
     RecentlyUsedSceneGuid-7:
-      value: 52060755060c595f58080971447a0644424f4d727a7d27327d7f4c30e3b33561
+      value: 0602065606050a030e0f5e7541755b44474f407b2e7d77637b7f1c32bbe66668
       flags: 0
       flags: 0
     RecentlyUsedSceneGuid-8:
     RecentlyUsedSceneGuid-8:
-      value: 0602005750065f090f0d5a24137a5d44134e407c2d2b27312e7a4565e0e2633e
+      value: 0050565201005f0a0e565520477b5b44434f41292f2d70357c2d4a66b3b2353e
       flags: 0
       flags: 0
     RecentlyUsedSceneGuid-9:
     RecentlyUsedSceneGuid-9:
-      value: 0602065606050a030e0f5e7541755b44474f407b2e7d77637b7f1c32bbe66668
+      value: 5252065f52060a5a5d5e5f2616250d4412164c7a287c71327e791c62b1b9666c
       flags: 0
       flags: 0
     RecentlyUsedScenePath-0:
     RecentlyUsedScenePath-0:
       value: 224247031146466f02000916052d5a2419181421253c691428241220add71b14a2d437e4f7363a722c0ce6281d
       value: 224247031146466f02000916052d5a2419181421253c691428241220add71b14a2d437e4f7363a722c0ce6281d

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

@@ -41,7 +41,7 @@ MonoBehaviour:
     serializedVersion: 2
     serializedVersion: 2
     x: 0
     x: 0
     y: 0
     y: 0
-    width: 744.8
+    width: 808.8
     height: 1018.80005
     height: 1018.80005
   m_MinSize: {x: 201, y: 221}
   m_MinSize: {x: 201, y: 221}
   m_MaxSize: {x: 4001, y: 4021}
   m_MaxSize: {x: 4001, y: 4021}
@@ -69,7 +69,7 @@ MonoBehaviour:
     serializedVersion: 2
     serializedVersion: 2
     x: 0
     x: 0
     y: 0
     y: 0
-    width: 1530.4
+    width: 1305.6
     height: 1018.80005
     height: 1018.80005
   m_MinSize: {x: 200, y: 50}
   m_MinSize: {x: 200, y: 50}
   m_MaxSize: {x: 16192, y: 8096}
   m_MaxSize: {x: 16192, y: 8096}
@@ -150,7 +150,7 @@ MonoBehaviour:
   m_MinSize: {x: 400, y: 100}
   m_MinSize: {x: 400, y: 100}
   m_MaxSize: {x: 32384, y: 16192}
   m_MaxSize: {x: 32384, y: 16192}
   vertical: 0
   vertical: 0
-  controlID: 124
+  controlID: 115
 --- !u!114 &7
 --- !u!114 &7
 MonoBehaviour:
 MonoBehaviour:
   m_ObjectHideFlags: 52
   m_ObjectHideFlags: 52
@@ -187,9 +187,9 @@ MonoBehaviour:
   m_Children: []
   m_Children: []
   m_Position:
   m_Position:
     serializedVersion: 2
     serializedVersion: 2
-    x: 744.8
+    x: 808.8
     y: 0
     y: 0
-    width: 785.60004
+    width: 496.8
     height: 1018.80005
     height: 1018.80005
   m_MinSize: {x: 202, y: 221}
   m_MinSize: {x: 202, y: 221}
   m_MaxSize: {x: 4002, y: 4021}
   m_MaxSize: {x: 4002, y: 4021}
@@ -215,14 +215,14 @@ MonoBehaviour:
   - {fileID: 12}
   - {fileID: 12}
   m_Position:
   m_Position:
     serializedVersion: 2
     serializedVersion: 2
-    x: 1530.4
+    x: 1305.6
     y: 0
     y: 0
-    width: 554.4
+    width: 723.2001
     height: 1018.80005
     height: 1018.80005
   m_MinSize: {x: 100, y: 100}
   m_MinSize: {x: 100, y: 100}
   m_MaxSize: {x: 8096, y: 16192}
   m_MaxSize: {x: 8096, y: 16192}
   vertical: 1
   vertical: 1
-  controlID: 50
+  controlID: 69
 --- !u!114 &10
 --- !u!114 &10
 MonoBehaviour:
 MonoBehaviour:
   m_ObjectHideFlags: 52
   m_ObjectHideFlags: 52
@@ -238,9 +238,9 @@ MonoBehaviour:
   m_Children: []
   m_Children: []
   m_Position:
   m_Position:
     serializedVersion: 2
     serializedVersion: 2
-    x: 2084.8
+    x: 2028.8
     y: 0
     y: 0
-    width: 667.19995
+    width: 723.19995
     height: 1018.80005
     height: 1018.80005
   m_MinSize: {x: 276, y: 71}
   m_MinSize: {x: 276, y: 71}
   m_MaxSize: {x: 4001, y: 4021}
   m_MaxSize: {x: 4001, y: 4021}
@@ -266,7 +266,7 @@ MonoBehaviour:
     serializedVersion: 2
     serializedVersion: 2
     x: 0
     x: 0
     y: 0
     y: 0
-    width: 554.4
+    width: 723.2001
     height: 448.8
     height: 448.8
   m_MinSize: {x: 202, y: 221}
   m_MinSize: {x: 202, y: 221}
   m_MaxSize: {x: 4002, y: 4021}
   m_MaxSize: {x: 4002, y: 4021}
@@ -292,7 +292,7 @@ MonoBehaviour:
     serializedVersion: 2
     serializedVersion: 2
     x: 0
     x: 0
     y: 448.8
     y: 448.8
-    width: 554.4
+    width: 723.2001
     height: 570.00006
     height: 570.00006
   m_MinSize: {x: 232, y: 271}
   m_MinSize: {x: 232, y: 271}
   m_MaxSize: {x: 10002, y: 10021}
   m_MaxSize: {x: 10002, y: 10021}
@@ -322,9 +322,9 @@ MonoBehaviour:
     m_Tooltip: 
     m_Tooltip: 
   m_Pos:
   m_Pos:
     serializedVersion: 2
     serializedVersion: 2
-    x: 1530.4
+    x: 1305.6
     y: 522.4
     y: 522.4
-    width: 552.4
+    width: 721.2001
     height: 549.00006
     height: 549.00006
   m_SerializedDataModeController:
   m_SerializedDataModeController:
     m_DataMode: 0
     m_DataMode: 0
@@ -356,9 +356,9 @@ MonoBehaviour:
     m_Tooltip: 
     m_Tooltip: 
   m_Pos:
   m_Pos:
     serializedVersion: 2
     serializedVersion: 2
-    x: 2084.8
+    x: 2028.8
     y: 73.6
     y: 73.6
-    width: 666.19995
+    width: 722.19995
     height: 997.80005
     height: 997.80005
   m_SerializedDataModeController:
   m_SerializedDataModeController:
     m_DataMode: 0
     m_DataMode: 0
@@ -403,9 +403,9 @@ MonoBehaviour:
     m_Tooltip: 
     m_Tooltip: 
   m_Pos:
   m_Pos:
     serializedVersion: 2
     serializedVersion: 2
-    x: 1530.4
+    x: 1305.6
     y: 522.4
     y: 522.4
-    width: 552.4
+    width: 721.2001
     height: 549.00006
     height: 549.00006
   m_SerializedDataModeController:
   m_SerializedDataModeController:
     m_DataMode: 0
     m_DataMode: 0
@@ -428,7 +428,7 @@ MonoBehaviour:
     m_SkipHidden: 0
     m_SkipHidden: 0
     m_SearchArea: 1
     m_SearchArea: 1
     m_Folders:
     m_Folders:
-    - Assets/ToneTuneToolkit/Scripts/Data
+    - Assets/PDFs
     m_Globs: []
     m_Globs: []
     m_OriginalText: 
     m_OriginalText: 
     m_ImportLogFlags: 0
     m_ImportLogFlags: 0
@@ -436,16 +436,16 @@ MonoBehaviour:
   m_ViewMode: 1
   m_ViewMode: 1
   m_StartGridSize: 16
   m_StartGridSize: 16
   m_LastFolders:
   m_LastFolders:
-  - Assets/ToneTuneToolkit/Scripts/Data
+  - Assets/PDFs
   m_LastFoldersGridSize: 16
   m_LastFoldersGridSize: 16
   m_LastProjectPath: D:\Workflow\Project\Unity\ToneTuneToolkit\ToneTuneToolkit
   m_LastProjectPath: D:\Workflow\Project\Unity\ToneTuneToolkit\ToneTuneToolkit
   m_LockTracker:
   m_LockTracker:
     m_IsLocked: 0
     m_IsLocked: 0
   m_FolderTreeState:
   m_FolderTreeState:
-    scrollPos: {x: 0, y: 2.999939}
-    m_SelectedIDs: da520000
-    m_LastClickedID: 21210
-    m_ExpandedIDs: 00000000b6520000b8520000ba520000bc520000be520000c0520000
+    scrollPos: {x: 0, y: 0}
+    m_SelectedIDs: fe5a0000
+    m_LastClickedID: 23294
+    m_ExpandedIDs: 00000000ee5a0000f05a0000
     m_RenameOverlay:
     m_RenameOverlay:
       m_UserAcceptedRename: 0
       m_UserAcceptedRename: 0
       m_Name: 
       m_Name: 
@@ -473,7 +473,7 @@ MonoBehaviour:
     scrollPos: {x: 0, y: 0}
     scrollPos: {x: 0, y: 0}
     m_SelectedIDs: 
     m_SelectedIDs: 
     m_LastClickedID: 0
     m_LastClickedID: 0
-    m_ExpandedIDs: 00000000b6520000b8520000ba520000bc520000be520000c0520000
+    m_ExpandedIDs: 00000000ee5a0000f05a0000
     m_RenameOverlay:
     m_RenameOverlay:
       m_UserAcceptedRename: 0
       m_UserAcceptedRename: 0
       m_Name: 
       m_Name: 
@@ -528,7 +528,7 @@ MonoBehaviour:
     m_ScrollPosition: {x: 0, y: 0}
     m_ScrollPosition: {x: 0, y: 0}
     m_GridSize: 16
     m_GridSize: 16
   m_SkipHiddenPackages: 0
   m_SkipHiddenPackages: 0
-  m_DirectoriesAreaWidth: 242
+  m_DirectoriesAreaWidth: 224.80005
 --- !u!114 &16
 --- !u!114 &16
 MonoBehaviour:
 MonoBehaviour:
   m_ObjectHideFlags: 52
   m_ObjectHideFlags: 52
@@ -551,7 +551,7 @@ MonoBehaviour:
     serializedVersion: 2
     serializedVersion: 2
     x: 0
     x: 0
     y: 73.6
     y: 73.6
-    width: 743.8
+    width: 807.8
     height: 997.80005
     height: 997.80005
   m_SerializedDataModeController:
   m_SerializedDataModeController:
     m_DataMode: 0
     m_DataMode: 0
@@ -605,23 +605,23 @@ MonoBehaviour:
       serializedVersion: 2
       serializedVersion: 2
       x: 0
       x: 0
       y: 21
       y: 21
-      width: 743.8
+      width: 807.8
       height: 976.80005
       height: 976.80005
-    m_Scale: {x: 0.3179688, y: 0.31796876}
-    m_Translation: {x: 371.90002, y: 488.40002}
+    m_Scale: {x: 0.31796876, y: 0.31796876}
+    m_Translation: {x: 403.9, y: 488.40002}
     m_MarginLeft: 0
     m_MarginLeft: 0
     m_MarginRight: 0
     m_MarginRight: 0
     m_MarginTop: 0
     m_MarginTop: 0
     m_MarginBottom: 0
     m_MarginBottom: 0
     m_LastShownAreaInsideMargins:
     m_LastShownAreaInsideMargins:
       serializedVersion: 2
       serializedVersion: 2
-      x: -1169.6117
+      x: -1270.2506
       y: -1536
       y: -1536
-      width: 2339.2234
+      width: 2540.5012
       height: 3072
       height: 3072
     m_MinimalGUI: 1
     m_MinimalGUI: 1
   m_defaultScale: 0.31796876
   m_defaultScale: 0.31796876
-  m_LastWindowPixelSize: {x: 929.75, y: 1247.25}
+  m_LastWindowPixelSize: {x: 1009.75, y: 1247.25}
   m_ClearInEditMode: 1
   m_ClearInEditMode: 1
   m_NoCameraWarning: 1
   m_NoCameraWarning: 1
   m_LowResolutionForAspectRatios: 00000000000000000000
   m_LowResolutionForAspectRatios: 00000000000000000000
@@ -647,9 +647,9 @@ MonoBehaviour:
     m_Tooltip: 
     m_Tooltip: 
   m_Pos:
   m_Pos:
     serializedVersion: 2
     serializedVersion: 2
-    x: 744.8
+    x: 808.8
     y: 73.6
     y: 73.6
-    width: 783.60004
+    width: 494.8
     height: 997.80005
     height: 997.80005
   m_SerializedDataModeController:
   m_SerializedDataModeController:
     m_DataMode: 0
     m_DataMode: 0
@@ -981,7 +981,7 @@ MonoBehaviour:
       snapOffsetDelta: {x: 0, y: 0}
       snapOffsetDelta: {x: 0, y: 0}
       snapCorner: 0
       snapCorner: 0
       id: Scene View/TrailRenderer
       id: Scene View/TrailRenderer
-      index: 8
+      index: 7
       layout: 4
       layout: 4
       size: {x: 0, y: 0}
       size: {x: 0, y: 0}
       sizeOverriden: 0
       sizeOverriden: 0
@@ -994,7 +994,7 @@ MonoBehaviour:
       snapOffsetDelta: {x: 0, y: 0}
       snapOffsetDelta: {x: 0, y: 0}
       snapCorner: 0
       snapCorner: 0
       id: UnityEditor.SceneViewCameraOverlay
       id: UnityEditor.SceneViewCameraOverlay
-      index: 10
+      index: 8
       layout: 4
       layout: 4
       size: {x: 0, y: 0}
       size: {x: 0, y: 0}
       sizeOverriden: 0
       sizeOverriden: 0
@@ -1009,9 +1009,9 @@ MonoBehaviour:
   m_PlayAudio: 0
   m_PlayAudio: 0
   m_AudioPlay: 0
   m_AudioPlay: 0
   m_Position:
   m_Position:
-    m_Target: {x: 591.4512, y: 1203.4978, z: -6.3683434}
+    m_Target: {x: 213.89746, y: 1720.8157, z: 2.8795753}
     speed: 2
     speed: 2
-    m_Value: {x: 591.4512, y: 1203.4978, z: -6.3683434}
+    m_Value: {x: 213.89746, y: 1720.8157, z: 2.8795753}
   m_RenderMode: 0
   m_RenderMode: 0
   m_CameraMode:
   m_CameraMode:
     drawMode: 0
     drawMode: 0
@@ -1061,9 +1061,9 @@ MonoBehaviour:
     speed: 2
     speed: 2
     m_Value: {x: 0, y: 0, z: 0, w: 1}
     m_Value: {x: 0, y: 0, z: 0, w: 1}
   m_Size:
   m_Size:
-    m_Target: 999.847
+    m_Target: 75.0552
     speed: 2
     speed: 2
-    m_Value: 999.847
+    m_Value: 75.0552
   m_Ortho:
   m_Ortho:
     m_Target: 1
     m_Target: 1
     speed: 2
     speed: 2
@@ -1108,9 +1108,9 @@ MonoBehaviour:
     m_Tooltip: 
     m_Tooltip: 
   m_Pos:
   m_Pos:
     serializedVersion: 2
     serializedVersion: 2
-    x: 1530.4
+    x: 1305.6
     y: 73.6
     y: 73.6
-    width: 552.4
+    width: 721.2001
     height: 427.8
     height: 427.8
   m_SerializedDataModeController:
   m_SerializedDataModeController:
     m_DataMode: 0
     m_DataMode: 0
@@ -1125,9 +1125,9 @@ MonoBehaviour:
   m_SceneHierarchy:
   m_SceneHierarchy:
     m_TreeViewState:
     m_TreeViewState:
       scrollPos: {x: 0, y: 0}
       scrollPos: {x: 0, y: 0}
-      m_SelectedIDs: 
+      m_SelectedIDs: 745b0000
       m_LastClickedID: 0
       m_LastClickedID: 0
-      m_ExpandedIDs: 1afbffff
+      m_ExpandedIDs: 30fbffff
       m_RenameOverlay:
       m_RenameOverlay:
         m_UserAcceptedRename: 0
         m_UserAcceptedRename: 0
         m_Name: 
         m_Name: 

+ 5 - 3
readme.md

@@ -1,8 +1,8 @@
 <font face="Source Han Sans TC" size=2 color=#FFFFFF>
 <font face="Source Han Sans TC" size=2 color=#FFFFFF>
 
 
-#### <center><font size=2>Make everything simple.</font></center>
-#### <center><font size=2>2023/12/28</font></center>
-# <center><font color="#54FF9F" size=6>**Tone Tune Toolkit v1.4.14**</font></center>
+#### <center><font size=2>Make everything f<font color="#FF0000">or</font>king simple.</font></center>
+#### <center><font size=2>2024/06/02</font></center>
+# <center><font color="#54FF9F" size=6>**Tone Tune Toolkit v1.4.15**</font></center>
 ## ToneTuneToolkit是什么?
 ## ToneTuneToolkit是什么?
 一个致力于帮助Unity六边形战士减轻开发负担的项目。</br>
 一个致力于帮助Unity六边形战士减轻开发负担的项目。</br>
 <s>但更多的时候是在帮助互动媒体人偷懒。</s></br>
 <s>但更多的时候是在帮助互动媒体人偷懒。</s></br>
@@ -43,6 +43,7 @@
 22. 2023/11/06 UI模块下的截图工具与Media模块下的截图工具功能合并,新增全角度截图工具“FullAngleScreenshotTool”。
 22. 2023/11/06 UI模块下的截图工具与Media模块下的截图工具功能合并,新增全角度截图工具“FullAngleScreenshotTool”。
 23. 2023/12/04 新增“SHADERS”模块,新增了一个可以将UGUI去色的Shader,需要额外创建材质球,详见“Examples/022_UGUIGray”。
 23. 2023/12/04 新增“SHADERS”模块,新增了一个可以将UGUI去色的Shader,需要额外创建材质球,详见“Examples/022_UGUIGray”。
 24. 2023/12/28 分离“TextLoader”的json读写功能至“Data”分类下的“JsonManager”。
 24. 2023/12/28 分离“TextLoader”的json读写功能至“Data”分类下的“JsonManager”。
+25. 2024/06/03 添加了“TextureProcessor”,读/写/旋转/缩放Texture。
 
 
 </br>
 </br>
 
 
@@ -70,6 +71,7 @@
 ### -> ToneTuneToolkit.Media/
 ### -> ToneTuneToolkit.Media/
 * ScreenshotMaster.cs         // 透明通道截图工具
 * ScreenshotMaster.cs         // 透明通道截图工具
 * FullAngleScreenshotTool.cs  // 全角度截图工具
 * FullAngleScreenshotTool.cs  // 全角度截图工具
+* TextureProcessor.cs         // 图片处理工具
 
 
 ### -> ToneTuneToolkit.Mobile/
 ### -> ToneTuneToolkit.Mobile/
 * ObjectRotateAndScale.cs   // 物体Android平台中的单指旋转及双指缩放
 * ObjectRotateAndScale.cs   // 物体Android平台中的单指旋转及双指缩放