steps to reproduce:
1: drop a script into something, open the properties panel, and set the properties on the public members in the property panel.
2: don't close the properties panel. leave it open.
3: while that property panel is open, delete something from your inventory
notice that any of the properties you just set on the script in the property panel have been reverted / removed