Jump to content

Game stuck on loading


Recommended Posts

9 hours ago, tmccreight651 said:

i recently updated a load of mods through CKAN, my game loads through the normal loading screens but then never progresses to the main menu. Any and all help appreciated.

Well... There're indeed some exceptions that shouldn't be happening...

I suggest you to delete all DLLs named MiniAVC from your rig (there's a nice tool called ZeroMiniAVC)

[LOG 11:43:40.240] MiniAVC -> System.IO.IOException: Sharing violation on path C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\GameData\KerbinSideRemastered\MiniAVC.xml
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <9577ac7a62ef43179789031239ba8798>:0
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode)
  at MiniAVC.AddonSettings.Load (System.String rootPath) [0x0001b] in <32daf95419734fac8d1e416d1f8be6d5>:0
  at MiniAVC.AddonLibrary.ProcessAddonPopulation (System.Object state) [0x0006c] in <32daf95419734fac8d1e416d1f8be6d5>:0

Not every MiniAVC exception is a killer, but it's easier to just get rid of all of them than trying to figure them out. Use KSP-AVC (or CKAN) to keep your rig updated!

 

I found a lot of issues for this problem:

[WRN 11:50:26.210] [KSPCF/DragCubeGeneration] Call to 'Assembly-CSharp:ModuleDeployablePart.AssumeDragCubePosition()' failed on part 'bluedog.Mariner3.TV.Camera' for drag cube 'RETRACTED'
System.NullReferenceException: Object reference not set to an instance of an object
  at ModuleDeployablePart.AssumeDragCubePosition (System.String name) [0x00088] in <4b449f2841f84227adfaad3149c8fdba>:0
  at KSPCommunityFixes.Performance.DragCubeGeneration+<RenderDragCubesOnCopy>d__21.MoveNext () [0x005a4] in <e997dbbd4fda4eacb68a00719aa5e5dc>:0

and then an almost infinite number or other ones:

[EXC 12:02:16.542] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
    System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <9577ac7a62ef43179789031239ba8798>:0)
    System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <9577ac7a62ef43179789031239ba8798>:0)
    FlightGlobals.getMainBody (Vector3d refPos) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    GalaxyCubeControl.Update () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
    UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
[LOG 12:02:16.551] MiniAVC -> Starter was destroyed.

 

By bad luck, or perhaps due being involved with the mess, MiniAVC is there again. :/

From this point, I found nearly 45k exceptions like that one:

> cat KSP\(6\).log | grep "ArgumentOutOfRangeException: Index was out of range." | wc -l
44870

 

And the analysis will be a sweat shop. Since MiniAVC had a unfortunate history from triggering some nasty bugs inside KSP's guts, I think that your best line of action is just to remove all instances of MiniAVC from your rig , firing it up again and see what happens:

> cat KSP\(6\).log | grep "MiniAVC" | grep "Load(Assembly)"
[LOG 11:42:42.236] Load(Assembly): KerbinSideRemastered/MiniAVC
[LOG 11:42:42.243] Load(Assembly): KIS/Plugins/MiniAVC-V2
[LOG 11:42:42.339] Load(Assembly): NSS/MiniAVC
[LOG 11:42:42.357] Load(Assembly): RESCALE/MiniAVC
[LOG 11:42:42.365] Load(Assembly): RLA_Reborn/MiniAVC

Delete the following files:

  • C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\GameData\KerbinSideRemastered/MiniAVC.dll
  • C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\GameData\KIS/Plugins/MiniAVC-V2.dll
  • C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\GameData\NSS/MiniAVC.dll
  • C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\GameData\RESCALE/MiniAVC.dll
  • C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\GameData\RLA_Reborn/MiniAVC.dll

 

And then fire up KSP again. Anything still wrong, send us a new KSP.log - I expect (or hope) to be way easier to diagnose the problem from this point.

 

 

Edited by Lisias
Yeah, tyops... But, hey, I'm wasted today... (due RL and DJ issues!!!! :D)
Link to comment
Share on other sites

15 hours ago, Lisias said:

Well... There're indeed some exceptions that shouldn't be happening...

I suggest you to delete all DLLs named MiniAVC from your rig (there's a nice tool called ZeroMiniAVC)

[LOG 11:43:40.240] MiniAVC -> System.IO.IOException: Sharing violation on path C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\GameData\KerbinSideRemastered\MiniAVC.xml
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <9577ac7a62ef43179789031239ba8798>:0
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode)
  at MiniAVC.AddonSettings.Load (System.String rootPath) [0x0001b] in <32daf95419734fac8d1e416d1f8be6d5>:0
  at MiniAVC.AddonLibrary.ProcessAddonPopulation (System.Object state) [0x0006c] in <32daf95419734fac8d1e416d1f8be6d5>:0

Not every MiniAVC exception is a killer, but it's easier to just get rid of all of them than trying to figure them out. Use KSP-AVC (or CKAN) to keep your rig updated!

 

I found a lot of issues for this problem:

[WRN 11:50:26.210] [KSPCF/DragCubeGeneration] Call to 'Assembly-CSharp:ModuleDeployablePart.AssumeDragCubePosition()' failed on part 'bluedog.Mariner3.TV.Camera' for drag cube 'RETRACTED'
System.NullReferenceException: Object reference not set to an instance of an object
  at ModuleDeployablePart.AssumeDragCubePosition (System.String name) [0x00088] in <4b449f2841f84227adfaad3149c8fdba>:0
  at KSPCommunityFixes.Performance.DragCubeGeneration+<RenderDragCubesOnCopy>d__21.MoveNext () [0x005a4] in <e997dbbd4fda4eacb68a00719aa5e5dc>:0

