HMCL-dev / HMCL-dev/HMCL

启动器误将“recommends”的内容识别为崩溃原因,有误导性

Open
#2,507 6 comments 0 reactions 1 assignee View on GitHub

@zkitefly is already working on this.

Since Jan 11, 2024.

game crash
Dominant language
Java
Stars
10.1k
Forks
934
Avg merge
1d 5h
Merged PRs (30d)
82

Description

启动器版本 Launcher Version

3.5.4.234

平台 Platform

Windows 11

问题描述 Problem Description

在启动游戏崩溃后,启动器提示的崩溃原因是
图片
但实际上,“recommends”并不是导致崩溃的原因,只有“requires”和“breaks”才是。真正的崩溃原因应该从日志中决定。

Java

17.0.8

游戏版本 Game Version

1.20.1

对游戏所做的修改 Modifications Made to the Game

Fabric Mod

游戏崩溃报告 Game Crash Report
[08:48:30] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/E:/Minecraft/1.20/libraries/net/fabricmc/sponge-mixin/0.12.5+mixin.0.8.5/sponge-mixin-0.12.5+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT
[08:48:31] [main/INFO]: Compatibility level set to JAVA_16
[08:48:31] [main/INFO]: Compatibility level set to JAVA_17
[08:48:31] [main/WARN]: Reference map 'betterconfig-refmap.json' for betterconfig.mixins.json could not be read. If this is a development environment you can ignore this message
[08:48:31] [main/WARN]: Reference map 'client-betterconfig-refmap.json' for betterconfig.mixins.client.json could not be read. If this is a development environment you can ignore this message
[08:48:31] [main/WARN]: Reference map 'clientarguments-refmap.json' for clientarguments.mixins.json could not be read. If this is a development environment you can ignore this message
[08:48:32] [main/INFO]: Loaded configuration file for Lithium: 115 options available, 2 override(s) found
[08:48:32] [main/INFO]: Loaded configuration file for Sodium: 41 options available, 3 override(s) found
[08:48:32] [main/WARN]: Reference map 'supermartijn642configlib.mixins.refmap.json' for supermartijn642configlib.mixins.json could not be read. If this is a development environment you can ignore this message
[08:48:32] [main/WARN]: Error loading class: me/shedaniel/rei/gui/widget/TextFieldWidget (java.lang.ClassNotFoundException: me/shedaniel/rei/gui/widget/TextFieldWidget)
[08:48:33] [main/WARN]: Force-disabling mixin 'alloc.blockstate.StateMixin' as rule 'mixin.alloc.blockstate' (added by mods [ferritecore]) disables it and children
[08:48:33] [main/WARN]: Force-enabling mixin 'block.hopper.worldedit_compat.WorldChunkMixin' as rule 'mixin.block.hopper.worldedit_compat' (added by mods [lithium-fabric]) enables it
[08:48:33] [main/WARN]: Force-disabling mixin 'features.render.entity.CuboidMixin' as rule 'mixin.features.render.entity' (added by mods [iris]) disables it and children
[08:48:33] [main/WARN]: Force-disabling mixin 'features.render.entity.ModelPartMixin' as rule 'mixin.features.render.entity' (added by mods [iris]) disables it and children
[08:48:33] [main/WARN]: Force-disabling mixin 'features.render.entity.cull.EntityRendererMixin' as rule 'mixin.features.render.entity' (added by mods [iris]) disables it and children
[08:48:33] [main/WARN]: Force-disabling mixin 'features.render.entity.shadows.EntityRenderDispatcherMixin' as rule 'mixin.features.render.entity' (added by mods [iris]) disables it and children
[08:48:33] [main/WARN]: Force-disabling mixin 'features.render.gui.font.GlyphRendererMixin' as rule 'mixin.features.render.gui.font' (added by mods [iris]) disables it and children
[08:48:33] [main/WARN]: Force-disabling mixin 'features.render.world.sky.BackgroundRendererMixin' as rule 'mixin.features.render.world.sky' (added by mods [iris]) disables it and children
[08:48:33] [main/WARN]: Force-disabling mixin 'features.render.world.sky.ClientWorldMixin' as rule 'mixin.features.render.world.sky' (added by mods [iris]) disables it and children
[08:48:33] [main/WARN]: Force-disabling mixin 'features.render.world.sky.WorldRendererMixin' as rule 'mixin.features.render.world.sky' (added by mods [iris]) disables it and children
[08:48:33] [main/WARN]: Error loading class: com/nhoryzon/mc/farmersdelight/block/TomatoVineBlock (java.lang.ClassNotFoundException: com/nhoryzon/mc/farmersdelight/block/TomatoVineBlock)
[08:48:33] [main/WARN]: @Mixin target com.nhoryzon.mc.farmersdelight.block.TomatoVineBlock was not found supplementaries.mixins.json:CompatFarmersDelightTomatoMixin from mod supplementaries
[08:48:33] [main/WARN]: Error loading class: me/shedaniel/rei/gui/widget/TextFieldWidget (java.lang.ClassNotFoundException: me/shedaniel/rei/gui/widget/TextFieldWidget)
[08:48:33] [main/WARN]: Error loading class: me/shedaniel/rei/gui/widget/TextFieldWidget (java.lang.ClassNotFoundException: me/shedaniel/rei/gui/widget/TextFieldWidget)
Found 2 error(s) during startup:
- Architectury API 9.1.12 is an unsupported version of Roughly Enough Items 13.0.654! Please use '>=10.0.0 <11.0.0'!
https://www.curseforge.com/minecraft/mc-mods/architectury-api/
- Cloth Config 11.1.106 is an unsupported version of Roughly Enough Items 13.0.654! Please use '>=12.0.0 <13.0.0'!
https://www.curseforge.com/minecraft/mc-mods/cloth-config/
Shader VERTEX compilation status: 
Shader FRAGMENT compilation status: 
Shader linkage status: 
Shader VERTEX compilation status: 
Shader FRAGMENT compilation status: 
Shader linkage status: 

最后这几行有关Architectury API和Cloth Config的才是真正导致崩溃的原因。

启动器崩溃报告 Launcher Crash Report

No response

启动器日志文件 Launcher Log File

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.