Project Red - Core

Project Red - Core

42M Downloads

Crash when interconnecting bundled with framed cables

NDev8 opened this issue ยท 4 comments

commented

Describe the bug
When placing 3 framed bundled cables or colored framed cables in a row surrounded by bundled cables with different colors and interconnecting with them (see screenshot), an ArrayIndexOutOfBoundsException is thrown.

To Reproduce
Steps to reproduce the behavior:

  1. Checkout bc91f0c
  2. Start an empty world
  3. Build structure as shown in screenshot
  4. Enjoy the exception

Expected behavior
Cables interconnect with each other without crashing the game.

Crash Log
crash-2021-04-29_20.01.29-client.txt

Versions
ProjectRed at: bc91f0c

Screenshots/Videos
2021-04-29_19 57 01
It does not matter, if a blue framed cable or a bundled framed cable is used.

commented

Nice find, taking a look..

commented

Happens when any framed cable is connected on all 6 sides, it seems

commented

Fixed with 287e99b

commented

Happens when any framed cable is connected on all 6 sides, it seems

Ah that's the reason why it needed three framed wires. I woundered.