K2SO (Krastorio 2 Spaced Out) mod overhaul has an additional recipe to craft electronic circuits, which includes wood. This mod does not hide the signal from this alternative recipe, resulting in two distinct signals: "electronic-circuit" and "kr-electronic-circuit-wood".
What did I do:
- Place an assembler (or electromagnetic plant) and a constant combinator with a signal of "electronic-circuit" and a value of 1.
- Wire the constant combinator to the assembler (or electromagnetic plant) (use red or green it doesn't matter)
- Enable "Set recipe" in the assembler (or electromagnetic plant) option.
- (4) The assembler (or electromagnetic plant) set the recipe to "kr-electronic-circuit-wood".
The assembler (or electromagnetic plant) set the recipe to "electronic-circuit"
Frequency of occurrence:
Always.
What I think is happening
I tried my hand at debugging this to see if it was first a modding issue or issue with base functionality of factorio, but I wasn't able to determine the mechanism that an assembler chooses its recipe from a signal. I think that maybe it's looking for the first recipe that it can craft to satisfy the signal, instead of getting the recipe from the signal itself.
I'm sure that there's a few workarounds that can be implemented. Maybe fiddling with the order of the recipe? Regardless, given the two options of signal ("electronic-circuit" and "kr-electronic-circuit-wood") I would have expected to be able to differentiate setting the crafting recipe via signal.

