Security Craft

Security Craft

63M Downloads

ConcurrentModificationException and chunk invisible with Waystones

Closed this issue ยท 0 comments

commented

Issue description

With Waystones installed sometimes when teleporting to a waystone in a chunk which has multiple security cameras, a ConcurrentModificationException occurs. I originally faced this issue in a larger private modpack and the client would freeze and the chunks would partially render. I've narrowed it down to some sort of incompatibility with Waystones, Balm (library) and SecurityCraft - and now the client freeze is rare but the invisibile chunks are common.

Image

Also not sure if this is an issue with SecurityCraft or Waystones. This issue also occurs when using the portals from Tempad.
Have tried compiling from latest source for the 1.20.1 branch with the same problem.

Steps to reproduce

  1. Create a new world (seed: -6893189640810144604)
  2. Place 3 waystones in various locations (I used these coords: 75 65 123, 100 67 1000, 400 63 400)
  3. At the first location, place a few security cameras and link them to a monitor (I found the issue is more prevalent with about 4 cameras facing different directions)
  4. Teleport through the waystones until the chunks become invisible; may take a few tries

Minecraft version

1.20.1

Forge/NeoForge version

47.4.8

SecurityCraft version

v1.10

Other relevant versions

Waystones version: 14.1.17
Balm version: 7.3.37

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

https://pastes.dev/OaWvQwNryd