{"id":247,"date":"2012-06-11T10:33:09","date_gmt":"2012-06-11T14:33:09","guid":{"rendered":"http:\/\/blog.bulletpattern.com\/?p=247"},"modified":"2012-06-11T10:33:09","modified_gmt":"2012-06-11T14:33:09","slug":"unity-3d-editor-uses-web-cache","status":"publish","type":"post","link":"http:\/\/blog.bulletpattern.com\/?p=247","title":{"rendered":"Unity 3D &#8211; editor uses web cache"},"content":{"rendered":"<p>I just lost half a day to this issue, so I thought I would share this find so others can avoid this pitfall.<\/p>\n<p>We have a game that loads levels, these levels are individual asset bundles that are loaded at runtime. We tested a level and then made some changes. The changes didn&#8217;t show up? OK, bundle the level again and upload. No change. Delete the level, upload again. No change. Delete the level. THE LEVEL STILL LOADS?!<\/p>\n<p>Turns out, even in the editor, Unity uses the web cache. You can see your project using the web cache <a href=\"http:\/\/webplayer.unity3d.com\/setup\/\" target=\"_blank\">here:\u00a0http:\/\/webplayer.unity3d.com\/setup\/<\/a> &#8211; it looks to me even if you check &#8220;Disable all caching&#8221;, it still caches.<\/p>\n<p>So if you are using asset bundles and you make a change but your asset does not seem to update, delete the web player cache.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just lost half a day to this issue, so I thought I would share this find so others can avoid this pitfall. We have a game that loads levels, these levels are individual asset bundles that are loaded at runtime. We tested a level and then made some changes. The changes didn&#8217;t show up? [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-247","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/blog.bulletpattern.com\/index.php?rest_route=\/wp\/v2\/posts\/247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.bulletpattern.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.bulletpattern.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.bulletpattern.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.bulletpattern.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=247"}],"version-history":[{"count":1,"href":"http:\/\/blog.bulletpattern.com\/index.php?rest_route=\/wp\/v2\/posts\/247\/revisions"}],"predecessor-version":[{"id":248,"href":"http:\/\/blog.bulletpattern.com\/index.php?rest_route=\/wp\/v2\/posts\/247\/revisions\/248"}],"wp:attachment":[{"href":"http:\/\/blog.bulletpattern.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.bulletpattern.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=247"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.bulletpattern.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}