Logo Platform
logo amplifiers simplified

Game crashes on victory.

Reply
Copied to clipboard!
5 years ago
Jul 11, 2020, 6:06:56 PM
  • Summary / Title: The game crashes on victory.
  • Description: After I see the victory screen, but before the statistics, there should be a final victory video, before the video the game crashes. Tried to update everything, including the video codecs, doesn't help. It's a multiplayer game that I started with a friend before patch, some time in June. When my friend tried to finish the game solo from his save, he had the same issue. When I tried the same thing solo, I crashed again and again. Is the save corrupted because it was created before patch? I don't want to start a new game, play for 10 hours, and get a crash again, because it prevents from getting achievements, like difficulty and winning with a race etc etc.
  • Steps to Reproduce: I have a save file just 1 turn before science victory.
  • Reproducibility: 5/5 every single time
  • Expected Behavior: I mean it's pretty obvious, the stats screen and my achievements popping up in steam.
  • Version: 1.5.28 S5 GOLD-Public
    Thank you in advance!
  • Sophon Multi Campaign.sav
  • crash.png
0Send private message
5 years ago
Jul 11, 2020, 6:10:04 PM

The error in the log is:


System.IO.FileNotFoundException: Windows mono path not found: D:\SteamLibrary\steamapps\mono\mono\mini\mono.exe  at Mono.CSharp.CSharpCodeCompiler..cctor () [0x00000] in <filename unknown>:0


This comes up a lot these days. It pretty much means Unity is unhappy, but that could be for a lot of reasons.


Updating to the latest version of Windows 10 has fixed it.


You can also try set "-force-opengl" in the Steam launch options. To do so, right click the game in Steam, go to properies, then click on "Set Launch Options...". That has fixed it.


If you are missing Mono you can also try installing it then copying the Mono folder to steamapps. You can find the installer for Mono here. I haven't actually seen this fix or the ones below work. The real problem is not that you are missing Mono, it looks for something in Microsoft .NET and when it can't find that it resorts to looking for Mono.


This could be caused by not having Microsoft .NET Framework 4.5.2. You can download it here.


You can try installing C++ Redistributables (vcredist). It can be found here: x86 (32 bit OS) x64 (64 bit OS)


You can also try going to the "C:/Program Files (x86)/Steam/steamapps/common/Endless Space 2/EndlessSpace2_Data/" Folder and deleting the mono folder then verify the games files with steam. It should redownload the folder correctly.


The devs have commented there is a known issue with Unity and non-English characters, they said: Some people using non-english OS and international characters in their steam path could not launch the game. Such characters are badly handled by the low level layer of Unity, Mono. We have performed a workaround in the code, (better than having to reinstall Steam to a path without accents)  waiting for a cleaner solution from Unity.

I have seen others propose a fix to this that involves deleting fonts which are corrupted. Are you using a non-English computer?

0Send private message
5 years ago
Jul 11, 2020, 7:40:31 PM

Hello. No, everything is in English. I do not want to upgrade to WIN 10. Both C++ and NET are up to date pretty much. .NET framework's version is 4.7.2.

-force-opengl didn't help.
Deleting Mono folder step didn't help either.
I'll try this save on a different system with win 10 tomorrow and see. But that wouldn't solve the problem. Win is in recommended specs, so upgrading to Win 10 shouldn't even be a solution.


0Send private message
5 years ago
Jul 11, 2020, 8:29:13 PM

I don't know specifically why but several people have fixed this issue by updating Windows. Perhaps updating whatever version of Windows you're on can fix it.

0Send private message
0Send private message
5 years ago
Jul 11, 2020, 9:20:48 PM
koxsos wrote:

happened to me today too, would like to think my w10 is up to date.

Latest Windows 10 Version is build 1909. To check out yours, right mouse click on windows start symbol on desktop - > search - > enter "winver" and execute.

0Send private message
5 years ago
Jul 12, 2020, 10:27:56 AM

No offence, Eulogos, but you are like a surgeon who treats every patient with cough syroup, because cough is amongst their symptoms.

There may be many reasons for crashes, and the most recent common one (exiting to main menu) has nothing to to with Windows updates, reisntalling Mono, any other redistributables or forcing OpenGL.

0Send private message
5 years ago
Jul 12, 2020, 11:05:12 AM

No, I'm the friend who doesn't have a medical degree recommending people who cough take cough syrup, because I'm not a doctor and that's the best I've got. I have never programmed with the Unity engine and all of my information comes from searching threads, seeing recommendations and fixes, and repeating them here. My fixes have helped a few people, so I keep repeating them. If anyone finds anything else that can fix this error then I will start recommending that fix too.

0Send private message
5 years ago
Jul 12, 2020, 11:18:53 AM

How do I submit this to devs? The game is unplayable because of this and it is infuriating. :D

0Send private message
5 years ago
Jul 12, 2020, 11:23:55 AM

what do you mean it is unplayable?
it just ends when it ends.
Also this is where you submit this to the devs, you have done it right.
Yeah I have W10 1909 aaaand still can score a crash, yeyaaa!

Updated 5 years ago.
0Send private message
5 years ago
Jul 12, 2020, 11:35:43 AM

You're also getting the error:

Failed to set enviroment variable, application does not have the required permission(s). Trying with a lower target...

Try running the program as administrator and adding it as an exception to your antivirus.

Updated 5 years ago.
0Send private message
5 years ago
Jul 12, 2020, 1:40:50 PM
koxsos wrote:

what do you mean it is unplayable?
it just ends when it ends.
Also this is where you submit this to the devs, you have done it right.
Yeah I have W10 1909 aaaand still can score a crash, yeyaaa!


