At some point the game stopped working. The error happens when I follow Single-Player => Matches. Does anyone know how to fix the error? I tried to uninstall and install again, same error.
mainlog.html
Loaded config string "userreport.enabledversion" = "1"
Loaded config string "userreport.id"
Loaded config string "userreport.terms" = "42780012b25000ce5f11a07db5b95585"
ERROR: JavaScript error: gamesettings/GameSettings.js line 97 Infinite loop initializing attributes detected, components: ["biome", "campaignData", "ceasefire", "cheats", "circularMap", "daytime", "disableSpies", "disableTreasures", "gameSpeed", "landscape", "lastManStanding", "lockedTeams", "map", "mapExploration", "mapName", "mapPreview", "mapSize", "matchID", "nomad", "playerAI", "playerCiv", "playerColor", "playerCount", "playerName", "playerTeam", "population", "rating", "regicideGarrison", "relic", "seaLevelRise", "seeds", "startingCamera", "startingResources", "teamPlacement", "triggerDifficulty", "triggerScripts", "victoryConditions", "wonder"] fromInitAttributes@gamesettings/GameSettings.js:97:9 parseSettings@gui/gamesetup/Controllers/GameSettingsController.js:191:18 onLoad@gui/gamesetup/Controllers/GameSettingsController.js:89:10 SetupWindow@gui/gamesetup/SetupWindow.js:61:11 init@gui/gamesetup/gamesetup.js:47:18 onPress@gui/pregame/MainMenuItems.js:99:13 performButtonAction@gui/pregame/MainMenuItemHandler.js:77:9 pressButton@gui/pregame/MainMenuItemHandler.js:63:10
ERROR: GUI page 'page_gamesetup.xml': Failed to call init() function
Shutting down profiler2 GPU mode
Engine exited successfully on 2023-03-27 at 22:51:13 with 474 message(s), 2 error(s) and 0 warning(s).