PDA

View Full Version : Unloading Prefabs



Vanguard
Oct 3rd, '03, 01:52 PM
Dan,

Do you know of anything that would cause HD to unload all the prefabs?

I went to grab some Prefabs and they weren't there. Had to reload them all.

Simon
Oct 3rd, '03, 01:58 PM
Under v1, there's only three things that would cause that:

1. Unloading them manually within the app.

2. Deleting (or HD not being able to access) appPrefs.xml (which contains the list of prefabs to load).

3. Moving the prefabs from their last location into a different directory/location.

Vanguard
Oct 3rd, '03, 02:05 PM
Ah-Ha!!! Ok, that explains it. I think I did reorganize my prefabs and such.

Thanks!!

From your statement I take it this isn't going to be the case in V2?

Simon
Oct 3rd, '03, 02:10 PM
If you move your prefabs to a different directory, then they will not load when you restart HD.....even under v2. I don't want to take the performance hit to run a full drive scan when a prefab isn't found.....that could become MASSIVELY time-consuming.

Vanguard
Oct 7th, '03, 06:00 AM
GAK!! You're right. I'd rather just reload the prefabs then have to watch my system grind to a halt. :)