I was making a plug that had a bunch of weapons and outfits. All but one of them worked fine. The sequence of malfunction in the outfit/weapon that did not work:
1. I buy the outfit, and a number appears beside the thumbnail
2. I leave the outfitting area
3. Upon checking, I find that my ship does not have the outfit I bought
4. I reenter the outfitting place
5. The number next to the thumbnail is gone
6. I create a ship resource that starts with the weapon
7. The ship has the weapon, which works fine
8. I sell the outfit, which disappears
9. I leave outfitting, and the outfit reappears
I have already checked the flags, numbers, and all fields carefully, and can not find anything wrong with them. Is there anything that might cause this?