Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

读取本地 Mod 信息缓存失败 #3433

Closed
1 task done
SDHsuifeng opened this issue Feb 26, 2024 · 12 comments
Closed
1 task done

读取本地 Mod 信息缓存失败 #3433

SDHsuifeng opened this issue Feb 26, 2024 · 12 comments
Labels
· Bug 完成 已被处理,将在下次更新之后生效 🟨 中 优先度:中

Comments

@SDHsuifeng
Copy link

SDHsuifeng commented Feb 26, 2024

检查项

描述

就是没法直接靠PCL打开MOD文件夹,一开始,游戏都没法启动,后面重装了下PCL就可以启动了,但是MOD文件夹还是不行

重现步骤

1、点击版本设置
2、点击mod管理

日志与附件

Log1.txt

@SDHsuifeng SDHsuifeng added · Bug 新反馈 需要社区初步确认其有效的新 Issue labels Feb 26, 2024
@SDHsuifeng
Copy link
Author

捕获

@allMagicNB
Copy link
Contributor

allMagicNB commented Feb 26, 2024

能否提供下复现环境?
比如说发下mods文件夹(版本是1.20.1-Forge)

@allMagicNB allMagicNB added 等待提交者 需要提交者补充信息或进行操作 and removed 新反馈 需要社区初步确认其有效的新 Issue labels Feb 26, 2024
@kong-que-dnf123
Copy link

kong-que-dnf123 commented Feb 26, 2024

#于行4278~4287
[10:20:28.760] 读取本地 Mod 信息缓存失败,已重置:未将对象引用设置到对象的实例。
   在 PCL.ModMod.McModLoad(LoaderTask`2 Loader)
错误类型:System.NullReferenceException
[10:20:28.761] Mod 列表加载失败:未将对象引用设置到对象的实例。
   在 PCL.ModMod.McModLoad(LoaderTask`2 Loader)
错误类型:System.NullReferenceException
[10:20:28.761] 加载线程 Mod List Loader (120) 发生运行时错误:未将对象引用设置到对象的实例。
   在 PCL.ModMod.McModLoad(LoaderTask`2 Loader)
   在 PCL.ModLoader.LoaderTask`2._Closure$__13-0._Lambda$__0()
错误类型:System.NullReferenceException

怎么感觉好像已经出现好几个各种各样的 ”未将对象引用设置到对象的实例“

@LTCatt LTCatt changed the title MOD文件夹打开显示:"未将对象引用设置到对象的实例" 读取本地 Mod 信息缓存失败 Feb 26, 2024
@ghost
Copy link

ghost commented Mar 2, 2024

超时关闭吧

@allMagicNB
Copy link
Contributor

超时关闭吧

不至于这么短时间就关

@HexDragon-Bot HexDragon-Bot added 忽略 因为各种杂项原因而关闭 and removed 等待提交者 需要提交者补充信息或进行操作 labels Mar 7, 2024
@kong-que-dnf123
Copy link

能否提供下复现环境?
比如说发下mods文件夹(版本是1.20.1-Forge)

@SDHsuifeng 一个看起来很有意义的ISSUE 等回复再考虑reopen

@iPodtouch6557
Copy link

@SDHsuifeng 一个看起来很有意义的ISSUE 等回复再考虑reopen

基本,这类都是有意义的bug因为不回复石沉大海
但是一个bug要是真的很值得修复的话,不久一定会被另一个更有责任心的人提出并修复……

@lactobionicAcid
Copy link
Contributor

lactobionicAcid commented Aug 30, 2024

打开 PCL 缓存文件夹\Cache\LocalMod.json,将里面删到只剩下空格和换行时,可以稳定触发该 Bug。


该 Bug 的修复方法:在 ./Modules/Minecraft/ModMod.vb 第 855 行,将 CacheContent <> ""
改为 Not String.IsNullOrWhiteSpace(CacheContent)
懒得开 PR 了所以在这里写出来

@wuliaodexiaoluo
Copy link
Contributor

打开 PCL 缓存文件夹\Cache\LocalMod.json,将里面删到只剩下空格和换行时,可以稳定触发该 Bug。

好家伙。。。。
你搁这卡 Bug 呢。。。。这不修的啊喂。。。。

@lactobionicAcid
Copy link
Contributor

lactobionicAcid commented Aug 30, 2024

话说,既然复现方式和修复方法都放出来了,那么龙猫应该会来修的......对吧?(小声

@JingHai-Lingyun
Copy link
Collaborator

再看看?

@JingHai-Lingyun JingHai-Lingyun added 等待确认 已经过社区确认,等待开发者确认 and removed 忽略 因为各种杂项原因而关闭 labels Aug 30, 2024
@LTCatt
Copy link
Member

LTCatt commented Aug 30, 2024

#4633 丢过来一起讨论 =。=

@LTCatt LTCatt added 处理中 开发者正在调查或处理该项 🟨 中 优先度:中 and removed 等待确认 已经过社区确认,等待开发者确认 labels Aug 30, 2024
@LTCatt LTCatt closed this as completed Sep 20, 2024
@HexDragon-Bot HexDragon-Bot added 完成 已被处理,将在下次更新之后生效 and removed 处理中 开发者正在调查或处理该项 labels Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
· Bug 完成 已被处理,将在下次更新之后生效 🟨 中 优先度:中
Projects
None yet
Development

No branches or pull requests

10 participants