2.5.1 and assetbundles

Im getting an error when I stop playing in the editor after I have loaded assetbundles.

This is the error text:

what the heck does that mean?

It wasnt there in 2.5 but I saw you fixed some issues with assetbundles.

//perlohmann
[edit] clarified the problem a bit.

That note basically means that a “persistent object” (the asset bundle) has been removed without beeing stored in any way so on restart it will not be there anymore.

I guess thats a new nicyness warning so people become more aware of the “errors” they do

so what the error is more or less saying is:

:lol:

Depends on the point of view.
There is the missunderstanding that there is magic in the player that will cache the asset bundles for you between executions so I think that this is a nice way to handle it, given thats it purpose.

Well I disagree on that one.
First and foremost because its not an error.

If it indeed is a message to inform the user the assetbundle has not been cached in some way it should at most be a regular info message or pehaps a warning.

Error’s get my attention everytime I see them in the console… warnings and info messages does not (meaning these errors waste my time).

Anyways it should rather be in the documentation instead of in the code.

well my 2 cp

I just had this with 2.5.1 as well, it seems to look like an error, only happens on close, and only if I’ve set the name of the assetbundle O_O

For example, my asset manager downloads the bundle, an AssetBundle has a name, but it’s blank, so I have the manager assign a generated name to it. When I ran the app without setting the name in the manager, then closed it, this error did not appear, but then I uncommented that single line which additionally sets the name, now I get this error when I close it.

??? Just looking for some more explanation on this ???

Wanted to add that I’ve been trying to find a way to get rid of this Error-like warning. Usually a warning can identify that I’m not handling something the way it was intended, but I can’t seem to find what it is I’m not handling correctly, or is this just never going to go away?