mojira.dev
MCPE-19138

Pistons stuck- sometimes don't overwrite the Piston Extension with Air

Occasionally (unable to reproduce reliably) pistons get stuck in the closed position no matter how many times you power and unpower it, and give it block updates.
I have determined the cause: The Piston Extension block (I believe it is ID #36) is the block which is used during the extending/retracting of a piston. After the piston is done moving, the Piston Extension should be overwritten by air or the block being pushed, however sometimes it stays. Because it is unpushable, the piston gets stuck. The piston moves once you break the Piston Extension.
I believe this bug is caused when the game crashes while the piston is moving. This is just my theory. Please fix this, it is causing redstone machines to stop working.

As you can see in the last image, once you break the Piston Extension in front of the piston it opens the piston

Linked issues

Attachments

Comments

migrated

[^IMG_5032[1].PNG]
[^IMG_5033[1].PNG]
[^IMG_5034[1].PNG]

[media]
migrated

I can confirm this exists in 1.03.

I have a row of pistons that extend across a chunk boundary. on occasions when the chunk is loaded, pistons in one of chunks will load as previously described. The problem can be cleared by destroying the wooden surface of the piston. The piston will then extend as expected.

so far, it has only happened in one of the chunks and not the other, it is usally all the pistons in the affected chunk that are in this state, but I have seen on one occasion that only some of the pistons are affected.

Running on android 6

migrated

Confirmed on 1.0.5 / iOS.
I will upload a test world later today which can be used to reproduce the problem fairly reliably.

migrated

Attached a test world.

How to reproduce:

  1. Enable the clocked pistons by activating the lever.

  2. Reload the world repeatedly until something strange happens.

Unexpected results:

  1. Piston extensions can stay there as described in the ticket.

  2. Sometimes pistons get broken for apparently no reason, destroying the whole circuit.

My observations:

  1. For whatever reason the chance of the glitch happening increases when pistons are in contact with some liquid.

  2. Spam-clicking the tp button while pistons are clocked sometimes leads the world to crash, which may or may not be relevant to this bug.

migrated

It even happens without the game crashing or exiting the world

migrated

(Unassigned)

66287

Confirmed

Phone - iOS - iPhone 4S

iOS 9

moving_piston, piston

0.16.2, 1.0.5.54, 1.1.0.1

1.2.5.0

Retrieved