What causes the "Replace With Other" lost reference with the "Other" piece, and how to avoid it?

It is about the fifth time that i need to pass 40+ pieces 'cause the Replace With Other trait looses the reference of what piece is the “Other” one.
It’s a boring to death process, and I’d like to understand what causes this loss of reference (given that i don’t have renamed any of them) and, if not obvious once i know that, how to avoid it while in the process of heavily updating/improving the module.

Can someone help me?

If you are doing any reorganizing and/or reordering of items in a piece palette, that will change the piece slots stored in the buildfile for every affected piece. In my experience that’s a reliable way to break a Replace With Other trait.

Uh … so the reference is not to a piece unique ID, but is a sort of path or, even worse, an index inside a “place” (a Folder, a Palette, or whatever)?

If this is true, it is a very sad new :frowning:

Unfortunately, I can confirm that it’s exactly as Joel says.
I’ve run into this problem in the past, precisely after reorganizing the piece palette.

Thanks to you both.
I’ve finally choosen to get rid of that trait in the whole module. It costed me two full days but now i don’t need that damn trait anymore :slight_smile: