why does the error "Deleting persistent object without writing it first" occurs ?

Loading a Prefab from a AssetBundle I get this error "Deleting persistent object without writing it first" and nand I dont know why does it happens. Any ideas?

Can you get this to happen reliably? If so, could you be so kind to send a (smaller=better) sample of when this happens? (UnityMenu->Help->Report a problem).

The problem is try to modify a load resource (not a instantiated one). Thanks for all.

you probably changed the name of the assetbundle

if you serialize a variable which a material, and you assign a texture to MainTexture of that material, then the error will occur. You can new a material with same shader, then assign texture to it, then you can safely use the material variable.