Issue with 1.5 and GarbageCollectUnusedAssets

Just converted the project to Unity 1.5 and im finding it is now throwing an error sometimes when I call Application.GarbageCollectUnusedAssets.

“Deleting persistent object without writing it first: library/unity default resources”

Up until we now we have been calling this at the start of every new level being loaded.

Any ideas?

Hello,

It looks like a bug to me, could you please fill a bug report and make a small project that reassembles your issue, also screenshots, description of your hardware and what where you trying to achieve would be great!

As that will really help the developers finding what is happening in order to solve that issue.

do you experience any similar issues with another projects or just with your one?

you can let us see your project but we would really appreciate if you could reproduce this issue in a new project for us to get with it faster.

hello… I had same problems, had to remove all GarbageCollectUnusedAssets calls… I was calling GarbageCollectUnusedAssets in Start() method or when respawning player…

I didnt have time to investigate it more, due making RC for Samurai…

Sanjuro

Hello!

Could you please fill a bug report with Unity’s bug reporter?
Please attach your project as well so we can look at it :slight_smile:

Info about the bug reporter can be found here:
http://blogs.unity3d.com/2009/04/15/bug-reporting-and-you/