


PYOPENGL_PLATFORM=nt %command%
There are three steps to to launch the game.
- First and most important is switching to the DESKTOP MODE. Without it game won't run properly even after completing two next steps.
- Add launch option PYOPENGL_PLATFORM=nt %command%
- Chose proton 7.0-6

PYOPENGL_PLATFORM=nt %command%
Added shortcuts mainly for camera control
Not unreadable but definitely small
Played campaign scenario without any issues

Same as report from a year ago, was able to launch and even run the tutorial but it crashes when starting a campaign. I used the same startup command.
PYOPENGL_PLATFORM=nt %command%

PYOPENGL_PLATFORM=nt %command%
It worked out of the box in the past, but since updated it started crashing. Tinkering fixed it

Game plays as expected once compatibility set to Proton 7.06 and launch options set to PYOPENGL_PLATFORM=nt %command%
PYOPENGL_PLATFORM=nt %command%
Game crashes with error log when launching without any tinkering.

PYOPENGL_PLATFORM=nt %command%
Currently, on Proton 8.0-2, the game will crash if trying to start a new campaign's scenario.
The workaround is to switch to using an older version of Proton, i.e., 7.0-6 or older.
Using Proton 7.0-6, the game (and all of its DLCs) run flawlessly.
PYOPENGL_PLATFORM=nt %command%
Game crashes when starting a scenario in a compaign. log file indicates:
OSError: [WinError 123] Invalid name: 'C:\users\steamuser\AppData\Local\.uoc2\save\campaigns\blitzkrieg.usg'
the file "blitzkrieg.usg" exists:
(deck@steamdeck ~)$ find . -name blitzkrieg.usg -print ./.local/share/Steam/steamapps/compatdata/809230/pfx/drive_c/users/steamuser/AppData/Local/.uoc2/save/campaigns/blitzkrieg.usg
This does not happen when starting standalone scenarios.
PYOPENGL_PLATFORM=nt %command%
see significant bugs
When trying to start a Campaign Game, python throws an "OSError: [WinError 123] Invalid name"
Game crashes as other reports without custom launch environment variable
The game crashes due to a Python error. I am on Arch using Mesa 23.0.1
This log file is pulled from the .uoc/log.txt file
WAR 2023-05-18 13:40:21,844 OpenGL.plugins:20 Unable to import OpenGL.platform.egl.EGLPlatform: No module named 'OpenGL.platform.egl'
ERR 2023-05-18 13:40:21,845 uoc2-exe:24 Traceback (most recent call last):
ERR 2023-05-18 13:40:21,845 uoc2-exe:24 File "uoc2-exe.py", line 17, in <module>
ERR 2023-05-18 13:40:21,845 uoc2-exe:24 File "C:\Code\uoc2\uoc2\main.py", line 223, in main
ERR 2023-05-18 13:40:21,845 uoc2-exe:24 File "C:\Code\uoc2\uoc2\init.py", line 168, in init_gl
ERR 2023-05-18 13:40:21,845 uoc2-exe:24 File "C:\Env\Py311\Lib\site-packages\OpenGL\GL\__init__.py", line 3, in <module>
ERR 2023-05-18 13:40:21,845 uoc2-exe:24 File "C:\Env\Py311\Lib\site-packages\OpenGL\error.py", line 12, in <module>
ERR 2023-05-18 13:40:21,845 uoc2-exe:24 File "C:\Env\Py311\Lib\site-packages\OpenGL\platform\__init__.py", line 56, in <module>
ERR 2023-05-18 13:40:21,845 uoc2-exe:24 File "C:\Env\Py311\Lib\site-packages\OpenGL\platform\__init__.py", line 50, in _load
ERR 2023-05-18 13:40:21,845 uoc2-exe:24 TypeError: 'NoneType' object is not callable
taskset -c 0 %command%
Won't work without tinkering
Everything runs great
any Proton
Have tried other versions of Proton with no fix yet
Installed game with Proton 6.3-8, runs like native.
It run out of the box with Proton 6.3-7

used taskset -c 0 %command% as suggested below
no significant problems, works very well
Can't launch without tweaking
Enter following in the Set Launch Options: taskset -c 0 %command%

Don't work anymore. Game crash at launch
Has worked some weeks before on Manjaro, see my previous report, but don't work anymore. It simply don't start. You can briefly see in Steam Library that the game is starting, one or two second (green text by your username saying that you're playing) then nothing, green text disappear. No message. Never see the splash screen.

Does not work in Ubuntu, Pop!_OS or Manjaro
Starting then crashes and will not run.
Run well out of the box with Manjaro
Some crackling in audio sometimes but very few
Few days ago I was on Pop!_OS 20.04 and it crashes at launch. I switch to Manjaro Gnome 20.0 and it works very well! As other point out, it seems that Ubuntu based distros have a problem to launch the game.

Wine C++ Runtime Library Error
Started the game from Steam Library but don't open and show following error message: "Program: Z:\home[user].steam\debian-installation\steaamapps\common\Unity of Command 2\uoc2.exe abnormal program termination Press OK to exit the program, or Cancel to start the Wine debugger."

Wine C++ runtime error
The game crashes at its start
Works great out-of-the-box on Arch!
Error Window pops up: Wine C++ Runtime Library R Program: Z A Press OK to exit the program, or press Cancel to start the wine debugger

Had problems running the game previously in Mint 19.2. Switched to Manjaro 18 and it now works flawlessly. It seems Ubuntu based distros may have a problem with this game.