Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Editor/AddressableImporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,11 @@ static AddressableAssetEntry CreateOrUpdateAddressableAssetEntry(
// CreateOrMoveEntry is very slow, so don't move anything if the group is already the correct one
var guid = AssetDatabase.AssetPathToGUID(assetPath);
var entry = settings.FindAssetEntry(guid);
if (entry == null || entry.parentGroup != group)
// When manually removing an entry from the Addressables Groups window,
// it may remain in settings' GUID→Entry map but be removed from the group's entries list
// (a "zombie entry"). Check that the entry is actually present in the group before skipping CreateOrMoveEntry.
var isInGroup = entry != null && entry.parentGroup != null && entry.parentGroup.entries.Contains(entry);
if (entry == null || entry.parentGroup != group || !isInGroup)
entry = settings.CreateOrMoveEntry(guid, group);

if (entry != null)
Expand Down