Electronic – Anything wrong with this Mosfet H-bridge

h-bridgeheatmosfet

I am very knew to electronics and was planning to build my first robot. I search around google for H-bridge designs and drew the following schematic(OLD)enter image description here

NEW
enter image description here
I know that testing a circuit on a simulation and in real life are to very different things, on the simulation the circuit works good.
The two inputs are coming from a RF module with a PT2262 decoder, that's why I chose two logic level n-channel mosfets(IRL520) at the low side.
The motors are both(same circuit twice) 12V and 2,19A of stall current each. Each optocoupler is a 4n35.
My power source is a 12V 5A lead acid battery.

The problem:
(When testing on a breadboard)When one input is high, the mosfets that are not being used get really hot and the motor turn very slow or not at all. I was thinking maybe the way that I wired it to my breadboard is off? This problem has been bugging me for a little while. I am hoping one of you experts are able to tell me what might be happening here?
I decided to build my own motor driver for educational purposes and cannot get any other components for now

*EDIT: I've uploaded a new schematic with the changes and switched the p-channel mosfets(my bad)

*EDIT 2: Motors are 12VDC brushed gearmotors.

EDIT 4: Sorry for the delay, here are some measurements that might aid in answering;

enter image description here
enter image description here
enter image description here
enter image description here
enter image description here
enter image description here
enter image description here
enter image description here

Best Answer

When input switches go open circuit, there is nothing significant pulling charge from the mosfet gates on the low side. Try adding 1 kohm resistors to ground between gate and source on the low side mosfets. Without this addition, you cannot rely on the photodiode circuit for dragging down the gate to 0 volt and this will leave the lower mosfets partially on.

I'm not ruling out that there are other problems of course.