Сlient crashes when starting a new game

When starting the game in the debug and release, I get the following errors:

Blockquote
WARN global [ef4] - No templates found for 38:1
WARN global [ef4] - No templates found for 49:1
WARN global [ef4] - No templates found for 79:7
WARN global [ef4] - No templates found for 90:1
WARN global [ef4] - No templates found for 100:1
WARN global [ef4] - No templates found for 103:1
WARN global [ef4] - No templates found for 113:1
WARN global [ef4] - No templates found for 172:0
WARN global [ef4] - No templates found for 186:0
WARN global [ef4] - No templates found for 189:0
INFO mod [ef4] - Handlers post-load finalization: 198 ms
INFO mod [ef4] - All game content loaded in 3669 ms
TRACE network [ef4] - CVCMIServer created! UUID: 1082e673-c597-4973-bb1e-217419d6f031
INFO network [ef4] - Port 3030 will be used
INFO network [ef4] - Listening for connections at port 3030
INFO network [8a4] - We got a new connection! :slight_smile:
INFO network [8a4] - Established connection with VCMI 1.2.0.a7f521cbd9000a22249ae593447a7c34a2625db1 (client). UUID: 1c2108b8-29ac-424b-90ed-e883f9aa7bba
TRACE network [3984] - Received CPack of type struct LobbyClientConnected
INFO network [3984] - Connection with client 1 established. UUID: 1082e673-c597-4973-bb1e-217419d6f031
INFO network [3984] - Client 1 player: Player
INFO network [3984] - system says: Player (pid cid 1) joins the game
TRACE network [8a4] - Sending a pack of type struct LobbyClientConnected
TRACE network [8a4] - Sending a pack of type struct LobbyUpdateState
ERROR network [3984] - Network error receiving a pack. Connection Connection with VCMI 1.2.0.a7f521cbd9000a22249ae593447a7c34a2625db1 (server) (ID: 1 UUID: 1c2108b8-29ac-424b-90ed-e883f9aa7bba) dies. What happened: read: The remote host forcibly terminated an existing connection.system:10054]
INFO network [3984] - Thread listening for Connection with VCMI 1.2.0.a7f521cbd9000a22249ae593447a7c34a2625db1 (server) (ID: 1 UUID: 1c2108b8-29ac-424b-90ed-e883f9aa7bba) ended
INFO network [ef4] - Thread handling connections ended

There is no such thing in the stable build. How to fix this problem?
Ports are open, firewall is disabled.

There is no error in debug build.
When building in release it gives the error ‘CONFIG/WIDGETS/RANDOMMAPTAB and type TEXT wasn’t found.’
Solution problem:
Copy folder ‘VCMI\source\config’ and paste it in directory
VCMI\build\bin\Release or VCMI\build\bin\Debug.

Good that you solved it. Yes Visual Studio not always willing to copy these configs on build