Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storing a quantum bridge + spatial anchor inside a spatial storage does not work as expected #5055

Closed
LuckyTeran opened this issue Mar 11, 2021 · 1 comment
Labels
enhancement An enhancement for an existing feature

Comments

@LuckyTeran
Copy link

Describe the bug
Storing a quantum bridge + spatial anchor inside a spatial storage cell does not keep the bridge, network and anchor active and the connection to the bridge gets lost.

To Reproduce
Build a minimal network in the overworld consisting of:

  • Controller
  • Creative Energy Cell
  • Spatial Anchor
  • Quantum Bridge + entangled singularity
  • Spatial IO Port + Spatial Cell + Button
  • Spatial Pylons
  • ME Crafting Terminal

Inside the SCS area build:

  • Controller
  • Creative Energy Cell
  • Spatial Anchor
  • Quantum Bridge + the other entangled singularity
  • ME drive + storage cell

Go to the Terminal and put items into the Network. Check the Spatial Anchor, it should show something along the lines of "Loading/Spanning x chunks in 1 worlds". Trigger the Spatial IO Port to store the drive, bridge and anchor inside the spatial storage. Check the Terminal again, no Items are visible. Check the Spatial Anchor, it should show something along the lines of "Loading/Spanning x chunks in 1 worlds", so no change. Bring back the SCS Area from storage. The Items should show up again in inside the Terminal. Store the SCS Area again inside the storage. Use "/ae2 spatial tp 1" to teleport inside the spatial cell. Check the anchor inside the cell it now shows something like "Loading/Spanning x chunks in 2 worlds". Teleport back to the overworld with "/ae2 spatial tpback". Check the overworld anchor it now shows something like "Loading/Spanning x chunks in 2 worlds"

Expected behavior
When i send a anchor and a quantum bridge into spatial storage i expect the anchor to keep the chunks inside the spatial dimension loaded without the need to teleport inside the cell. The anchor in the overworld should show/update to "Loading/Spanning x chunks in 2 worlds" to signal that the bridged part inside the spatial cell is still loaded and active and it should be possible to access the items inside the drive.

Environment
Singleplayer/Multiplayer
F3+C crashlog: https://pastebin.com/LYcuA0vU

@yueh
Copy link
Member

yueh commented Mar 13, 2021

This is not that easy to to how forge loads chunks and immediately unloads them after a transfer as well as there is no way currently to determine the affected chunks.

We basically would have to chunkload a large enough area to cover a 128^3 cell regardless of where the anchor is placed. Which probably means forcing a 17x17 chunk area to be temporary force loaded and then reduce to the actual network size later. However this could lead to some other inconsistencies.

Ideally a player would teleport into the cell initially and then then setup an anchor. But that is a bit difficult to get then back out of it.

@yueh yueh added this to the 8.3.0-beta - 1.16.5 milestone Mar 13, 2021
@yueh yueh added the enhancement An enhancement for an existing feature label Mar 13, 2021
@yueh yueh closed this as completed in c7224af Mar 17, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement An enhancement for an existing feature
Projects
None yet
Development

No branches or pull requests

3 participants
@yueh @LuckyTeran and others