Red Dwarf: 11 Episodes That Never Made It To Air
6. Phwooaar - Series 8 Episode 5
When Series 8 was being developed, Series 7 and 8 writer Paul Alexander independently produced a script titled Phwoaarr. A story that would have featured the crew discovering a derelict spaceship where a new perfume was being tested that caused insatiable sexual attraction to whoever smelt it. This would have ended up causing Rimmer and Kochanski to have sex, leading to a lot of jealousy from Lister.
Phwoaarr was rejected on the grounds that its tone and content were inappropriate (at one point involving piles of nude corpses) but Series 5’s Sexual Magnetism Virus was brought back for Series 8’s opening trilogy, and the idea of Rimmer and Kochanski having sex resurfaced as part of Cassandra (Episode 4). An episode that Paul Alexander is credited as a script associate on. Looks like that was one plot point he wasn’t keen on letting go of.
Elsewhere; the piles of nude corpses scene made an appearance more recently in the Series 11 episode Samsara, as part of an attempt by a doomed crew to outwit their ship's karma drive (reprogrammed to reward negative behaviour) by... doing something that looked a bit like playing Twister. It seems that switching the nude corpses to skeletons was enough to okay that particular scene.