Fix crash with AssetTypes