The Crew 2

The Crew 2

View Stats:
Freddy Jul 6, 2019 @ 8:36am
Forcing the game to use set amount of CPU cores/CPU affinity setting
For some reason, my game regularly crashes at random time intervals (can be 10 minutes, can be few hours) if i run the game using all CPU cores (aka by default), but if I end up going to task manager while game is running, and setting just three out of four cores for the game to use, it doesn't crash.(For some reason that issue was not present on windows 7, but is now present on windows 10..., still though, i found a fix that works for me)

So I'm looking for a way to make the game run always like this so i don't have to set CPU affinity thing every time.
I tried creating a .bat file with command to force the game to run with desired cores being used only, but due to the way how the game launches, it ignores said setting.
Is there any launch option or something that I could use to make the game actually run like I want, using three cores instead of four every time, without need to always go to task manager when i run the game just so it can work properly?...
< >
Showing 1-5 of 5 comments
UbiGinge  [developer] Jul 6, 2019 @ 2:59pm 
I know there are various command line options you can set up for games in Steam.
In the list I have there is not one to specifically select 2 or 3 cores. There may be an updated version of the list though.
This is something I would advise you contact Steam about.

- Ubisoft Support
Freddy Jul 6, 2019 @ 3:37pm 
I found a way to run any steam game with set affinity (by setting affinity to steam before running it (by running it thru .bat file that sets affinity for it before launching)
BUT... it still won't work for this game because the launch goes as follows:
Steam runs Uplay, Uplay runs TheCrew2.exe, TheCrew2.exe closes and runs TheCrew2_BE.exe instead, which then runs TheCrew2.exe upon verification.
In this process, even if Uplay was closed beforehand, steam still can't spawn Uplay's process with affinity set same as Steam. Just because It's Uplay, and Uplay is the one responsible for affinity for The Crew's processes.... which leads me to being unable to run it automatically like i want so the only fix for me is to just do it every time in task manager when last instance of TheCrew2.exe runs.

I don't think telling me to go to steam support and ask for launch options about that would work here tbh... I've already seen ppl doing the .bat file tricks to run their games for this like that since nobody did discover the needed launch option.

(.bat file content example for the "Run steam in set affinity":
chdir C:\Program Files (x86)\Steam start /affinity 7 Steam.exe

Affinity of 7 is affinity of 0111 (111->1+2+4=7) aka only 3 cores instead of 4)
If you run steam in set affinity, it will run any game that doesn't use those other external services to run with set affinity....

Technically a fix to this would be making Uplay's process be with set affinity to 7, i'll try to force that in and then run the crew through steam and see if it works and reply again.

EDIT: just tried running Uplay with needed affinity, all related processes like upc.exe and others were run with proper affinity, but the crew's ones still use all cores.
Possible cause: the way how BattlEye service works...?
Both Steam and Uplay were at right affinity setting
EDIT 2: I'm unable to change affinity for BEService.exe because access ends up being denied and it says that system, not the user has run it. so ya that's the cause...
EDIT 3: Problem solved using external software to auto-force the CPU affinity for the game once it detects that it is running, though that's most likely a temporary solution until I find a program that doesn't do more than that.... (Causes more issues than resolves)
So ya after so much investigation I'm still looking for an automated solution...
Last edited by Freddy; Jul 7, 2019 @ 4:25am
blotorch Mar 24, 2021 @ 3:23am 
what third party program did you use ? lasso?
Freddy Mar 27, 2021 @ 8:31am 
Yes I did use that at that moment...
Now I ended up upgrading my PC and also quitting this game so I kinda forgot what I even wrote here and had to re-read but yeah it was lasso.
Ubi-WheelyDuck  [developer] Apr 8, 2021 @ 9:40am 
Originally posted by まりーぽっぽ:
Yes I did use that at that moment...
Now I ended up upgrading my PC and also quitting this game so I kinda forgot what I even wrote here and had to re-read but yeah it was lasso.
Hey there,

Thank you for your update and for originally sharing what helped you.

If ever we can help in the future just let us know

- Ubisoft Support
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Jul 6, 2019 @ 8:36am
Posts: 5