Game crashes during AI's turn

Post your technical problems here.
alejes0202
Second Lieutenant
Posts: 8
Joined: Thu Apr 22, 2021 8:25 pm

Game crashes during AI's turn

Unread postby alejes0202 » Thu Apr 22, 2021 8:29 pm

See attached for error report
You do not have the required permissions to view the files attached to this post.

User avatar
Tomislav Uzelac
2x2 Games
Posts: 2094
Joined: Mon Apr 04, 2011 11:24 pm
Location: Zagreb, Croatia

Re: Game crashes during AI's turn

Unread postby Tomislav Uzelac » Mon Apr 26, 2021 1:52 pm

Hi, please attach your log.txt so we can take a look.

Here is how to find the log.txt file:
viewtopic.php?f=69&t=8892

Cheers!

alejes0202
Second Lieutenant
Posts: 8
Joined: Thu Apr 22, 2021 8:25 pm

Re: Game crashes during AI's turn

Unread postby alejes0202 » Sat May 01, 2021 10:22 pm

I have looked everywhere I can possibly think of and cannot find this file. I'm a Steam user, if that helps

User avatar
Tomislav Uzelac
2x2 Games
Posts: 2094
Joined: Mon Apr 04, 2011 11:24 pm
Location: Zagreb, Croatia

Re: Game crashes during AI's turn

Unread postby Tomislav Uzelac » Mon May 03, 2021 7:00 pm

Here is an alternative method: in-game, click on "Open Saved Games Folder". This will open the File Explorer in the ".uoc2\save" folder. Go one folder up, and you will be in ".uoc2" folder. There you will find the file log.txt.

Cheers!

alejes0202
Second Lieutenant
Posts: 8
Joined: Thu Apr 22, 2021 8:25 pm

Re: Game crashes during AI's turn

Unread postby alejes0202 » Thu May 06, 2021 8:55 pm

excellent. here are the results


INF 2021-05-06 16:53:24,265 tools.steamworks:71 SteamworksPy loaded for Windows
INF 2021-05-06 16:53:24,265 tools.steamworks:81 Steam is running
INF 2021-05-06 16:53:24,303 tools.steamworks:86 Steamworks initialized!
INF 2021-05-06 16:53:24,665 tools.steam_api:272 Steam user stats and achievements successfully fetched
INF 2021-05-06 16:53:24,666 uoc2.paths:263 STEAM ownership PASS for package dlc2
INF 2021-05-06 16:53:24,666 uoc2.paths:263 STEAM ownership PASS for package dlc1
INF 2021-05-06 16:53:24,666 uoc2.paths:263 STEAM ownership PASS for package base
INF 2021-05-06 16:53:24,673 uoc2.paths:382 Installed packages:
INF 2021-05-06 16:53:24,673 uoc2.paths:384 C:\Program Files (x86)\Steam\steamapps\common\Unity of Command 2\_packages\dlc2
INF 2021-05-06 16:53:24,673 uoc2.paths:384 C:\Program Files (x86)\Steam\steamapps\common\Unity of Command 2\_packages\dlc1
INF 2021-05-06 16:53:24,673 uoc2.paths:384 C:\Program Files (x86)\Steam\steamapps\common\Unity of Command 2\_packages\base
INF 2021-05-06 16:53:24,673 uoc2.main:109 ARGS log: None
INF 2021-05-06 16:53:24,675 uoc2.main:115 Platform: Windows-10-10.0.19041
INF 2021-05-06 16:53:24,679 uoc2.main:136 OpenGL error checking DISABLED
INF 2021-05-06 16:53:24,724 uoc2.settings:217 Initializing settings
INF 2021-05-06 16:53:24,843 uoc2.init:57 SDL version: 2.0.12
INF 2021-05-06 16:53:24,843 uoc2.init:60 SDL_TTF version: 2.0.15
INF 2021-05-06 16:53:24,843 uoc2.init:63 SDL_Mixer version: 2.0.4
INF 2021-05-06 16:53:24,843 uoc2.init:66 SDL_Image version: 2.0.5
INF 2021-05-06 16:53:24,843 uoc2.init:77 Video driver 0: windows [Current]
INF 2021-05-06 16:53:24,843 uoc2.init:77 Video driver 1: dummy
INF 2021-05-06 16:53:24,891 uoc2.init:93 Audio driver: wasapi
INF 2021-05-06 16:53:24,891 uoc2.init:98 16 audio channels alocated
INF 2021-05-06 16:53:25,070 uoc2.init:121 Display 0: 3440x1440 (0, 0, 3440, 1440) [Current]
INF 2021-05-06 16:53:25,089 OpenGL.acceleratesupport:13 OpenGL_accelerate module loaded
INF 2021-05-06 16:53:25,114 OpenGL.arrays.arraydatatype:280 Using accelerated ArrayDatatype
INF 2021-05-06 16:53:25,279 uoc2.init:177 OpenGL version: 3.3.0 NVIDIA 466.27
INF 2021-05-06 16:53:25,280 uoc2.init:180 Shading language version: 3.30 NVIDIA via Cg compiler
INF 2021-05-06 16:53:25,280 uoc2.init:183 GL renderer: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2
INF 2021-05-06 16:53:25,287 uoc2.init:186 GL_MAX_TEXTURE_IMAGE_UNITS: 32
INF 2021-05-06 16:53:25,287 uoc2.init:189 GL_MAX_TEXTURE_SIZE: 32768
INF 2021-05-06 16:53:25,291 uoc2.init:192 GL_ARB_gpu_shader5: True
INF 2021-05-06 16:53:25,291 uoc2.init:195 GL_EXT_texture_filter_anisotropic: True
INF 2021-05-06 16:53:25,291 uoc2.init:199 GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT: 16.0
INF 2021-05-06 16:53:25,291 uoc2.init:212 OpenGL context: 3.3
INF 2021-05-06 16:53:25,291 uoc2.init:216 Double-buffered: True
INF 2021-05-06 16:53:25,291 uoc2.init:220 Accelerated: True
INF 2021-05-06 16:53:25,388 uoc2.init:133 Displaying splash screen
INF 2021-05-06 16:53:25,478 engine.gl.textures:155 Initializing ground textures
INF 2021-05-06 16:53:26,687 engine.gl.atlases:87 Loading atlases
INF 2021-05-06 16:53:27,334 uoc2.sounds:35 Loading sounds
INF 2021-05-06 16:53:27,511 uoc2.music:48 Loading music
INF 2021-05-06 16:53:27,572 engine.gl.shader_manager:46 Initializing shader groups
INF 2021-05-06 16:53:27,698 engine.gl.model_manager:75 Loading models
INF 2021-05-06 16:53:29,203 engine.gl.renderer2d:447 Initializing Renderer2D
INF 2021-05-06 16:53:29,209 tools.localization:93 Loading locale
INF 2021-05-06 16:53:29,732 engine.ui.tooltips:202 Loading tooltips
INF 2021-05-06 16:53:30,382 uoc2.music:123 playing main_screen: 0. Privates And Peers.ogg
WAR 2021-05-06 16:53:34,044 uoc2.sounds:154 Missing sound unhover

