Turing-Complete-Game / Suggestions-and-Issues

0 stars 0 forks source link

[Bug]: Custom component with no area and no pins that cannot be deleted or edited appear in component list #279

Open getItemFromBlock opened 1 week ago

getItemFromBlock commented 1 week ago

Discord Thread

https://discord.com/channels/828292123936948244/1293540684455739464

What happened?

Since the last few weeks, a custom component with the name "2 Way Switch" and a gate score of 0 appeared in my custom component list. I cannot edit nor delete it from my component list, as it does not appears in the list of components when I open the "Switch schematic" menu. I cannot delete it from my save file either, as it is simply not here. While this component does not seems to cause any crash, I can still place it anywhere I want /even on other components) and once placed I cannot select it, the only way to remove it is to use CTRL-Z

Version

0.1191 Beta

What OSes are you seeing the problem on?

Windows

Relevant debug.log output, search next to the exectuable

No response

getItemFromBlock commented 1 week ago

UPDATE: It looks like the custom component is taken from an already existing custom component (in my case it was one in the schematic_hub folder) and the game was making it appear at the root of the custom components category. The "original" component was not usable in game because of an error in it (two pins on the same square) and fixing it made the component disappear. However this does not seems to be the case for eryk500, read the discord thread for more info.