Compact Machines

Compact Machines

65M Downloads

Create contraptions not properly chunkloaded when traveling from one compact room to a different one.

Classified3939 opened this issue ยท 5 comments

commented

I am not using performance mods.

  • Confirm

Description

I attempted to make a create contraption inside a compact machine room. The contraption worked perfectly fine, until I left the room. When I came back, the contraption was still running, but invisible. There was also a "ghost" form of the contraption that was stuck jerking back and forth in its animation, with no hitbox or way to destroy it. Note that, while the actual contraption is invisible, its hitbox remains solid and still moving properly.

Leaving and re-entering the room multiple times creates multiple ghosts. This occurs in rooms with and without the chunkloading upgrade.

Eventually, I ran F3+A to reload the chunk. This proved successful in both deleting the ghost and restoring visibility to the actual, solid contraption. This only fixes the symptoms, though. The bug still occurs on every occasion where I leave a room with a create contraption in mid-motion.

Note that this was occurring on Create 0.5.0c, but the update to the recently-released Create 0.5.0d and its corresponding Flywheel version changed nothing. The mod Connectivity, which allegedly helps with ghost blocks like this, also did nothing. Only other mods installed are UI Mods (JEI, One Probe, Mouse Tweaks, Patchouli)

Mod Version

compactmachines-4.5.0.jar

Forge Version

1.18.2-40.1.73

Link to Crashlog

No response

Screenshot (if available)

2022-08-14_18 41 04

Screenshot of the ghost entity still being there even when the contraption is stopped.

How to reproduce

  1. Create a compact room of any size (although smaller rooms are harder to construct contraptions in). It may have a chunk loading upgrade or not, doesn't matter.
  2. Use either a mechanical piston, a cart constructor, or a mechanical bearing to create a moving contraption using standard Create mechanics. The machine will work fine.
  3. Leave the room, either by shrinking into another machine block placed inside the room, or simply growing to wherever the room was originally placed.
  4. Go back to the room. There will be an intangible entity of the contraption glitching between two points of its animation.
  5. Note the state of the real, solid contraption. It should still be there, but it MAY be invisible (testing showed that mechanical pistons don't usually turn invisible, mechanical bearing contraptions always turn invisible, and cart contraptions would have the minecart be invisible but the blocks above it sometimes still there.
  6. Repeat as many times as you like, for additional ghost entities. Cart contraptions are the easiest to notice this occurring.
  7. Press F3+A to reload chunks and delete all ghost entities, and restore the solid contraption to full visibility.
commented

Oh, and I should mention that stopping the contraption after it is glitched restores visibility, but does not delete the ghost entity(s). This is what the screenshot shows.

commented

Ok, I just realized that every problem listed here is not with going between the overworld and compact machine dimension, but with going BETWEEN compact machine dimensions. I will change the title accordingly.

commented

OH, and travelling to the proper overworld and back actually deletes the ghost entities as well as F3+A. So really, the problem is with the chunkloading upgrade assuming that the room is loaded just because the player is in the compact rooms dimension.

commented

I will further add that teleporting between rooms in the compact dimension does not break contraptions, it is only when travelling between rooms via the shrinking device, without going to the overworld, that the bug occurs.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.