[Major update 1.203.505] Game won't launch: Exception occurred: System.TypeInitializationException,
have done so far:
- updated GFX driver
- updated .NET Framework to 4.8.9181.0
- verified games files
- ran sfc /scannow
- deleted SpaceEngineers.cfg
- deleted Video folder
- deleted Shader folder
- set startup option to -skipintro
- deleted entire %appdata%/SpaceEngineers folder
- verified files again to reinstall
- restored SpaceEngineers.cfg because it won't create a new one when it is missing
The result is always the same with 3 major exceptions:
- System.TypeInitializationException: The type initializer for 'GameAnalyticsSDK.Net.Logging.GALogger" rel="nofollow" target="_blank">http://%27GameAnalyticsSDK.Net.Logging.GALogger%27">'GameAnalyticsSDK.Net.Logging.GALogger' threw an exception
- System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize
- System.Configuration.ConfigurationErrorsException: Unrecognized configuration section runtime. (C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\Bin64\SpaceEngineers.exe.Config line 3)
Log:
2023-10-28 15:25:06.041 - Thread: 1 -> Log Started
2023-10-28 15:25:06.041 - Thread: 1 -> Timezone (local - UTC): -4h
2023-10-28 15:25:06.041 - Thread: 1 -> App Version: 01_203_505
2023-10-28 15:25:06.049 - Thread: 1 -> Is official: True [NO][IS][NAMP]
2023-10-28 15:25:06.049 - Thread: 1 -> Branch / Sandbox: SVN
2023-10-28 15:25:06.049 - Thread: 1 -> Client Build Number: 1
2023-10-28 15:25:06.049 - Thread: 1 -> Server Build Number: 1
2023-10-28 15:25:06.049 - Thread: 1 -> Environment.ProcessorCount: 12
2023-10-28 15:25:06.110 - Thread: 1 -> Environment.OSVersion: Microsoft Windows 10 Pro (Microsoft Windows NT 10.0.19045.0)
2023-10-28 15:25:06.110 - Thread: 1 -> Environment.CommandLine: "C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\Bin64\SpaceEngineers.exe" -skipintro
2023-10-28 15:25:06.110 - Thread: 1 -> Environment.Is64BitProcess: True
2023-10-28 15:25:06.110 - Thread: 1 -> Environment.Is64BitOperatingSystem: True
2023-10-28 15:25:06.111 - Thread: 1 -> Environment.Version: .NET Framework 4.8.9181.0
2023-10-28 15:25:06.111 - Thread: 1 -> Environment.CurrentDirectory: C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\Bin64
2023-10-28 15:25:06.116 - Thread: 1 -> CPU Info: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
2023-10-28 15:25:06.116 - Thread: 1 -> IntPtr.Size: 8
2023-10-28 15:25:06.116 - Thread: 1 -> Default Culture:
2023-10-28 15:25:06.116 - Thread: 1 -> Default UI Culture:
2023-10-28 15:25:06.116 - Thread: 1 -> MyConfig.Load() - START
2023-10-28 15:25:06.117 - Thread: 1 -> Path: C:\Users\{my username]\AppData\Roaming\SpaceEngineers\SpaceEngineers.cfg
2023-10-28 15:25:06.117 - Thread: 1 -> Config file not found! C:\Users\{my username]\AppData\Roaming\SpaceEngineers\SpaceEngineers.cfg
2023-10-28 15:25:06.117 - Thread: 1 -> NewNewGameScreen: False
2023-10-28 15:25:06.117 - Thread: 1 -> MyConfig.Load() - END
2023-10-28 15:25:06.519 - Thread: 1 -> Checksum file is missing, game will run as usual but file integrity won't be verified
2023-10-28 15:25:06.810 - Thread: 1 -> SpaceEngineersGame.SetupAnalytics - START
2023-10-28 15:25:06.815 - Thread: 1 -> SpaceEngineersGame.SetupAnalytics - END
2023-10-28 15:25:06.815 - Thread: 1 -> Found processor count: 6
2023-10-28 15:25:06.815 - Thread: 1 -> Using processor count: 6
2023-10-28 15:25:06.838 - Thread: 4 -> Exception occurred: System.TypeInitializationException: The type initializer for 'GameAnalyticsSDK.Net.Logging.GALogger" rel="nofollow" target="_blank">http://%27GameAnalyticsSDK.Net.Logging.GALogger%27">'GameAnalyticsSDK.Net.Logging.GALogger' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section runtime. (C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\Bin64\SpaceEngineers.exe.Config line 3)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationManager.PrepareConfigSystem()
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at NLog.Config.XmlLoggingConfiguration.get_AppConfig()
at NLog.LogFactory.get_Configuration()
at NLog.LogFactory.GetLogger(LoggerCacheKey cacheKey)
at NLog.LogManager.GetCurrentClassLogger()
--- End of inner exception stack trace ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
2023-10-28 15:25:06.838 - Thread: 4 -> InnerException:
2023-10-28 15:25:06.838 - Thread: 4 -> Exception occurred: System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section runtime. (C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\Bin64\SpaceEngineers.exe.Config line 3)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationManager.PrepareConfigSystem()
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at NLog.Config.XmlLoggingConfiguration.get_AppConfig()
at NLog.LogFactory.get_Configuration()
at NLog.LogFactory.GetLogger(LoggerCacheKey cacheKey)
at NLog.LogManager.GetCurrentClassLogger()
2023-10-28 15:25:06.838 - Thread: 4 -> InnerException:
2023-10-28 15:25:06.838 - Thread: 4 -> Exception occurred: System.Configuration.ConfigurationErrorsException: Unrecognized configuration section runtime. (C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\Bin64\SpaceEngineers.exe.Config line 3)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
2023-10-28 15:25:06.838 - Thread: 4 -> Showing message
2023-10-28 15:25:06.873 - Thread: 1 -> All detected adapters:
2023-10-28 15:25:46.269 - Thread: 1 -> NVIDIA GeForce GTX 1080 Ti - VendorID=4318, SubsystemID=905973800, DeviceID=6918
2023-10-28 15:25:46.269 - Thread: 1 -> Intel(R) UHD Graphics 630 - VendorID=32902, SubsystemID=139989032, DeviceID=16018
2023-10-28 15:25:46.269 - Thread: 1 -> Microsoft Basic Render Driver - VendorID=5140, SubsystemID=0, DeviceID=140
2023-10-28 15:25:46.286 - Thread: 4 ->
================================== CRASH INFO ==================================
AppVersion: 01_203_505
GameName: Space Engineers
IsOutOfMemory: False
IsGPU: False
IsNative: False
IsTask: False
IsExperimental: False
ProcessRunTime: 40
PCUCount: 0
IsHang: False
GCMemory: 11
GCMemoryAllocated: 11
HWAvailableMemory: 24890
ProcessPrivateMemory: 97
AnalyticId: SE
================================== OFNI HSARC ==================================
2023-10-28 15:25:46.286 - Thread: 4 -> Log Closed
File SpaceEngineers.exe.config:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<enforceFIPSPolicy enabled="false" />
<assemblyBinding ="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.4.1" newVersion="4.0.4.1" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
</configuration>
VRageRender Log:
2023-10-28 15:58:07.428 - Thread: 1 -> Log Started
2023-10-28 15:58:07.428 - Thread: 1 -> Timezone (local - UTC): -4h
2023-10-28 15:58:07.428 - Thread: 1 -> App Version: Version unknown
2023-10-28 15:58:07.428 - Thread: 1 -> VRage renderer started
I also ran CHKDSK:
"Windows has scanned the file system and found no problems.
No further action is required."
Then I unistalled the game completely and deleted the Space Engineers folder in Roaming.
Restarted Steam. Installed the game again.
The game downloaded but then it stopped at updating.
I also ran CHKDSK:
"Windows has scanned the file system and found no problems.
No further action is required."
Then I unistalled the game completely and deleted the Space Engineers folder in Roaming.
Restarted Steam. Installed the game again.
The game downloaded but then it stopped at updating.
Then I cleared the Steam download cache, which restarts Steam.
Then I verfied the game files again.
After it finished I started the game and got the exact same crash and error log as above.
Then I cleared the Steam download cache, which restarts Steam.
Then I verfied the game files again.
After it finished I started the game and got the exact same crash and error log as above.
I tried everything, even reinstalling Steam, deleting all workshop files for the app and cloud blueprints.
Then I noticed that when I verify files after the n-th time to reinstall Space Engineers a UAC dialog pops up every time since the the first time lauch after the update and asking me to install the "Microsoft Common Language Runtime native compiler" with the following program location: "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe install SpaceEngineers.exe /silent /nologo". Although I have never seen this I thought well if you need it now, fine I install it.
So I looked at the location and there is a "ngen.exe" and the "ngen.log" there it states at the bottom:
10/30/2023 23:19:16.735 [9584]: Command line: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe install SpaceEngineers.exe /silent /nologo
10/30/2023 23:19:17.017 [9584]: Failed to load dependency System.ServiceModel.Primitives of assembly ProtoBuf.Net.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null because of the following error : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
10/30/2023 23:19:17.213 [9584]: ngen returning 0x00000000
I also installed several other Steam Apps and games today and did not have a problem launching them.
I have spent over 5000 hours with this game and want it back! Please help! (I attached the full ngen.log)
I tried everything, even reinstalling Steam, deleting all workshop files for the app and cloud blueprints.
Then I noticed that when I verify files after the n-th time to reinstall Space Engineers a UAC dialog pops up every time since the the first time lauch after the update and asking me to install the "Microsoft Common Language Runtime native compiler" with the following program location: "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe install SpaceEngineers.exe /silent /nologo". Although I have never seen this I thought well if you need it now, fine I install it.
So I looked at the location and there is a "ngen.exe" and the "ngen.log" there it states at the bottom:
10/30/2023 23:19:16.735 [9584]: Command line: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe install SpaceEngineers.exe /silent /nologo
10/30/2023 23:19:17.017 [9584]: Failed to load dependency System.ServiceModel.Primitives of assembly ProtoBuf.Net.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null because of the following error : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
10/30/2023 23:19:17.213 [9584]: ngen returning 0x00000000
I also installed several other Steam Apps and games today and did not have a problem launching them.
I have spent over 5000 hours with this game and want it back! Please help! (I attached the full ngen.log)
Hello Templar,
I am sorry to hear you are experiencing crashes when playing Space Engineers. Since you have taken several steps to resolve the issue can you please try to reinstall Windows? You can follow this guide, section for clean install.
If it does not resolve your problem, please share your newest log file with me. Due to complexity of this error, please practice patience while we review it internally.
Thank you in advance.
Kind regards,
Keen Software House: QA Department
Hello Templar,
I am sorry to hear you are experiencing crashes when playing Space Engineers. Since you have taken several steps to resolve the issue can you please try to reinstall Windows? You can follow this guide, section for clean install.
If it does not resolve your problem, please share your newest log file with me. Due to complexity of this error, please practice patience while we review it internally.
Thank you in advance.
Kind regards,
Keen Software House: QA Department
SInce Space Engineers is the only application not working I rather not reinstall Windows as it is a huge pain in the butt - I also use the machine as my work computer. I ran DISM with restore health and it was fine. Also chckdsk before and after. No defective sectors or files.
Given that this behaviour startet right after the latest update on the first launch it is fair to assume that the problem lies with SE or Steam. A few days before the update SE was behaving normal. I would appreciate if you could escalate this issue.
SInce Space Engineers is the only application not working I rather not reinstall Windows as it is a huge pain in the butt - I also use the machine as my work computer. I ran DISM with restore health and it was fine. Also chckdsk before and after. No defective sectors or files.
Given that this behaviour startet right after the latest update on the first launch it is fair to assume that the problem lies with SE or Steam. A few days before the update SE was behaving normal. I would appreciate if you could escalate this issue.
Hello Templar,
since you cannot perform a clean install of Windows and you could not find any defective files, I reported the crash internally.
I am sorry for any inconvenience.
Kind regards,
Keen Software House: QA Department
Hello Templar,
since you cannot perform a clean install of Windows and you could not find any defective files, I reported the crash internally.
I am sorry for any inconvenience.
Kind regards,
Keen Software House: QA Department
Hello Templar,
Our programmers looked into the log file and discovered that there is a section in the SpaceEngineers.exe.Config (on line 3) file that should not be there. Please download and run this repair tool.
Please let me know if it helped.
Kind regards,
Keen Software House: QA Department
Hello Templar,
Our programmers looked into the log file and discovered that there is a section in the SpaceEngineers.exe.Config (on line 3) file that should not be there. Please download and run this repair tool.
Please let me know if it helped.
Kind regards,
Keen Software House: QA Department
No luck.
1. Ran the repair tool
2. reinstalled .Net Framework 4.8.9195.0 and restarted PC
3. deleted SpaceEngineers.exe.CONFIG
4. deleted Roaming/SpaceEngineers folder
5. launched SE, Ngen.exe throws UAC warning, I let it install.
6. SE folder gets created, but no SpaceEngineers.cfg
7. SE hangs and stops launching
8. Crash log shows the same problems
No luck.
1. Ran the repair tool
2. reinstalled .Net Framework 4.8.9195.0 and restarted PC
3. deleted SpaceEngineers.exe.CONFIG
4. deleted Roaming/SpaceEngineers folder
5. launched SE, Ngen.exe throws UAC warning, I let it install.
6. SE folder gets created, but no SpaceEngineers.cfg
7. SE hangs and stops launching
8. Crash log shows the same problems
Forgot to mention:
after deleting CONFIG (step 3) I verfied install files to get it downloaded again.
I can't attach it (file type not accepted) but this is the content: (I also attached ngen.log)
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<enforceFIPSPolicy enabled="false" />
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.ComponentModel.Annotations" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.2.1.0" newVersion="4.2.1.0" />
</dependentAssembly>
</assemblyBinding>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.4.1" newVersion="4.0.4.1" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
</configuration>
Forgot to mention:
after deleting CONFIG (step 3) I verfied install files to get it downloaded again.
I can't attach it (file type not accepted) but this is the content: (I also attached ngen.log)
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<enforceFIPSPolicy enabled="false" />
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.ComponentModel.Annotations" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.2.1.0" newVersion="4.2.1.0" />
</dependentAssembly>
</assemblyBinding>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.4.1" newVersion="4.0.4.1" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
</configuration>
How much more information do you need?
How much more information do you need?
I found this topic related to the Protobuf assembly not found by .net:
https://github.com/protobuf-net/protobuf-net.Grpc/issues/231
Maybe that helps the devs to work around that problem.
I found this topic related to the Protobuf assembly not found by .net:
https://github.com/protobuf-net/protobuf-net.Grpc/issues/231
Maybe that helps the devs to work around that problem.
Finally figured it out: The .Net Framework installation was missing the "machine.config" and even the "machine.config.default" in both 32bit and 64bit framework folders. After copyiing the files from an earlier system image and restart SE was working again.
Curious that even the MS .NET Framework repair tool didn't catch that.
Finally figured it out: The .Net Framework installation was missing the "machine.config" and even the "machine.config.default" in both 32bit and 64bit framework folders. After copyiing the files from an earlier system image and restart SE was working again.
Curious that even the MS .NET Framework repair tool didn't catch that.
Hello, Templar,
happy to hear that after doing this, you are no longer experiencing any problems.
Since there is no further assistance needed from our side, I will close this thread.
Please do not hesitate to contact us again should you observer and/or experience any other problem with the game.
Happy Engineering!
Kind Regards
Keen Software House: QA Department
Hello, Templar,
happy to hear that after doing this, you are no longer experiencing any problems.
Since there is no further assistance needed from our side, I will close this thread.
Please do not hesitate to contact us again should you observer and/or experience any other problem with the game.
Happy Engineering!
Kind Regards
Keen Software House: QA Department
Replies have been locked on this page!