Optical switches do not do well in vehicle/automotive applications- if the dirt doesn't contaminate them, the heat or moisture does.
You are very hard pressed to find slotted optical switches that are
AEC-Q102 qualified. I think they aren't reliable- can't seal them due to moving parts, temperature cycles or the heat are very harsh and CTR degrades as they rapid age.
Chevy 90's LT1 Optispark was a flop for all the reasons I've listed.
I notice more automotive racing distributors are using optical pickups, which surprises me but there is much less sensitivity to EMI.
Most are primitive 8-slot like Mallory Unilite, using 5mm LED/photo-transistor.
The MSD (pic) looks totally overboard with what 1,024 slot wheel? Silly because the slop in timing chain and distributor gears makes that pointless (pun intended).
A crankshaft 60-tooth pickup is fine. Unless a one or two cylinder engine, because they have huge variations in crank velocity an ECU can make timing errors generating the next spark or fuel injection event. A V-twin is terrible, the crank slows down during a compression stroke, speeds up after ignition, but a misfire can happen and the 45° firing interval Harley riders love makes it rough to follow to estimate spark timing.