Skip to content
New issue

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

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

Already on GitHub? # to your account

[Bug]: 无法在USB固态移动硬盘中安装/升级游戏 #2469

Closed
1 task done
fangkuairen-steve opened this issue Feb 13, 2025 · 5 comments
Closed
1 task done

[Bug]: 无法在USB固态移动硬盘中安装/升级游戏 #2469

fangkuairen-steve opened this issue Feb 13, 2025 · 5 comments
Labels
area-GameLauncher 游戏启动器 已完成 This issue is completed
Milestone

Comments

@fangkuairen-steve
Copy link

Windows 版本

26100.3037

Snap Hutao 版本

1.13.1.0与1.13.4.0

设备 ID

0BC76E7E7AADA8D7CB87D85C3370AEB4

问题分类

游戏启动器

发生了什么?

在使用Snap Hutao启动游戏页面的更新游戏功能时遇到致命错误(见下

QQ2025213-154832.mp4

环境说明:

原神游戏本体安装在固态移动硬盘上,移动硬盘状况良好,剩余容量充足。(似乎报错与判断硬盘类型有关)

错误报告:

Snap Hutao 1.13.1.0
Windows 10.0.26100.3037
System Architecture: X64
Process Architecture: X64
Framework: .NET 9.0.0

Exception Data:
----------------------------------------
System.Runtime.InteropServices.COMException (0x80070001): 函数不正确。 (0x80070001)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Snap.Hutao.Core.IO.PhysicalDriver.GetIsSsd(String fileName, Boolean& isSsd) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Core\IO\PhysicalDriver.cs:line 114
   at Snap.Hutao.Core.IO.PhysicalDriver.DangerousGetIsSolidState(String path) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Core\IO\PhysicalDriver.cs:line 33
   at Snap.Hutao.Core.DependencyInjection.Abstraction.DriverMediaTypeAwareFactory`3.Create(String path) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Core\DependencyInjection\Abstraction\DriverMediaTypeAwareFactory.cs:line 18
   at Snap.Hutao.Service.Game.Package.Advanced.GamePackageOperationContext..ctor(IServiceProvider serviceProvider, GamePackageOperationKind kind, IGameFileSystem gameFileSystem, BranchWrapper localBranch, BranchWrapper remoteBranch, GameChannelSDK gameChannelSDK, String extractDirectory) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\Game\Package\Advanced\GamePackageOperationContext.cs:line 32
   at Snap.Hutao.ViewModel.Game.GamePackageViewModel.StartAsync(String state) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\Game\GamePackageViewModel.cs:line 226
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()

注:系统日志内并未找到相应的报错

你期望发生的行为?

游戏可以正常更新

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题
@fangkuairen-steve fangkuairen-steve added the priority:none Priority not set label Feb 13, 2025
@dgp-bot
Copy link

dgp-bot bot commented Feb 13, 2025

device_id: 0BC76E7E7AADA8D7CB87D85C3370AEB4

Exception Data:
----------------------------------------
System.Runtime.InteropServices.COMException (0x80070001): 函数不正确。 (0x80070001)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Snap.Hutao.Core.IO.PhysicalDriver.GetIsSsd(String fileName, Boolean& isSsd) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Core\IO\PhysicalDriver.cs:line 114
   at Snap.Hutao.Core.IO.PhysicalDriver.DangerousGetIsSolidState(String path) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Core\IO\PhysicalDriver.cs:line 33
   at Snap.Hutao.Core.DependencyInjection.Abstraction.DriverMediaTypeAwareFactory`3.Create(String path) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Core\DependencyInjection\Abstraction\DriverMediaTypeAwareFactory.cs:line 18
   at Snap.Hutao.Service.Game.Package.Advanced.GamePackageOperationContext..ctor(IServiceProvider serviceProvider, GamePackageOperationKind kind, IGameFileSystem gameFileSystem, BranchWrapper localBranch, BranchWrapper remoteBranch, GameChannelSDK gameChannelSDK, String extractDirectory) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\Game\Package\Advanced\GamePackageOperationContext.cs:line 32
   at Snap.Hutao.ViewModel.Game.GamePackageViewModel.StartAsync(String state) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\Game\GamePackageViewModel.cs:line 226
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()
Exception Data:
----------------------------------------
System.Runtime.InteropServices.COMException (0x80070001): 函数不正确。 (0x80070001)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Snap.Hutao.Core.IO.PhysicalDriver.GetIsSsd(String fileName, Boolean& isSsd) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Core\IO\PhysicalDriver.cs:line 114
   at Snap.Hutao.Core.IO.PhysicalDriver.DangerousGetIsSolidState(String path) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Core\IO\PhysicalDriver.cs:line 33
   at Snap.Hutao.Core.DependencyInjection.Abstraction.DriverMediaTypeAwareFactory`3.Create(String path) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Core\DependencyInjection\Abstraction\DriverMediaTypeAwareFactory.cs:line 18
   at Snap.Hutao.Service.Game.Package.Advanced.GamePackageOperationContext..ctor(IServiceProvider serviceProvider, GamePackageOperationKind kind, IGameFileSystem gameFileSystem, BranchWrapper localBranch, BranchWrapper remoteBranch, GameChannelSDK gameChannelSDK, String extractDirectory) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\Game\Package\Advanced\GamePackageOperationContext.cs:line 32
   at Snap.Hutao.ViewModel.Game.GamePackageViewModel.StartAsync(String state) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\Game\GamePackageViewModel.cs:line 226
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()
Exception Data:
----------------------------------------
System.Runtime.InteropServices.COMException (0x80070001): 函数不正确。 (0x80070001)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Snap.Hutao.Core.IO.PhysicalDriver.GetIsSsd(String fileName, Boolean& isSsd) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Core\IO\PhysicalDriver.cs:line 114
   at Snap.Hutao.Core.IO.PhysicalDriver.DangerousGetIsSolidState(String path) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Core\IO\PhysicalDriver.cs:line 33
   at Snap.Hutao.Core.DependencyInjection.Abstraction.DriverMediaTypeAwareFactory`3.Create(String path) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Core\DependencyInjection\Abstraction\DriverMediaTypeAwareFactory.cs:line 18
   at Snap.Hutao.Service.Game.Package.Advanced.GamePackageOperationContext..ctor(IServiceProvider serviceProvider, GamePackageOperationKind kind, IGameFileSystem gameFileSystem, BranchWrapper localBranch, BranchWrapper remoteBranch, GameChannelSDK gameChannelSDK, String extractDirectory) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\Game\Package\Advanced\GamePackageOperationContext.cs:line 32
   at Snap.Hutao.ViewModel.Game.GamePackageViewModel.StartAsync(String state) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\Game\GamePackageViewModel.cs:line 226
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()

@dgp-bot dgp-bot bot added the area-GameLauncher 游戏启动器 label Feb 13, 2025
@dgp-bot
Copy link

dgp-bot bot commented Feb 13, 2025

由于资源有限,我们将不会考虑与旧版本客户端相关的问题。如果你认为该判定有误,请手动重新打开议题。
请更新至最新版本:
稳定版: 1.13.4
测试版: 2025.2.13.10801

@dgp-bot dgp-bot bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 13, 2025
@dgp-bot dgp-bot bot added 过时的版本 and removed priority:none Priority not set labels Feb 13, 2025
@Lightczx
Copy link
Member

加用户群,找管理反馈

@Lightczx Lightczx reopened this Feb 13, 2025
@dgp-bot dgp-bot bot added the priority:none Priority not set label Feb 13, 2025
@Lightczx Lightczx changed the title 在更新 原神 游戏本体时遇到致命错误 [Bug]: 无法在USB固态移动硬盘中安装/升级游戏 Feb 13, 2025
@Lightczx Lightczx added 已完成 This issue is completed 等待发布 This issue fix is going to be applied in the next release labels Feb 13, 2025
@WoshiRedstone
Copy link

偶尔有这个问题所以我换starward更新了

@dgp-bot dgp-bot bot added this to the 1.13.5 milestone Feb 18, 2025
@dgp-bot
Copy link

dgp-bot bot commented Feb 18, 2025

包含解决该问题的程序版本 1.13.5 已发布。

@dgp-bot dgp-bot bot removed the 等待发布 This issue fix is going to be applied in the next release label Feb 18, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area-GameLauncher 游戏启动器 已完成 This issue is completed
Projects
None yet
Development

No branches or pull requests

3 participants