Skip to content

Commit

Permalink
更新运行指南
Browse files Browse the repository at this point in the history
  • Loading branch information
egametang committed Dec 31, 2023
1 parent 3c15987 commit 19f8253
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Book/1.1运行指南.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@

10. 帧同步默认是一个人匹配,如果需要多人匹配,修改**LSConstValue.cs**中的**MatchCount**即可

11. 注意要独立启动服务器,右键UnityHub,以管理员身份运行UnityHub,然后启动Unity(没有管理员启动是不行的,因为服务端要开启http服务,普通权限开不了),如果要用rider单独启动服务器也要右键用管理员权限运行rider
停止Unity Play,点开Unity菜单->ET->Server Tools->Start Server(Single Process),这样就单独启动了服务端。打开Unity菜单 -> ET -> BuildTool中CodeMode改成Client,点击Unity Play,登录。
如果还是连接不上报10037错误,注意看ET/Logs目录,看有没有Error日志。
11. 注意要独立启动服务器,右键UnityHub,以管理员身份运行UnityHub,然后启动Unity(没有管理员启动是不行的,因为服务端要开启http服务,普通权限开不了),
停止Unity Play,点开Unity菜单->ET->Server Tools->Start Server(Single Process),这样就单独启动了服务端。打开Unity菜单 -> ET -> BuildTool中CodeMode改成Client,点击Unity Play,登录。
如果还是连接不上报10037错误,注意看ET/Logs目录,看有没有Error日志。 如果要用rider启动服务器,rider也必须用管理员权限启动
注意一定要用 netsh http delete urlacl 命令删除掉所有自己添加的urlacl,具体使用方法请谷歌

12. 有问题请论坛提问,贴出服务端error log跟客户端error log,没有日志无法回复

# 打包过程
1. 点击HybridCLR -> Installer,点击安装,等待安装完成
Expand Down

0 comments on commit 19f8253

Please sign in to comment.