Create

Create

86M Downloads

Crash VirtualChunk cannot be cast to class LevelChunk

UdoMorgenstern opened this issue ยท 4 comments

commented

Describe the Bug

We updated a world from 1.18.2 to 1.19.2

Sometime directly sometime when after moving around a bit we get a crash
(tested in singel player as well an on a real server/client setup)

com.google.common.util.concurrent.UncheckedExecutionException: java.lang.ClassCastException: class com.jozufozu.flywheel.core.virtual.VirtualChunk cannot be cast to class net.minecraft.world.level.chunk.LevelChunk (com.jozufozu.flywheel.core.virtual.VirtualChunk is in module [email protected] of loader 'TRANSFORMER' @37b1149b; net.minecraft.world.level.chunk.LevelChunk is in module [email protected] of loader 'TRANSFORMER' @37b1149b)

Reproduction Steps

load world, error appears
OR
load world, walk around a bit, error appears

sorry it's a bit thin, hope the crashlog helps more

Expected Result

no crash

Screenshots and Videos

No response

Crash Report or Log

http://kevin-nation.com/crashreports/crash-2022-09-29_19.11.53-client.txt

Operating System

Windows 10

Mod Version

0.5.0f

Minecraft Version

1.19.2

Forge Version

43.1.27

Other Mods

