---
title: "Profiler Detailed内存中NotSaved/AssetBundles和Other/SerializedFile有什么区别"
author: "石心.Yong"
published_by: "Perrin Yong"
canonical: https://www.pystone.net/notes/uwa-answer-profiler-asset-bundles-serialized-file-memory/
type: note
content_role: source
source_type: "source"
visibility: public
id_stability: rename-stable
source_path: "10-计算机、信息技术与工程/05-游戏图形与运行时/我的UWA问答/2021-03-05 - Profiler Detailed内存中NotSaved-AssetBundles和Other-SerializedFile有什么区别.md"
content_hash: 7905f850bf2a6fac08107bc49d91443aea8deed4f305418c3946af755dda4a73
knowledge_version: 224c990773de.5fa8af6e39fa
site_commit: 224c990773de166d23a886306577dd90379529ce
notes_commit: 5fa8af6e39fa3891d1b9b4832bfa6c4e0ecaaf0a
---
# Profiler Detailed内存中NotSaved/AssetBundles和Other/SerializedFile有什么区别

> **note · 我的 UWA 问答**
> 本文收录我在 UWA 问答发表的公开回答。问题内容归原提问者；回答保留当时语境，技术结论可能受 Unity 版本、平台和项目条件限制。

## 问题

如下图，猜测上AssetBundle应该就是bundle的文件头（索引信息），那archive cab有是干啥的，解包的缓存么？

![image.png](/media/9daf123f18c26c30ac5a.png)

![image.png](/media/3821d91c065f8d971531.png)

用assetstudio解出bundle，就是cab-xxxx

- 提问者：燃野
- 提问时间：2021-03-05 04:55:25

## 我的回答

1. 对AssetBundle进行Load后，Not Saved/AssetBundle中的一项就对应Other/SerializedFile中的一项。
2. archive:/CAB-xxx是对一个AssetBundle的唯一标识，参见：https://gnoph.github.io/unity-dev-notes/2018/01/17/AssetBundle-Dependencies.html。
3. 推测SerializedFile指的是一个Bundle的索引、依赖等信息的序列化的文件资源占用的内存，而Not Saved/AssetBundle中的项指的是对序列化文件进行反序列化后的信息占用的内存。（类似于实例的概念吧）

- 回答时间：2021-03-05 20:16:31
- 最后更新：2021-03-05 20:17:09
- 采纳状态：未采纳

## 来源与关系

- 上位集合：[我的 UWA 问答](https://www.pystone.net/notes/my-uwa-answers/)
- UWA 标签：资源管理、内存管理、终端平台
- 原始问题：[Profiler Detailed内存中NotSaved/AssetBundles和Other/SerializedFile有什么区别](https://answer.uwa4d.com/question/6040d8bdcfa35d5b536698b4)
- 源页最后更新：2021-03-09 01:13:02
