MrTJP / ProjectRed

Redstone Engineering
MIT License
474 stars 184 forks source link

[Bug] Intergration crash on startup #1870

Open border999 opened 5 months ago

border999 commented 5 months ago

Minecraft version

1.20.x

CodeChickenLib version

CodeChickenLib-1.20.1-4.4.0.512-universal

CBMultipart version

CBMultipart-1.20.1-3.3.0.146-universal

ProjectRed version

ProjectRed-1.20.1-4.19.0-beta+3-integration

What happened?

"Crash" during startup

Crash log

https://gist.github.com/border999/6c3e1063ee0d8db2fd13a804abdb9d4f -debug.log https://gist.github.com/border999/4f19503dba9c51b992f60cbe287157b2 -latest.log

How do you make it happen again?

attempt to start game.

MrTJP commented 4 months ago

Hi. Are you using a texture/resource pack for Project Red? Looks like Gate models are having trouble loading.

Caused by: java.lang.ClassCastException: class [Lcodechicken.lib.vec.Vector3; cannot be cast to class codechicken.lib.render.model.ModelMaterial ([Lcodechicken.lib.vec.Vector3; and codechicken.lib.render.model.ModelMaterial are in module codechickenlib@4.4.0.512 of loader 'TRANSFORMER' @2801ccb3)
    at codechicken.lib.render.model.ModelMaterial$1.copyRange(ModelMaterial.java:14) ~[CodeChickenLib-1.20.1-4.4.0.512-universal.jar%23951!/:4.4.0.512]
    at codechicken.lib.render.CCModel.copy(CCModel.java:590) ~[CodeChickenLib-1.20.1-4.4.0.512-universal.jar%23951!/:4.4.0.512]
    at codechicken.lib.render.CCModel.combine(CCModel.java:777) ~[CodeChickenLib-1.20.1-4.4.0.512-universal.jar%23951!/:4.4.0.512]
    at mrtjp.projectred.integration.client.GateComponentModels.loadModel(GateComponentModels.java:171) ~[ProjectRed-1.20.1-4.19.0-beta+3-integration.jar%231310!/:?]
    at mrtjp.projectred.integration.client.GateComponentModels.loadBaseModel(GateComponentModels.java:175) ~[ProjectRed-1.20.1-4.19.0-beta+3-integration.jar%231310!/:?]
    at mrtjp.projectred.integration.client.GateComponentModels.<clinit>(GateComponentModels.java:42) ~[ProjectRed-1.20.1-4.19.0-beta+3-integration.jar%231310!/:?]
    at mrtjp.projectred.integration.client.GateModelRenderer.onTextureStitchEvent(GateModelRenderer.java:154) ~[ProjectRed-1.20.1-4.19.0-beta+3-integration.jar%231310!/:?]
    at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:260) ~[eventbus-6.0.5.jar%2387!/:?]
    at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:252) ~[eventbus-6.0.5.jar%2387!/:?]
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2387!/:?]
ashi0-a commented 3 months ago

Try just turning it off and on in curseforge, it works for me

border999 commented 3 months ago

not using curseforge modloader. I do not have a texture pack or anything for projectRed

I2pRandom commented 3 months ago

I seem to be getting the same issue, inconsistent random crashing on startup. debug.log latest.log crash-2024-08-20_16.50.26-client.txt

border999 commented 2 months ago

I assume this has been fixed in one of the version that has come out in intervening time? Just checking in on this so I know whether or not to close this. Can't confirm it's fixed on my end because I'm dealing with a different and new crash from this mod that I submitted an issue ticket for a few minutes ago.

FocalFlare commented 2 months ago

I assume this has been fixed in one of the version that has come out in intervening time? Just checking in on this so I know whether or not to close this. Can't confirm it's fixed on my end because I'm dealing with a different and new crash from this mod that I submitted an issue ticket for a few minutes ago.

For such issue (in my case it's with Entity Texture Features, as from #1888), I personally wouldn't get your hopes up for it to be addressed any time soon. I know that sounds a bit cold to say, but I had to close my issue as not planned since the lack of any responses forced me to assume that this issue (not this one that's open) wouldn't be looked into. 😔

border999 commented 2 months ago

https://github.com/MrTJP/ProjectRed/issues/1893 https://gist.github.com/border999/4dc16011d0c9481c153c0680ed51db84 This is still an issue two version later.

MrTJP commented 2 months ago

For those of you still having this issue, we may have found the cause in CCL. Please try the test jar that @covers1624 has uploaded on this issue:

https://github.com/TheCBProject/CodeChickenLib/issues/460