PCL-CE icon indicating copy to clipboard operation
PCL-CE copied to clipboard

[C#]: 启动游戏时候失败

Open jate123222 opened this issue 4 months ago • 2 comments

检查项 / Checklist

  • [x] 我已在 Issues 页面 中搜索,确认了这一 Bug 未被提交过 / I have searched the Issues page and confirmed that this bug has not been reported yet.
  • [ ] 我确认只是全部选中而没有仔细确认就直接提交了这个 Issue,并且同意这个 Issue 可以直接被关闭 / I confirm that I checked all boxes without carefully reading them, and agree that this issue may be closed directly.
  • [x] 我确认正在使用当前更新分支的最新版 PCL CE,若不是,此 Issue 可能会被直接关闭(更新方式:启动器 设置-关于-软件更新 检查更新,或在 Releases 页面下载) / I confirm that I am using the latest PCL CE version on the current update channel. If not, this issue may be closed directly. To update, check for updates in Settings → About → Updates, or download the latest version from the Releases page.
  • [x] 我确认会详细描述我所遇到的问题,并附上日志和截图,而不是随便填点东西敷衍了事 / I will describe the problem in detail, attach logs and screenshots, and avoid submitting vague or incomplete information.

描述 / Description

无法补齐文件

重现步骤 / Steps to Reproduce

重新补齐mc文件,显示无法下载,网速为0时候出现

日志与附件 / Logs & Attachments

System.Exception: 原版 1.21.1 下载失败 ---> System.Exception: 下载原版资源文件失败 ---> System.Exception: 下载资源文件(副加载器)失败 ---> System.IO.IOException: 下载失败:C:\Users\Administrator\AppData\Roaming.minecraft\assets\objects\3c\3c25921376d2a0d6ff208dc0ffd5e3cdc90df181 ---> System.IO.IOException: 下载失败:https://resources.download.minecraft.net/3c/3c25921376d2a0d6ff208dc0ffd5e3cdc90df181 ---> System.IO.IOException: The process cannot access the file 'C:\Users\Administrator\AppData\Roaming.minecraft\assets\objects\3c\3c25921376d2a0d6ff208dc0ffd5e3cdc90df181.pcldownloading' because it is being used by another process. at System.IO.File.Delete(String path) at Downloader.DownloadService.ProvideDownloadOnFile(String fileName) in /home/runner/work/Downloader/Downloader/src/Downloader/DownloadService.cs:line 193 at Downloader.DownloadService.StartDownload(Boolean forceBuildStorage, String filename) in /home/runner/work/Downloader/Downloader/src/Downloader/DownloadService.cs:line 61 at PCL.Network.FileDownloader.DownloadSingleAsync(String url, String localPath, Boolean useBrowserUserAgent, String customUserAgent, CancellationToken cancellationToken, Boolean enableParallelChunks, DownloadFile trackedFile) --- End of inner exception stack trace --- at PCL.Network.FileDownloader.DownloadSingleAsync(String url, String localPath, Boolean useBrowserUserAgent, String customUserAgent, CancellationToken cancellationToken, Boolean enableParallelChunks, DownloadFile trackedFile) at PCL.Network.FileDownloader.DownloadCoreAsync(IEnumerable1 urls, String localPath, Boolean useBrowserUserAgent, String customUserAgent, CancellationToken cancellationToken, Boolean enableParallelChunks, DownloadFile trackedFile) --- End of inner exception stack trace --- at PCL.Network.FileDownloader.DownloadCoreAsync(IEnumerable1 urls, String localPath, Boolean useBrowserUserAgent, String customUserAgent, CancellationToken cancellationToken, Boolean enableParallelChunks, DownloadFile trackedFile) at PCL.Network.FileDownloader.DownloadAsync(IEnumerable`1 urls, String localPath, Boolean useBrowserUserAgent, String customUserAgent, CancellationToken cancellationToken, Boolean enableParallelChunks, DownloadFile trackedFile) at PCL.Network.Loaders.LoaderDownload.ProcessFileAsync(DownloadFile file, CancellationToken cancellationToken) at PCL.Network.Loaders.LoaderDownload.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace ---

jate123222 avatar Jul 29 '26 07:07 jate123222

3c25921376d2a0d6ff208dc0ffd5e3cdc90df181.pcldownloading被另一进程占用,请考虑杀软或权限问题,还有请补充完整日志。

Lokins577 avatar Aug 01 '26 01:08 Lokins577

从下载页面得到的日志不完全,请到PCL\Log下找到日志文件

bgzsdzzl avatar Nov 02 '26 15:11 bgzsdzzl