Some safety around ResourceLibrary.Unregister
Resources get unregistered in their finalizer, so this race condition could have happened:
1. Resources are loaded
2. Resource library gets cleared
3. Resources are loaded again
4. Old resources get GC'd, remove new resources from ResourceIndex
Fix warning when using AssetSystem.CreateResource