[Rseding91] [0.17.38] Not Helpful Crash Message
Posted: Fri May 10, 2019 6:57 pm
Was busy making a scenario when an update must have broken something; I check log for details for where I was casuing an error but nothing of use was included:
And in game it is no help either:
Could you please make this more detailed by maybe including a stacktrace so that I dont have to go through every scenario file enabling and disabling things to find what does and doesnt cause the error.
After much searching I found what was casuing the error: I was calling error with a table by mistake when the varible should have been a string, however this still took some time to find due to the lack of a stack trace it was also strange how I was calling error from within a pcall enviroment and it still caused the game to error and crash, this may also be a second bug as a result of this.
Code: Select all
1002.674 Error MainLoop.cpp:1173: Exception at tick 0: Unable to parse LocalisedString: given table is empty.
1002.674 Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "Unable to parse LocalisedString: given table is empty."
1002.674 Info ServerMultiplayerManager.cpp:776: updateTick(0) changing state from(InGame) to(Failed)
Could you please make this more detailed by maybe including a stacktrace so that I dont have to go through every scenario file enabling and disabling things to find what does and doesnt cause the error.
After much searching I found what was casuing the error: I was calling error with a table by mistake when the varible should have been a string, however this still took some time to find due to the lack of a stack trace it was also strange how I was calling error from within a pcall enviroment and it still caused the game to error and crash, this may also be a second bug as a result of this.