blue_skies-1.19.2-1.3.20.jar
supermartijn642configlib-1.1.6b-forge-mc1.19.jar
tinyredstone-1.19-4.1.0.jar
simplemagnets-1.1.8b-forge-mc1.19.jar
player-animation-lib-forge-0.4.0-test1.jar
ellemes-container-library-2.1.0-alpha.9+1.19-forge
connectivity-1.19.1-3.3.jar
mcw-windows-2.0.3-mc1.19.jar
sophisticatedcore-1.19.2-0.5.12.130.jar
rubidium-0.6.2.jar
rsgauges-1.19.2-1.2.13-b2.jar
XaerosWorldMap_1.27.0_Forge_1.19.1.jar
Controlling-forge-1.19.2-10.0+6.jar
citadel-1.12.12-1.19.jar
alexsmobs-1.20.1.jar
moreminecarts-1.5.3.jar
sophisticatedbackpacks-1.19.2-3.18.29.719.jar
mcw-doors-1.0.7-mc1.19.2.jar
jeed-1.19.2-1.17.jar
balm-4.5.3.jar
carryon-1.19-1.18.1.2.jar
JustEnoughResources-1.19.2-1.1.0.179.jar
cloth-config-8.2.88-forge.jar
shetiphiancore-1.19-3.11.0.jar
absentbydesign-1.19-1.7.0.jar
twilightforest-1.19-4.2.1421-universal.jar
supplementaries-1.19.2-2.2.3.jar
emojiful-1.19-3.1.3.jar
upgradednetherite-1.19.2-5.1.0.1-release.jar
structure_gel-1.19.2-2.6.2.jar
chipped-1.19.2-1.2.1-forge.jar
mcw-bridges-2.0.4-mc1.19.2forge.jar
customizableelytra-1.19.0-1.7.2.jar
morevillagers-forge-1.19-4.0.3.jar
modifiedanvil-1.19.2-0.0.1.jar
mcw-trapdoors-1.0.7-mc1.19.2.jar
mcw-fences-1.0.6-mc1.19.2.jar
transparent-5.1.0+1.19-forge.jar
supermartijn642corelib-1.0.19a-forge-mc1.19.jar
simplylight-1.19-1.4.4-build.39.jar
curios-forge-1.19.2-5.1.1.0.jar
Patchouli-1.19.2-76.jar
oculus-mc1.19.2-1.2.8.jar
collective-1.19.2-4.69.jar
camera-1.19.2-1.0.1.jar
FramedBlocks-6.4.0.jar
villagertools-1.19-1.0.3.jar
expandedstorage-8.0.2+1.19-forge.jar
buildersaddition-1.19.2-20220926a.jar
worldedit-mod-7.2.12.jar
mcw-roofs-2.2.0-mc1.19.2-forge.jar
littlelogistics-mc1.19.2-v1.3.0.jar
cfm-7.0.0-pre34-1.19.jar
architectury-6.2.46-forge.jar
BambooEverything-forge-2.0.0-build.23+mc1.19.2.jar
light-overlay-7.0.1-forge.jar
the_bumblezone_forge-6.2.9+1.19.2.jar
geckolib-forge-1.19-3.1.21.jar
TradingPost-v4.2.0-1.19.2-Forge.jar
mcw-lights-1.0.4-mc1.19.2.jar
clienttweaks-forge-1.19-8.1.0.jar
trashslot-forge-1.19-12.0.0.jar
torchslabmod-1.19.2_v1.7.4.jar
ftb-library-forge-1902.3.9-build.144.jar
ftb-teams-forge-1902.2.9-build.61.jar
mining_helmet-1.19-2.1.1.jar
jei-1.19.2-forge-11.3.0.262.jar
goblintraders-1.8.0-1.19.2.jar
waystones-forge-1.19-11.1.0.jar
goldenhopper-1.2.8-1.19.jar
ForeverAChild-1.19-1.0.2.jar
Clumps-forge-1.19.2-9.0.0+11.jar
comforts-forge-6.0.1+1.19.2.jar
Decorative Blocks-forge-1.19.2-3.0.0.jar
DungeonCrawl-1.19-2.3.11.jar
starlight-1.1.1+forge.cf5b10b.jar
kevinnation-1.19.2-1.2.jar
ars_nouveau-1.19.2-3.4.0.jar
ftb-chunks-forge-1902.3.9-build.168.jar
DungeonsArise-1.19-2.1.51-beta.jar
logprot-1.19.1-1.8.jar
voicechat-forge-1.19.2-2.3.9.jar
moonlight-1.19.2-2.0.29.jar
bettercombat-forge-1.4.3+1.19.jar
ToolBelt-1.19-1.19.6.jar
Jade-1.19.1-forge-8.3.0.jar
SaveYourPets-1.19-1.0.7.jar
CreativeCore_FORGE_v2.8.6_mc1.19.2.jar
spectrelib-forge-0.10.0+1.19.jar
domum_ornamentum-1.19-1.0.60-ALPHA-universal.jar
betterfpsdist-1.19.1-1.6.jar
Paintings-forge-1.19.2-10.2.1.0.jar
forge-1.19.2-43.1.27-universal.jar
client-1.19.2-20220805.130853-srg.jar
flywheel-forge-1.19.2-0.6.7-8.jar
create-1.19.2-0.5.0.f.jar
ecologics-forge-1.19.2-2.1.10.jar
Xaeros_Minimap_22.14.1_Forge_1.19.1.jar
gravestone-1.19.2-1.0.1.jar
Croptopia-1.19.2-FORGE-2.1.0.jar
polymorph-forge-0.45.0+1.19.2.jar
multibeds-1.19-1.10.0.jar
JustEnoughProfessions-forge-1.19-2.0.1.jar
AutoRegLib-1.8-54.jar
Quark-3.3-371.jar
DramaticDoors-Forge-1.19.2-2.1.3.jar
EarthMobs-1.19.2-3.2.1.jar
upgradedcore-1.19.2-4.1.0.0-release.jar
ferritecore-5.0.1-forge.jar
PuzzlesLib-v4.3.8-1.19.2-Forge.jar
flowerseeds-1.19.2-3.0.2.jar
CosmeticArmorReworked-1.19.2-v1.jar
drinkbeer-1.19.0-2.4.0.jar
xptome-1.19-2.1.6.jar

Additional Context

Old world, updated from 1.18.2 forge 40.1.80 (create 0.5.0e) to 1.19.2 forge 43.1.27

commented

As the original commenter said, 1.18 doesn't have the same issue, train worked completely fine. Sad that you can't have trains in 1.19.2 though...

commented

Crash only happens on client side
In most cases the crash occurred when our create based train station can into render distance

commented

Got the same bug too, server did not crash but all my friends and I get a crash. For us, it happened exactly when we first assembled the train, and now nobody can join on the server!

commented

Update: loaded original world in 1.18.2 then put all running trains into block mode
after that loaded the world in 1.19.2, assembled trains and put them back onto their schedule.

so far this workaround solved our issue, even teleported around and moved back into areas with trains / trains incoming

PS this was done on a single player test, still to be tested on a client & server setup