U3D临时文件GICache巨大

C:UsersasusAppDataLocalLowUnityCachesGiCache 看名字似乎是全局光的缓存,可以通过Edit - Preference - GI Cache,选中 Custom Cache Location来改变缓存的存放位置。

新机安装U3D使用不到一个月,这个缓存居然达到了8G。不知道U3D在搞什么需要这么大,难道每次全局的计算都保存以备以后使用吗,这不科学,游戏发布到其它机子上怎么办。

另外,WWW下载的东西是放内存还是磁盘缓存?一直没找到

 Caching: This is done using the WWW.LoadFromCacheOrDownload call. The AssetBundles are cached to Unity’s Cache folder in the local storage device. The WebPlayer shared cache allows up to 50 MB of cached AssetBundles. PC/Mac Standalone applications and iOS/Android applications have a limit of 4 GB. WebPlayer applications that make use of a dedicated cache are limited to the number of bytes specified in the caching license agreement. Please refer to the scripting documentation for other platforms.

 这个Unity’s Cache folder似乎就是工程目录下的 /Library, 经测试,该文件夹下有很多缓存可以删除,每次启动UNITY都会再生成:

  

  其中metaData最大,就像是VS生成的 DB文件

原文地址:https://www.cnblogs.com/timeObjserver/p/5987128.html