and then an almost infinite number or other ones:

[EXC 12:02:16.542] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
    System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <9577ac7a62ef43179789031239ba8798>:0)
    System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <9577ac7a62ef43179789031239ba8798>:0)
    FlightGlobals.getMainBody (Vector3d refPos) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    GalaxyCubeControl.Update () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
    UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
[LOG 12:02:16.551] MiniAVC -> Starter was destroyed.

 

By bad luck, or perhaps due being involved with the mess, MiniAVC is there again. :/

From this point, I found nearly 45k exceptions like that one:

> cat KSP\(6\).log | grep "ArgumentOutOfRangeException: Index was out of range." | wc -l
44870

 

And the analysis will be a sweat shop. Since MiniAVC had a unfortunate history from triggering some nasty bugs inside KSP's guts, I think that your best line of action is just to remove all instances of MiniAVC from your rig , firing it up again and see what happens:

> cat KSP\(6\).log | grep "MiniAVC" | grep "Load(Assembly)"
[LOG 11:42:42.236] Load(Assembly): KerbinSideRemastered/MiniAVC
[LOG 11:42:42.243] Load(Assembly): KIS/Plugins/MiniAVC-V2
[LOG 11:42:42.339] Load(Assembly): NSS/MiniAVC
[LOG 11:42:42.357] Load(Assembly): RESCALE/MiniAVC
[LOG 11:42:42.365] Load(Assembly): RLA_Reborn/MiniAVC

Delete the following files:

  • C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\GameData\KerbinSideRemastered/MiniAVC.dll
  • C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\GameData\KIS/Plugins/MiniAVC-V2.dll
  • C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\GameData\NSS/MiniAVC.dll
  • C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\GameData\RESCALE/MiniAVC.dll
  • C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\GameData\RLA_Reborn/MiniAVC.dll

 

And then fire up KSP again. Anything still wrong, send us a new KSP.log - I expect (or hope) to be way easier to diagnose the problem from this point.

 

 

Thanks for getting back to me, I installed ZeroMiniAVC but my game still infini-loads.

 

Here's my updated KSP.log: https://www.dropbox.com/scl/fi/1qnmzxjkhjuaoghjzl82a/KSP.log?rlkey=s13l9xedcry1s2uqympwpsv02&st=uwj5kgym&dl=0

Link to comment
Share on other sites

13 minutes ago, tmccreight651 said:

Thanks for getting back to me, I installed ZeroMiniAVC but my game still infini-loads.

 

Here's my updated KSP.log: https://www.dropbox.com/scl/fi/1qnmzxjkhjuaoghjzl82a/KSP.log?rlkey=s13l9xedcry1s2uqympwpsv02&st=uwj5kgym&dl=0

That's interesting... It was my hope that whatever was causing this:

[EXC 12:50:03.542] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
    System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <9577ac7a62ef4317
    System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <9577ac7a62ef43179789031239ba8798>:0)
    FlightGlobals.getMainBody (Vector3d refPos) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    GalaxyCubeControl.Update () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
    UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

and this:

[EXC 12:50:03.576] NullReferenceException: Object reference not set to an instance of an object
    (wrapper dynamic-method) OrbitRendererBase.OrbitRendererBase.LateUpdate_Patch1(OrbitRendererBase)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
    UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

Would be being induced to bork as splash damage from something else, and MiniAVC was the only known thingy that could be causing it. Well, it wasn't. And since there's no ReflectionException on your log, this ruled out a whole class of known problems.

You have a good amount of RAM, a reasonably decent CPU and a decent GPU. I think we can rule out lack of memory or VRAM.

It's almost surely a conflict on patching or something, and it appears to be related to the SkyBox. But I didn't found anything (that I know at least) that would be mangling the SkyBox (perhaps something trying to use Kopernicus and failing?).

We are going to get our hands dirty on this one. I will need to reproduce your rig and see what happens on my rig.

I will get back to you Soon™.

Link to comment
Share on other sites

1 hour ago, tmccreight651 said:

Thanks for getting back to me, I installed ZeroMiniAVC but my game still infini-loads.

 

Here's my updated KSP.log: https://www.dropbox.com/scl/fi/1qnmzxjkhjuaoghjzl82a/KSP.log?rlkey=s13l9xedcry1s2uqympwpsv02&st=uwj5kgym&dl=0

I just generated my ckan file that will reproduce your rig using my lunch time, but will be able to dive into it only by night. However, I found some oddities that may be the cause, on a somewhat educated guess based on my previous post.

I didn't managed to identify on CKAN's metadata the following directories:

  • 77Industries
    • Appears to have only flags, and none of the assets mentioned on any netkan.
  • oxbow_Robin
    • Don't have the slightest idea what it is
  • Sigma
    • Appears to be empty
  • RESCALE
  • ASTRO
    • Don't have the slightest idea what it is
  •  OPX-SSM
    • Don't have the slightest idea what it is

Since apparently the problem is related to SkyBoxes, the problem could be related to something using Kopernicus like a Solar System Replacement, or something somewhat old triggering collateral effects on newer versions of this (or similar, like SigmaDimensions) mod.

So, I want to suggest you to make a FULL COPY of your KSP into somewhere easy to find (like the Desktop), then remove:

  • oxbow_Robin
  • ASTRO
  • RESCALE
  • OPX-SSM

on that copy and fire it to see what happens, and then publish here the results.

DON'T TOUCH your original KSP, the tests we are going to do on it are destructive beyound salvage. Use only a copy for exploratory tests!

If you could do it before 20:00 GMT-3, it would save me a good amount if time!

 

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...