User avatar
Tomislav Uzelac
2x2 Games
Posts: 2094
Joined: Mon Apr 04, 2011 11:24 pm
Location: Zagreb, Croatia

Re: Game crashes during AI's turn

Unread postby Tomislav Uzelac » Sat May 08, 2021 10:58 am

Sorry, my bad, I need the clog.txt file, not log.txt.

It's in the same folder. Please attach it to the post, don't copy/paste as it will be too long. Alternatively, you can send it to support at unityofcommand dot net.

Cheers!

alejes0202
Second Lieutenant
Posts: 8
Joined: Thu Apr 22, 2021 8:25 pm

Re: Game crashes during AI's turn

Unread postby alejes0202 » Mon May 10, 2021 1:05 am

Here you go.
You do not have the required permissions to view the files attached to this post.

krankidog
Newcomer
Posts: 1
Joined: Mon May 10, 2021 5:35 am

Re: Game crashes during AI's turn

Unread postby krankidog » Mon May 10, 2021 5:48 am

Hi there,

I have the same issue when the enemy AI turn starts in the Barbarossa campaign.

Uploaded files: log.txt, barbarossa.usg

Thanks

User avatar
Tomislav Uzelac
2x2 Games
Posts: 2094
Joined: Mon Apr 04, 2011 11:24 pm
Location: Zagreb, Croatia

Re: Game crashes during AI's turn

Unread postby Tomislav Uzelac » Mon May 10, 2021 8:21 am

@alejes: the game crashes because one of the game files has illegal data (a spanish unit has been made allied).

However, there is no such file in the game. Have you been editing the game files perhaps?

@krankidog: you haven't uploaded the files. Please try again.

Cheers!

alejes0202
Second Lieutenant
Posts: 8
Joined: Thu Apr 22, 2021 8:25 pm

Re: Game crashes during AI's turn

Unread postby alejes0202 » Mon May 10, 2021 8:20 pm

I have made no edits. Is there a way to reverse this?