Build Report Tool
=== Important Notes ===
In case you get any build errors that you think might be caused by the Build Report Tool, try disabling the Build Report Window from showing automatically whenever you build. You can do this by opening the Build Report window, going to options, then uncheck "Collect and save build info automatically after building". If that doesn't work, search for the OnPostprocessBuild function in ReportManager.cs and removing/commenting out its PostProcessBuild attribute or deleting that whole function.
=== How to use ===
To show the Build Report Window, simply go to Window > Show Build Report.
Make sure you build your project first. If not, the Build Report Tool will attempt to retrieve build info from your previous session.
However, it won't care if the project you built last time isn't the same one you currently have open. So it's always best to build your project before you look at the Build Report Window.
You can also save build reports to XML files, or open previously saved ones. Whenever you build your project, the Build Report Tool will automatically generate a build report and save it. If you don't want the Build Report Tool to do that automatically, you can disable it in the options.
=== Parts ===
A build report is broken into three main categories: Overview, Used Assets, and Unused Assets.
Overview: Shows Total Build Size, Size Breakdown, and DLLs included.
Size Breakdown: This will report how much your assets take space, per file type category (textures, meshes, sounds, scripts, etc.)
DLLs Included: A small list of all dynamically linked library (DLL) files your project uses, including the DLLs for your scripts, standard Mono DLLs, and other managed DLL plugins you use. It does not include native DLL plugins.
Used Assets: This is a more detailed look on how much your assets take space. Each asset included in your build will be shown here, including the storage space they take while not in their final compressed state yet.
You can click on the filter buttons to view the files per file type.
Clicking on the filename will highlight that file in your Project window. Clicking on its checkbox will select it in the Build Report window. All those selected will have their total file sizes and percentages computed and displayed at the top of the list.
Unused Assets: Shows which of your files are *not* included in your build. This is useful for finding out which assets are not used anymore that perhaps you may want to delete to save space.
=== What's counted in the Build Report ===
The Build Report only takes into account your assets' size, plus managed DLLs. The real final size of your build may be larger or smaller depending on the platform.
In desktop and mobile builds, the build size reflects the size of the resulting sharedassets0.assets, sharedassets1.assets (and so on) files that are generated. Also counted are the files in the "Managed" folder (Mono DLLs, your scripts in compiled DLL form, plus other managed DLLs in your project).
All other files are not counted in the total build size. That includes native plugins.
But take note, native plugins will still show up in the asset lists, it is only that their size that is not counted in the total (uncompressed) build size.
While files included as streaming assets will show up in the "Used Assets" section, their size is not accounted for in the "Overview" section.
In desktop builds, you may find a "unity default resources" file in your build. Inside that are defaults, like the default GUI Skin, default font for the GUI, default shaders, the built-in cube, cylinder, or capsule, default white material, etc.
That file is also not counted in the Build Report.
See discussion here: http://forum.unity3d.com/threads/120081-unity-default-resources
In Windows, your resulting .exe file is also not considered in the Build Report as that is considered a "boilerplate" resource. The contents of your .exe file is largely standard among all Windows programs built in Unity, with some minor changes.
In web builds, your .unity3d file is a compressed archive of all your used assets, your Unity scene files, your scripts' resulting managed DLLs, any managed DLLs from the Mono standard library your build needs, plus any managed DLLs that you explicitly included.
Take note there are several Mono libraries that cannot be included for web due to considerations for web browser security.
In iOS builds, the total build size only represents the size of the game before it gets compiled and packaged into an .app file in Xcode. The size may get smaller once it gets packaged into an .ipa file.
Note: Managed DLLs mean DLL files containing compiled .NET/Mono code. Native DLLs mean DLL files built out of code that wasn't .NET/Mono (usually C/C++).
=== Prefab Instances in Scenes ===
If you have prefab instances in a scene, they don't actually count in the editor log's build info. Why exactly, I'm not sure.
My guess is things work this way: Actually during runtime, the concept of prefabs do not exist anymore. As far as Unity is concerned, they are all just game objects.
Instantiate actually merely duplicates/clones an existing game object (whether it is currently residing in the scene or exists as a prefab in the assets folder). (side note: you can actually use Instantiate to duplicate a game object, even if it is not a prefab)
As such, during runtime, prefab connections get lost. Once you run the game, prefab instances are simply considered regular game objects. I assume the same thing happens when you build your game.
So the prefab files in your project are not included in the build. Instead, the individual prefab instances that are in your scenes are the ones counted in the file size (technically their file sizes are in the scene files' file sizes).
Two exceptions:
1. If your prefab file is in a Resources folder, it gets included in the build.
2. If your prefab is referenced from a script via a variable/field, then it is included in the build.
Basically what it means is if you created your code in such a way that you need to instantiate a prefab at runtime (regardless of whether an instance of it is in the scene already or not) then Unity has no choice but to include it in the build.
So you may find some prefab files in the "Used Assets" section that do not show a size reading. Those are the prefabs that were used in scenes but are not in a Resources folder, nor referenced as a variable.
=== Size Readings (Why is the build size larger when shown in Windows Explorer?) ===
You may find that the sizes in the Build Report Tool are different from the sizes of the files on disk. This is normal. Here is a good explanation why: http://superuser.com/questions/66825/what-is-the-difference-between-size-and-size-on-disk
Quote:
We know that a disk is made up of Tracks and Sectors. In Windows that means the OS allocates space for files in "clusters" or "allocation units".
The size of a cluster can vary, but typical ranges are from 512 bytes to 32K or more. For example, on my C:\ drive, the allocation unit is 4096 bytes. This means that Windows will allocate 4096 bytes for any file or portion of a file that is from 1 to 4096 bytes in length.
...
Another example would be if I have a file that is 2000 bytes in size. The file size on disk would be 4096 bytes. The reason is, because even though the entire file can fit inside one allocation unit, it still takes up 4096 of space (one allocation unit) on disk (only one file can use an allocation unit and cannot be shared with other files).
So the size on disk is the space of all those sectors in which the file is saved. That means, usually, the size on disk is always greater than the actual size.
End quote.
Suffice to say that when your game/app will be downloaded over the Internet, the amount that needs to be transferred is the size reading that you see in the Build Report Tool, not the size readi
没有合适的资源?快使用搜索试试~ 我知道了~
Unity3D消除类游戏《永恒之花》源码
共2000个文件
meta:1842个
png:720个
prefab:697个
5星 · 超过95%的资源 需积分: 50 92 下载量 22 浏览量
2018-02-23
09:40:53
上传
评论 4
收藏 500.17MB RAR 举报
温馨提示
游戏截图: http://blog.csdn.net/niehanmin/article/details/79350895 Unity3D消除类游戏《永恒之花》源码 C#脚本 运行环境:Unity4.6.1 永恒之花(Bloom Blast)是ARK Games开发的一款休闲类游戏。永恒之花,带给我们永远是恬静、温暖、梦幻、美好的感觉,质朴、干净,不夹杂任何污质。就如此款游戏,就如游戏中的小女孩,让我们相信,心中的纯洁和爱,必然能战胜一切邪恶,Love is always love。
资源推荐
资源详情
资源评论
收起资源包目录
Unity3D消除类游戏《永恒之花》源码 (2000个子文件)
00000000000000001000000000000000 4KB
00000000000000002000000000000000 4KB
00000000000000003000000000000000 4KB
00000000000000004000000000000000 4KB
00000000000000004100000000000000 4KB
00000000000000005000000000000000 4KB
00000000000000005100000000000000 4KB
00000000000000006000000000000000 4KB
00000000000000006100000000000000 4KB
00000000000000007000000000000000 4KB
00000000000000008000000000000000 4KB
00000000000000009000000000000000 4KB
0000000000000000a000000000000000 4KB
0000000000000000b000000000000000 4KB
0000000000000000c000000000000000 4KB
000a35415b6694498913e850f45a69e1 4KB
00214140d9fa24f40abd57777ff9b082 13KB
005d21874980c3a45917fe27975c1d29 4KB
0089dec38ac5143d295a813e9e54cdab 4KB
00936494a91cb114e9d835e49b2e8908 25KB
00ab0042267904964b8686dec9230a6c 26KB
00aff991d757b4007822cfe1f8517292 5KB
00bb3b7161dbe4c16a65ca81b8a0fa31 4KB
00ca3a62eec051946bfbafabcb5627c8 6KB
00dfd0d71f0723148a8170467d95ec17 8KB
00f1f48fa553ec9479c5f6631e5a872d 46KB
011436fbd10f356489e8448b9775c9f4 12KB
012697dc781365e4f98ac639043f526d 5KB
0140ef5570a924cc59e29b370d9dc028 4KB
0149568ce196d08488bc6c15e94c8320 4KB
014eb1fbd0916f54da042a4c8697aafd 107KB
0173870e7018bc245b6a1d2c5476e6bc 6KB
018a82c65eed14254b0192ad61aef8a9 4KB
01934f66db169af40b695055c5ec6479 10KB
01d376bea695c4e12be859e720b70497 5KB
020196bf0abbbfe479f12050736901bf 57KB
020481113fa0a964abec3bd0fa990c8b 4KB
023597a194c90bc41aaf9bb24bb0e519 188KB
0248b5811f4997d458f9a007b7001aec 4KB
025d69190a4ac0844aba79123c911853 180KB
02ae62d1548783d4dbedd7f1ed97f981 4KB
02ee3639f0f3149d3a75e6365e4865c1 6KB
02f62375a7976ec4fb1246168f1a3125 6KB
02fa5b55d7e3249f9a890e625aa01488 4KB
034e1d4da9144924da0322ea76f24baa 4KB
0363f447c288848418b6cd06b36796bd 4KB
037771da145129345a1be6de0aa7870b 4KB
03825a665aa62554eb3e92e2ab6c4b12 181KB
03b4445883467a143a455923b4c45a41 10KB
03db7f3098ed7214d9b6d9c4cc195257 4KB
03e114fa6c8844984b619109402c385f 4KB
03e70ecc5704e44a8a7e29be683e42f7 4KB
03e95ca11ee78cd4482680e2c4ec46f1 181KB
03ea400765c2c40668188f449a438367 4KB
041a70d06f83d2f4c8fda134089594e3 4KB
043830c7072ba5c4bbebcdc822d33ddb 13KB
046fb7fce5097a245956db1f5b8186a1 6KB
048d5a06b788f2740b5b9d374030272f 9KB
04968eedb3f06fb478bf733d8fb53727 181KB
04d9cfabc5986b14d8f6ea9d451f9173 4KB
04de5a5a4a936bd46a93c5fba14ca479 4KB
05009ce34b0ee4fad99b3a2dc67939c4 4KB
051ae623d507e714f88cc46222015e35 5KB
053bc8b49997ec748961d909818dc0ec 6KB
0591b6eae2590db4c869de27bb849ab9 4KB
059436ecb311d224c9e11e518d4497d8 45KB
061ce373a187ea14e96f370b5820e765 4KB
0623048d27f207e4d8d1e638d75c6e34 11KB
064a437464cab49d9a00df0c5b90bbfd 7KB
064d44fcffe15cf4b830a4df026c598c 4KB
0669a3f2ba91333449576ec486fc2695 4KB
066b5b7865f1ea945acbd1b70a995c17 4KB
06e49465d89384e0a84c036e7621be85 4KB
0709c256f97374c418e1d24b85fc2878 10KB
070a6896c7d6f6c4ebd5b5f965e2150f 4KB
07383035883e26f4e93d89ffe77fee3b 48KB
07479873b18c0c64b9c122aabfd22634 181KB
07719a9674e424d25af1c42feb1c8219 4KB
07fb0403ce1c62f41a4269d871187454 4KB
07ff8ed7d01b24277a68bc506035b1dd 4KB
081144fb717e283468eab583d2077d33 6KB
08133d8cbf461744082a47076fc5aa1d 100KB
08192a9c1c42061469892514fe447db9 10KB
0845d963b7ff4614bb82ad3e962951de 26KB
0861977771d0c564a8e381a920050849 9KB
086ac2217c9ca1045a10f7d48eb85b90 91KB
08ce03d1261b2e84c809bd297af3a178 28KB
09054edfbbc429f499693be6a1c7bb40 81KB
09228f1adfc526a49a1729310a129dda 13KB
09afeac9f1aa0d44ea39fb606c1d0ef1 5KB
09bffcf40e2d6684da715c046c7d7268 14KB
09ec4a2d8bf20304fba8e0d05b2fcc10 4KB
0a0964fbfe68382498cef63ad7b5dabf 4KB
0a29c283f6b76754888b11f5f05039a8 4KB
0a51a7401243ece47b5901766ff36d32 4KB
0aa4406980ea1714f9eb6de17d5a60e0 182KB
0aa61a2a2323b214da169c452f3a3087 4KB
0adfeee343a1d584baaf8bdc7a9ae6a3 4KB
0af38408bc7578a49a0ab468a9ecff02 4KB
0b07fe5f148bf454c83c42393879be65 4KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
- senshadow2018-09-07很有用,感谢分享!
- lzmst2019-03-05谢谢分享,很好的资源
niehanmin
- 粉丝: 752
- 资源: 629
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于51单片机的自动浇花设计论文
- 客服机器人需要的数据集,包括order、ware、user,测试集和开发集
- 用0到9生成十位数的所有排列组合(java代码).docx
- 模仿魔慢相机的人脸监测选择ios组件
- STM32F103C8T6模拟IIC控制4针0.96寸OLED显示屏已测
- Chromeextent_paly.zip
- 【2023年全国职业技能大赛“信息安全与评估”赛项】任务4-Linux内存取证WP+靶场环境
- 基于51单片机数字电压表的设计(PCB+原理图+仿真+论文+代码)
- open62541在window10 VS2019编译完成的源码
- 新闻文章自动新闻采集系统-webapps.rar
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功