No start when hot

Car is a 1992 Toyota Celica GT 2.2l 4cyl 5spd

When the engine has been at operating temperature for at least 15 minutes and a brief stop where the car does not get to sit for about 10 minutes it will just crank but will not start. When it does start it will misfire for about 30 seconds. I have tested fuel pressure and the engine is getting fuel. I am however not getting spark. The plugs, wires, cap, rotor, distributor, coil have been replaced. When I’ve had the no start issue I have tried known working ignition module, ignition switch and ecm. Battery terminals are newer, clean and tight. I have checked and cleaned other grounds. None of these have solved the issue. No check engine light has been thrown and I checked for any stored codes and none were found. Is there anything anyone knows I might be missing?

If you haven’t checked the power to the ignition area while the trouble is happening then verify that is okay. If that is ok then I would guess the crank sensor may be bad.