I don't have some achievements that you can only get by getting to the score screen, i.e. win with achievements and difficulty achievements. Thus it's unplayable.

Eulogos wrote:

You're also getting the error:

Failed to set enviroment variable, application does not have the required permission(s). Trying with a lower target...

Try running the program as administrator and adding it as an exception to your antivirus.

I'll try that, thx.

0Send private message
0Send private message
5 years ago
Jul 12, 2020, 2:49:36 PM

This is kind of a shot in the dark. Right before the big error it says:

GraphicsDiagnosticsComponent is disabled because command line argument --diagnostic is not found


It sure would be nice to have diagnostics... but I'm not sure where the argument "--diagnostic" goes. It might go in the Steam launch options. See if that works. And by works I don't mean fixes your game, I mean when it makes a new error log it includes the Graphics Diagnostics. When it makes a new output_log.txt do a find (ctrl+f) for "GraphicsDiagnosticsComponent" and see if it still says the line above about being disabled. The argument might actually be "-diagnostics", everywhere else these arguments are preceded by only a single dash.


Or since --diagnostics says it is a Command-Line Argument, you need to edit the shortcut, but I'm not sure 100% sure which one. Try navigating to C:\Program Files (x86)\Steam\steamapps\common\Endless Space 2, then right click "EndlessSpace2" and create a shortcut. Then rightclick the shortcut and where it says Target : ["C:\Program Files (x86)\Steam\steamapps\common\Endless Space\EndlessSpace.exe"] and add --diagnostics so it says ["C:\Program Files (x86)\Steam\steamapps\common\Endless Space\EndlessSpace.exe" --diagnostics]. Run the game from the new shortcut. Again, it might just be -diagnostics, that's what the documentation I'm reading seems to indicate. Then see if the error log has Graphics Diagnostics.


If that doesn't work I have another hunch. Endless Space I think does not download all of it's files when you install it. Notably the cinematics and localizations get downloaded when you watch them. I don't have ES2 installed at the moment so I'm not sure where the cinematics go but look for something like:
C:\Program Files (x86)\Steam\steamapps\common\Endless Space2\Public_xp1\Movies
In there there should be a movie named like "Vaulter_Intro", or whatever race you're playing, and another named like "Vaulter_Victory" or something. It could be that it is failing to download the movie you need, or downloaded a corruped file.

Updated 5 years ago.
0Send private message
5 years ago
Jul 12, 2020, 3:27:01 PM

Hm, I don't have any folders named movies or any folders that have movies, I checked every single path in the games directory. But I played as Sophons a few times before and saw their victory cutscene.

0Send private message
0Send private message
5 years ago
Jul 12, 2020, 5:54:12 PM

Laughing_Fox, you can't fix this on your side.


As a workaround, score screens should be submitted into cloud. So you can start the game again, navigate from main menu to Empire Chronicles, wait a bit until list is fully loaded, select your latest victory and now you can gaze upon your score and even replay Victory cutscenes.

0Send private message
5 years ago
Jul 12, 2020, 11:59:56 PM

The problems is that I won't get victory type achievements. I want to start a solo game with Cravers for example, they are the only vanilla faction that I haven't played as / won a game as. This bug is potentially preventing me from getting that achievement, because as you know, you get those after tha victory cutscene when you get to the score screen. You also get difficulty achievements the same way, and I lack some of those as well. I like getting achievements for things I do in video games, it's part of the fun for me. There's nothing wrong with my system, the game worked fine before the patch. BTW thanks everyone for your suggestions, I guess we have to wait for this to get fixed.

0Send private message
5 years ago
Jul 13, 2020, 5:50:00 AM
Laughing_Fox wrote:

The problems is that I won't get victory type achievements. I want to start a solo game with Cravers for example, they are the only vanilla faction that I haven't played as / won a game as. This bug is potentially preventing me from getting that achievement, because as you know, you get those after tha victory cutscene when you get to the score screen. You also get difficulty achievements the same way, and I lack some of those as well. I like getting achievements for things I do in video games, it's part of the fun for me. There's nothing wrong with my system, the game worked fine before the patch. BTW thanks everyone for your suggestions, I guess we have to wait for this to get fixed.

You should get it as I did yesterday. You are given an achievement when Victory Screen pops up, then you click "Score Screen", and only then "crash on exiting to Menu" happens.

I repeat, cutscenes happen AFTER Victory screen and after achievements are rewarded. I've witnessed this myself yesterday,

Updated 5 years ago.
0Send private message
5 years ago
Jul 13, 2020, 12:16:15 PM

Yeah, if that were true than I should get the win game on hard achievement, which I don't have. Are you sure? I'll try again of course. It's not crash on exiting the menu, it's a different case. It's crash on getting from victory screen to score screen.

Updated 5 years ago.
0Send private message
5 years ago
Jul 13, 2020, 1:21:58 PM

You are exiting to main menu, when you proceed to score screen, so yeah. You could also try reloading one autosave before the winning one and complete the game again.

0Send private message
5 years ago
Jul 13, 2020, 6:12:58 PM
Sublustris wrote:

You are exiting to main menu, when you proceed to score screen, so yeah. You could also try reloading one autosave before the winning one and complete the game again.

I did that countless times to no avail. The achievement doesn't pop up.

0Send private message
5 years ago
Jul 13, 2020, 11:09:37 PM

Wasn't there an option out in (Endless) Space (2) to play on, instead of going to score screen? I can be wrong about, but if it's possible choose this one and end turn, for to get the achievement.

0Send private message
?

Click here to login

Reply
Comment

Characters : 0
No results
0Send private message