启动./TerrariaServer.bin.x86_64 -config /opt/terraria/serverconfig.txt时报错代码

System.NullReferenceException: Object reference not set to an instance of an object
at Terraria.Main.WriteFancyWorldLoadErrorToConsole () [0x00005] in <cc6213c47317478285e9775d8c2bebfa>:0
at Terraria.Main.DedServ () [0x00b21] in <cc6213c47317478285e9775d8c2bebfa>:0
at Terraria.Program.LaunchGame (System.String[] args, System.Boolean monoArgs) [0x000ac] in <cc6213c47317478285e9775d8c2bebfa>:0
Please send crashlog.txt to support@terraria.org

解决方法也很简单
在启动目录输入echo "0086519: 15" | xxd -r - TerrariaServer.exe

问题原因
二进制文件在linux服务器无法正确读取服务器配置文件

Last modification:June 15th, 2020 at 11:00 am
如果觉得我的文章对你有用,请随意赞赏。谢谢你