Project Red - Core

Project Red - Core

42M Downloads

[Bug] Intergration crash on startup

border999 opened this issue ยท 8 comments

commented

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.

commented

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 [email protected] 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!/:?]
commented

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

commented

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

commented

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

commented

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.

commented

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. ๐Ÿ˜”

commented
commented

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:

TheCBProject/CodeChickenLib#460