Jump to content

VAB Stuttering cuz of Unity Garbage Collector


Recommended Posts

I got sudden stuttering in ksp at vab and sph(

The only thing I can put it down to is Unitys garbage collection, not really something anyone but Unity can fix. There's much complaining on the Unity forums...

I had a go recompiling Unitys mono build with multithreading enabled for the garbage collector - it practically eliminates the freezing but also introduces a nasty memory leak :(

)

but i never had it before. I klnow its from unity garbage colector but can i fix it? Someone said somehting about fixing it: 

The only thing I can put it down to is Unitys garbage collection, not really something anyone but Unity can fix. There's much complaining on the Unity forums...

I had a go recompiling Unitys mono build with multithreading enabled for the garbage collector - it practically eliminates the freezing but also introduces a nasty memory leak :(

Link to comment
Share on other sites

I suggest you visit IRC and discuss with the folks in KSPModding.  they may be able to point you to someone on the development team that may be able to shed some light on the issue.  I know they are moving to Unity 5.4 and are waiting on 5.4 to hit release before KSP 1.2 is released.  I've not researched 5.4's GC, but I did spend some time refactoring my mods to account for the current GC issues and reduce it at least in my mods.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

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...