BeyondDimension / BeyondDimension/SteamTools

🐛[BUG] EPIC账户切换功能无法正常使用

Open
#3,774 10 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
26.8k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

## 请认真检查以下清单中的每一项
- [x] 已经搜索过,没有发现类似的 issue
- [x] 已经搜索过文档,没有发现相关内容
- [x] 已经尝试使用过最新版,问题依旧存在
- [x] 使用的是官方版本(未替换及修改过安装目录程序文件)

### 🐛 描述

### 📷 复现步骤

1. 今日EPIC客户端升级后,watt的账户切换功能无法正常使用,已保存的帐号切换后仍为最后一次登录的帐号。
2. 保存epic账号时报错

3. 报错见后截图

### 📄 日志信息

2025-11-07 00:00:40.4122|Error|SteamworksLocalApiS|Initialize fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at BD.SteamClient.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2025-11-07 00:25:11.1013|Error|SteamworksLocalApiS|Initialize fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at BD.SteamClient.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2025-11-07 00:28:39.9153|Error|SteamworksLocalApiS|Initialize fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at BD.SteamClient.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2025-11-07 00:31:05.5429|Error|SteamworksLocalApiS|Initialize fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at BD.SteamClient.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2025-11-07 08:06:51.1988|Error|HostsFileS|UpdateHosts catch. | System.IO.IOException: The process cannot access the file 'C:\Windows\system32\drivers\etc\hosts' because it is being used by another process.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.File.WriteToFile(String path, FileMode mode, ReadOnlySpan`1 contents, Encoding encoding)
at BD.WTTS.Services.Implementation.HostsFileServiceImpl.HandleHosts(Boolean isUpdateOrRemove, IReadOnlyDictionary`2 hosts, Int32& codeHandleHostsFileException)
2025-11-07 08:08:46.4669|Error|HostsFileS|UpdateHosts catch. | System.IO.IOException: The process cannot access the file 'C:\Windows\system32\drivers\etc\hosts' because it is being used by another process.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.File.WriteToFile(String path, FileMode mode, ReadOnlySpan`1 contents, Encoding encoding)
at BD.WTTS.Services.Implementation.HostsFileServiceImpl.HandleHosts(Boolean isUpdateOrRemove, IReadOnlyDictionary`2 hosts, Int32& codeHandleHostsFileException)
2025-11-07 08:31:47.1638|Error|HostsFileS|UpdateHosts catch. | System.IO.IOException: The process cannot access the file 'C:\Windows\system32\drivers\etc\hosts' because it is being used by another process.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.File.WriteToFile(String path, FileMode mode, ReadOnlySpan`1 contents, Encoding encoding)
at BD.WTTS.Services.Implementation.HostsFileServiceImpl.HandleHosts(Boolean isUpdateOrRemove, IReadOnlyDictionary`2 hosts, Int32& codeHandleHostsFileException)

### 🖼 截图

Image

### 🚑 其他信息

- 处理器体系结构:
- 系统版本号:
- 是否包含独立运行时:

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.