Unity 3D – editor uses web cache

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’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?!

Turns out, even in the editor, Unity uses the web cache. You can see your project using the web cache here: http://webplayer.unity3d.com/setup/ – it looks to me even if you check “Disable all caching”, it still caches.

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.

Comments

Dude you lost half a day to that? Man im sorry for you, but hey at least you know how to fix it now.

Reply

brad what if you were to make a feature in exonaut that allows you to have 3 keys (like numbers 1-3 or A B and C) that when you get hacked you can press to change your exosuit during a match? im just asking cause i had a dream with a feature in exonaut like that and that would be awesome!

Reply

Switching exosuits mid-game would be cool. Even just switching exosuits in the lobby would be nice.

Reply

yeah it would! and my bet is that way, more people will stay in game lobbys (and thats becomeing a big problem for me and other exonauts. )

Reply

and adding more features to exonaut will give the game more replay value.

Reply

Hey brad is the exonaut birthday over? although the new music is still in the game the double credits are no longer here.

Reply

besides exonaut and tko what games are you working on at the moment?

Reply

Sorry, our current project has not been announced yet 😉

Reply

let me think… is it formula cartoon?

Reply

Thanks, this info saved me a lot of time.

Reply

Leave a Reply to admin

Your email address will not be published. Required fields are marked *