Fabricators-of-Create / Create

[Fabric Mod] Building Tools and Aesthetic Technology
MIT License
827 stars 185 forks source link

Flywheel instancing crash #1428

Closed HaXrBOT closed 2 weeks ago

HaXrBOT commented 3 weeks ago

Describe the Bug

When teleporting to areas with lots of machines from Create Fabric on my server, the game will crash with the following error: "java.lang.IllegalStateException: Not filled all elements of the vertex":

This does not occur when the Flywheel backend is set to "OFF" or "BATCHING".

This can also be reproduced by simply toggling the Flywheel backend off and back to instancing.

Reproduction Steps

  1. Log onto a server and stand in an area with a bunch of Create machines.
  2. Use commands to set Flywheels backend to OFF.
  3. Use commands to set Flywheels backend back to INSTANCING

After a bit of loading, the game crashes without fault.

Expected Result

Shouldn't crash.

Screenshots and Videos

No response

Crash Report or Log

https://gist.github.com/HaXrBOT/c9e4ffbd0c65d739e27f524c9b0dd0b7

Operating System

Windows 11

Mod Version

0.5.1f

Minecraft Version

1.20.1

Other Mods

https://gist.github.com/HaXrBOT/46b7613af7068c0834f7fdb8ee6eedc3

Additional Context

Do note that this is only tested using a larger modpack and that if you simply log back in after the crash in the same area, it sometimes lets you continue to play without crashing. It seems to only be happening when loading the terrain or reloading the Flywheel backend.

Sorry for lack of specifics in terms of the machines in the area. This is a players base on my server that is causing problems, so not sure exactly which machine is the cause.

PepperCode1 commented 3 weeks ago

Your mod list contains "Create Fabric Sodium Fix" but not "Create". Are you sure you are using the official 0.5.1f version? Forks are not supported.

HaXrBOT commented 3 weeks ago

Sorry, my bad. That was the wrong modlist. Here is the right one: https://gist.github.com/HaXrBOT/de19cabe805deb00781f7a933bb077cc

HaXrBOT commented 3 weeks ago

I do use the official 0.5.1f version. Sorry for the confusion.

TropheusJ commented 3 weeks ago

Can you try without iris

HaXrBOT commented 3 weeks ago

Can you try without iris

Thank you for pointing me in the right direction. It seems as if this is caused by "Iris & Oculus Flywheel Compat", since removing that makes the issue go away.

Similar crash logs to mine are being reported on their repo: https://github.com/leon-o/iris-flw-compat/issues/108