{
  "schemaVersion": "0.11.0",
  "canonical": "https://www.pystone.net/notes/uwa-answer-profiler-asset-bundles-serialized-file-memory/",
  "atlas": "https://www.pystone.net/?node=uwa-answer-profiler-asset-bundles-serialized-file-memory#knowledge-atlas",
  "markdown": "https://www.pystone.net/notes/uwa-answer-profiler-asset-bundles-serialized-file-memory.md",
  "context": "https://www.pystone.net/notes/uwa-answer-profiler-asset-bundles-serialized-file-memory.context.json",
  "knowledgeVersion": "224c990773de.5fa8af6e39fa",
  "build": {
    "siteCommit": "224c990773de166d23a886306577dd90379529ce",
    "notesCommit": "5fa8af6e39fa3891d1b9b4832bfa6c4e0ecaaf0a",
    "builtAt": "1970-01-01T00:00:00.000Z",
    "version": "224c990773de.5fa8af6e39fa"
  },
  "id": "note:uwa-answer-profiler-asset-bundles-serialized-file-memory",
  "slug": "uwa-answer-profiler-asset-bundles-serialized-file-memory",
  "title": "Profiler Detailed内存中NotSaved/AssetBundles和Other/SerializedFile有什么区别",
  "type": "note",
  "visibility": "public",
  "idStability": "rename-stable",
  "author": {
    "name": "石心.Yong"
  },
  "publisher": {
    "name": "Perrin Yong",
    "profile": "https://www.pystone.net/profile/"
  },
  "aliases": [],
  "summary": "Profiler Detailed内存中NotSaved/AssetBundles和Other/SerializedFile有什么区别",
  "contentRole": "source",
  "sourceType": "source",
  "sourceMetadata": {
    "author": "石心.Yong"
  },
  "isMoc": false,
  "mocRecognition": "none",
  "generated": false,
  "attribution": "external_source",
  "domain": "10-计算机、信息技术与工程",
  "tags": [],
  "mocs": [],
  "contentHash": "7905f850bf2a6fac08107bc49d91443aea8deed4f305418c3946af755dda4a73",
  "assets": [
    {
      "reference": "assets/6040d8bdcfa35d5b536698b4/01.png",
      "url": "/media/9daf123f18c26c30ac5a.png",
      "mediaType": "image/png",
      "contentHash": "9daf123f18c26c30ac5ab1572a9efde0afb94dc49cb6d3ce883615db944f77e2",
      "byteLength": 32347,
      "width": 722,
      "height": 176
    },
    {
      "reference": "assets/6040d8bdcfa35d5b536698b4/02.png",
      "url": "/media/3821d91c065f8d971531.png",
      "mediaType": "image/png",
      "contentHash": "3821d91c065f8d971531a8eb4bbade12001c15e346f2626ce4cf064abe52e922",
      "byteLength": 26126,
      "width": 700,
      "height": 193
    }
  ],
  "headings": [
    {
      "depth": 1,
      "text": "Profiler Detailed内存中NotSaved/AssetBundles和Other/SerializedFile有什么区别",
      "anchor": "profiler-detailed内存中notsavedassetbundles和otherserializedfile有什么区别",
      "citation": "https://www.pystone.net/notes/uwa-answer-profiler-asset-bundles-serialized-file-memory/#profiler-detailed%E5%86%85%E5%AD%98%E4%B8%ADnotsavedassetbundles%E5%92%8Cotherserializedfile%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB"
    },
    {
      "depth": 2,
      "text": "问题",
      "anchor": "问题",
      "citation": "https://www.pystone.net/notes/uwa-answer-profiler-asset-bundles-serialized-file-memory/#%E9%97%AE%E9%A2%98"
    },
    {
      "depth": 2,
      "text": "我的回答",
      "anchor": "我的回答",
      "citation": "https://www.pystone.net/notes/uwa-answer-profiler-asset-bundles-serialized-file-memory/#%E6%88%91%E7%9A%84%E5%9B%9E%E7%AD%94"
    },
    {
      "depth": 2,
      "text": "来源与关系",
      "anchor": "来源与关系",
      "citation": "https://www.pystone.net/notes/uwa-answer-profiler-asset-bundles-serialized-file-memory/#%E6%9D%A5%E6%BA%90%E4%B8%8E%E5%85%B3%E7%B3%BB"
    }
  ],
  "claims": [],
  "outgoing": [
    {
      "id": "note:my-uwa-answers",
      "title": "我的 UWA 问答",
      "url": "https://www.pystone.net/notes/my-uwa-answers/",
      "atlas": "https://www.pystone.net/?node=my-uwa-answers#knowledge-atlas",
      "label": "我的 UWA 问答",
      "origin": "explicit",
      "humanReviewed": true,
      "context": "上位集合：我的 UWA 问答",
      "citation": "https://www.pystone.net/notes/uwa-answer-profiler-asset-bundles-serialized-file-memory/#%E6%9D%A5%E6%BA%90%E4%B8%8E%E5%85%B3%E7%B3%BB"
    }
  ],
  "incoming": [
    {
      "id": "note:my-uwa-answers",
      "title": "我的 UWA 问答",
      "url": "https://www.pystone.net/notes/my-uwa-answers/",
      "atlas": "https://www.pystone.net/?node=my-uwa-answers#knowledge-atlas",
      "label": "我的 UWA 问答",
      "origin": "explicit",
      "humanReviewed": true,
      "context": "2021-03-05：Profiler Detailed内存中NotSaved/AssetBundles和Other/SerializedFile有什么区别（资源管理、内存管理、终端平台）",
      "citation": "https://www.pystone.net/notes/my-uwa-answers/#2021"
    },
    {
      "id": "note:game-graphics-and-runtime",
      "title": "游戏图形与运行时",
      "url": "https://www.pystone.net/notes/game-graphics-and-runtime/",
      "atlas": "https://www.pystone.net/?node=game-graphics-and-runtime#knowledge-atlas",
      "label": "游戏图形与运行时",
      "origin": "explicit",
      "humanReviewed": true,
      "context": "我的UWA问答中的“2021-03-05 - Profiler Detailed内存中NotSaved-AssetBundles和Other-SerializedFile有什么区别”导航项",
      "citation": "https://www.pystone.net/notes/game-graphics-and-runtime/#%E6%88%91%E7%9A%84uwa%E9%97%AE%E7%AD%94"
    }
  ],
  "contentMarkdown": "# Profiler Detailed内存中NotSaved/AssetBundles和Other/SerializedFile有什么区别\n\n> [!note] 我的 UWA 问答\n> 本文收录我在 UWA 问答发表的公开回答。问题内容归原提问者；回答保留当时语境，技术结论可能受 Unity 版本、平台和项目条件限制。\n\n## 问题\n\n如下图，猜测上AssetBundle应该就是bundle的文件头（索引信息），那archive cab有是干啥的，解包的缓存么？\n\n![image.png](assets/6040d8bdcfa35d5b536698b4/01.png)\n\n![image.png](assets/6040d8bdcfa35d5b536698b4/02.png)\n\n用assetstudio解出bundle，就是cab-xxxx\n\n- 提问者：燃野\n- 提问时间：2021-03-05 04:55:25\n\n## 我的回答\n\n1. 对AssetBundle进行Load后，Not Saved/AssetBundle中的一项就对应Other/SerializedFile中的一项。\n2. archive:/CAB-xxx是对一个AssetBundle的唯一标识，参见：https://gnoph.github.io/unity-dev-notes/2018/01/17/AssetBundle-Dependencies.html。\n3. 推测SerializedFile指的是一个Bundle的索引、依赖等信息的序列化的文件资源占用的内存，而Not Saved/AssetBundle中的项指的是对序列化文件进行反序列化后的信息占用的内存。（类似于实例的概念吧）\n\n- 回答时间：2021-03-05 20:16:31\n- 最后更新：2021-03-05 20:17:09\n- 采纳状态：未采纳\n\n## 来源与关系\n\n- 上位集合：[[10-计算机、信息技术与工程/05-游戏图形与运行时/我的UWA问答/我的UWA问答|我的 UWA 问答]]\n- UWA 标签：资源管理、内存管理、终端平台\n- 原始问题：[Profiler Detailed内存中NotSaved/AssetBundles和Other/SerializedFile有什么区别](https://answer.uwa4d.com/question/6040d8bdcfa35d5b536698b4)\n- 源页最后更新：2021-03-09 01:13:02\n"
}
