KeenSoftwareHouse / SpaceEngineers

2.93k stars 898 forks source link

mscorlib.dll #412

Open Ivar418 opened 9 years ago

Ivar418 commented 9 years ago

when i try to debug its says and if I try to just play it crashes when loading plz help me out (if you can)

System.Reflection.ReflectionTypeLoadException was unhandled HResult=-2146232830 Message=Kan een of meer van de gevraagde typen niet laden. Haal de LoaderExceptions-eigenschap op voor meer informatie. Source=mscorlib StackTrace: bij System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) bij System.Reflection.RuntimeModule.GetTypes() bij System.Reflection.Assembly.GetTypes() bij VRage.Utils.MyEnumDuplicitiesTester.TestEnumNotDuplicitiesInAssembly(Assembly assembly, HashSet`1 hashSet) in C:\Users\Ivar\Desktop\SpaceEngineers-master(1)\SpaceEngineers-master\Sources\VRage\Utils\MyEnumDuplicitiesTester.cs:regel 76 bij VRage.Utils.MyEnumDuplicitiesTester.CheckEnumNotDuplicities(String companyName) in C:\Users\Ivar\Desktop\SpaceEngineers-master(1)\SpaceEngineers-master\Sources\VRage\Utils\MyEnumDuplicitiesTester.cs:regel 51 bij VRage.Utils.MyEnumDuplicitiesTester.CheckEnumNotDuplicitiesInRunningApplication() in C:\Users\Ivar\Desktop\SpaceEngineers-master(1)\SpaceEngineers-master\Sources\VRage\Utils\MyEnumDuplicitiesTester.cs:regel 19 bij Sandbox.MyInitializer.InvokeBeforeRun(UInt32 appId, String appName, String userDataPath, Boolean addDateToLog) in C:\Users\Ivar\Desktop\SpaceEngineers-master(1)\SpaceEngineers-master\Sources\Sandbox.Game\MyInitializer.cs:regel 105 bij SpaceEngineers.MyProgram.Main(String[] args) in C:\Users\Ivar\Desktop\SpaceEngineers-master(1)\SpaceEngineers-master\Sources\SpaceEngineers\MyProgram.cs:regel 78 bij System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args) bij System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) bij Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() bij System.Threading.ThreadHelper.ThreadStart_Context(Object state) bij System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) bij System.Threading.ThreadHelper.ThreadStart() InnerException:

tdmike commented 8 years ago

the current build placed here is not in sync with the build released trough steam, so the mscorlib.dll version used in the steam release is differend from the one used in the opensource version. You'll need to wait until they update the build on github to the current version on steam.

BlackRedDead commented 8 years ago

good to know^^

Ivar418 commented 8 years ago

and how do I know when they update the code

Jimmacle commented 8 years ago

You'll see the commit.

Drakoskai commented 8 years ago

I ran into a problem that mentioned this dll. I narrowed it down to a missing xml definition for an object builder. I hacked some code in to handle it's absence and also the serializer being null and got it to build.

Ivar418 commented 8 years ago

Can you tel me what to do

Drakoskai commented 8 years ago

Your stack trace looks different from the one I had. In my case there was a call to a dictionary[string key] that was calling a nonexistent key so it threw an exception I changed to a getOrDefault so that if the entry was not present it would return a null. Later in the code the null would throw an exemption so I blocked that code around a null check to prevent it from running. Game loads fine for me now