Create

Create

86M Downloads

Game crashes and bricks world with downwards facing mechanical pistons

Gamershy opened this issue ยท 6 comments

commented

Describe the Bug

A very severe game crashing error with all mechanical pistons in a downward position facing orientation. Crashes with error:

The game crashed whilst unexpected error
Error: java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 0
Exit Code: -1

Based on what I'm seeing in the error description, it seems that when mechanical pistons are facing downwards, they count the number of piston poles as negative values instead of positive values, which is out of the expected bounds of a value higher than 0.
This also bricks the world the crash occurs in, as the game saves the world before closing down, the moment the world is reloaded, the game crashes again due to the same error. Thankfully this happened in a test world where I was testing elevator doors...

Reproduction Steps

Place a mechanical piston with the head facing downward
Apply rotational force to mechanical piston after attaching arm extensions
Crash.

Expected Result

Game shouldn't crash, probably should use absolute values for the mechanical piston instead of the real value.

Screenshots and Videos

No response

Crash Report or Log

https://pastebin.com/Xf9MGDYc - Was originally incorrect log, my bad.

Operating System

Windows 11

Mod Version

0.4.1

Minecraft Version

1.18.2

Forge Version

40.1.0

Other Mods

Big list incoming:
Flywheel (Required by Create)
Collective
Sound Physics Forge
HT's Tree chop
Damage Tilt
Camera Overhaul
Inventory Hud +
Cloth Config
Citadel
Ars Nouveau
Curios
Patchoulli
Geckolib
FastLeafDecay
PArcool
Waystones
Balm
Pick Up Notifier
Config Menus Forge
PuzzlesLib
Feature NBT Deadlock Begone
Alex's Mobs
AutoRegLib
Quark
Map Atlases
Batty's Coordinates PLUS
QuarkOddities
Death Compass
Natural Decoration
Bygone Nether
Nekos Enchanted Books
Rex's Additional Structures
MmmMmmMmmMmm (Test Dummy Mod)
Supplementatries
Selene Lib
Artifacts
SCaling Health
Silent lib
Expandability
Diagonal Fences
Yung's Better Mineshafts
Yung's API
JEI
Polymorph
Customizable Elytra
CustomPlayerModels
Chimes
Trash Slot
Item Borders
Iceberg
Ambient Sounds
Creative Core
Let Sleeping Dogs Lie
Hourglass
Just Enough Resources
Friendly Fire
Encahntment Descriptions
Toro Health
Cosmetic Armor Reworked
Visuality
Clean view
Drip sounds
Falling leaves
Starlight
Curio of Undying
Curios Quark Backpack addon
Size Shifting Potions
Pehkui
Bookshelf
Spyglass Improvements
Enchanced Visuals
MCPaint
Player trade
PlayerRevive
ensorcellation
incantationem
caelus
COFH core
Joy of Painting
Integrated Dungeons and Structures
Sit
What the Hell is This?
Badpackets
Controlling
Tetra
Mutil
Chisels & Bits

Doesn't appear related to any of the mods, however, from my testing.

Additional Context

Occurs regardless of rotation input method.

commented

Crash log appears to be for fabric, without Create even being in it
May want to find the right one, as this is for Forge Create

commented

My bad, I thought my crash logs folder was sorted by date, ended up grabbing a really old log lmao. Here's the proper log, I'll edit the original report too. https://pastebin.com/Xf9MGDYc

commented

So... uh..... anything going on with this or is it being ignored?

commented

I believe this seems to be an issue with Starlight. I think if #3111 gets merged, it will fix the issue,

commented

Well, the sooner the better lol. Completely ruined a design I had in mind for a gate that'd open upwards when an elevator reached a given floor

commented

I believe this seems to be an issue with Starlight. I think if #3111 gets merged, it will fix the issue,

Yeah this is the same as Fabricators-of-Create#360 and would be fixed by #3111.