zoukankan      html  css  js  c++  java
  • 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文件

  • 相关阅读:
    网络设备
    Linux常用操作
    工作常用笔记
    性能测试问题总结
    mysql性能分析
    Java8新特性学习笔记-CompletableFuture
    Java语言定义的线程状态分析
    Gatling-插件开发
    RabbitMQ记录
    Go常用库
  • 原文地址:https://www.cnblogs.com/timeObjserver/p/5987128.html
Copyright © 2011-2022 走看看