The bug
Powered, activator and detector rails disappear when pushed or pulled onto a block they cannot be placed on, like soul sand, leaf, air or water.
How to reproduce:
Power the piston in the attached image, the soul sand can be by any block whose rails cannot stand on
❌ The rail will disappear instead of dropping.
Related issues
is duplicated by
relates to
testing discovered
Attachments
Comments


Why was this marked as a duplicate of: https://bugs.mojang.com/browse/MC-146928
The rail is actually deleted...as in disappears. It doesn't pop off, it just ceases to exist.
It's not only related to soul sand. Actually the bug occurs when placed on any block you can't place rails on. ✔ Updated ticket

can reproduce in 1.15 pre-5

The rails will also disappear if moved into an "unsupported" state. Moving an inclined rail to a position without the higher block also causes the rail to disappear. Yet moving the higher block away from the rail causes the rail to pop off as would be expected.

can reproduce in 1.15.2

Can reproduce in 1.16.1

Confirmed for 1.16.2 pre-1 for e.g. water and leaves, however not confirmed (anymore) for soul sand, maybe the setup shown in the picture as well as the description should be updated.