mojira.dev
MCPE-141908

Part Visibility component breaks when in multiplayer

My world has a custom block that uses part visibility component and I am the host, when another player joins my world the players sees the custom block like the part visibility wasn't there, but to the host it looks fine.

In the picture on the left side is the host, the custom block pillar's middle is smooth and on the right side is the player who just joined, the player sees a clearly visible bunch of pillar stack on top of each other.

Attachments

Comments 5

Please provide a sample pack with the custom block and details on the devices you are using.

It looks like you and the other player might be using different video settings.

I've attached a screenshot comparison with two different windows 10 devices, both using the exact same video settings. I've also attached the addon featured in the screenshot. The block I am highlighting there is the Chroma Lightstrip block, which can be found in the creative inventory for testing.

I have also had similar issues, i have custom block which uses the part visibility component, I have had players ranging from android to ios to windows repeat it has not worked until i sent them the addon for their own worlds

I also have same issue - I've uploaded image comparison of my pack - on the left there's a image from local world, on the right side  there's screenshot from server - both using the same pack and being played on the same device. (This bug is still case in version 1.17.41)

I recently came across this issue when trying to use an addon that utilizes part_visibility on a Realm. It works fine on Windows 10 when playing locally, but when playing on a Realm, or even hosting it off the Windows 10 machine and connecting others to it remotely (via Switch, in this case), the entire mesh is visible independent of the part_visibility conditions.

I can look at both screens at the same time and see a different block displayed, even though the hitboxes are correctly showing on both (the hitbox dynamically changes to what part(s) would be visible based on the same conditions used in the part_visibility component).

Additionally, for local multiplayer sessions, the part as it shows in inventory / in a players hand properly renders part_visibility based on the default property values on my Windows 10 machine as host, but incorrectly for any other player connected (in addition to in-world).

In short, I have no way to test if it is a platform issue with Realms and/or the Switch as I have only one PC. It could be an issue with multiplayer itself, it could be an issue with the way the blocks hold their state on the platforms mentioned, or it could be the way the geometry is transmitted from server to client.

Dewdimpple

(Unassigned)

625865

Community Consensus

Multiple

custom-blocks

1.17.30, 1.17.41 Hotfix

1.18.10.20 Beta, 1.18.10

Retrieved