thorwin99 / SEWorldGenPlugin

A world generation plugin for space engineers
36 stars 8 forks source link

SE Worldgen causes crash after 5-15min use #119

Closed RobertSnype closed 3 years ago

RobertSnype commented 3 years ago

Made new world with only plugin and was created fine. However if left to run for 5-15min it would crash to desktop. Noticed it most at asteroid fields. No other mods. Log attached.

SpaceEngineers_20210725_144845270.log

thorwin99 commented 3 years ago

Could you try to disable GPS for asteroids in the plugin settings and try again? The crash had something to do with GPSs

Da1NOnlyCheezIt commented 3 years ago
So, I tried something else to see if there were other things to possibly cause it, and the issue stopped when the settings were: Planet Moon Asteroid Result
Persistent Hidden Persistent Hidden Discovery Ran about 50k frames (no crash)
Persistent Hidden Persistent Hidden Persistent Hidden Ran about 30k frames (no crash)
Discovery Discovery Discovery Crash after 15k (about 1 autosave)

This was a consistent failure under running only discovery, even after using the other listed methods and reverting back to discovery GPS mode. This means autosaves occurred between trials on the same world.

This could mean a conflict is happening between discovery items, or that (since I'm on a planet ring) there is a conflict between the planet and ring. I am running mods, however I looked at one of my logs and the log given, and the lines describing the throw exception was similar if not the same. These changes were within the edit settings menu in the world options/load screen. This issue also did not occur on an older, v2.0.5.3pre1 version of the plugin

thorwin99 commented 3 years ago

Yeah, the issue is likely caused by the addition of the extra thread in update 2.0.6.3, to save performance in the simulation thread. So whats happening for you is, that the worker thread to generate the dynamic gps essentially tries to generate one, while the simulation thead currently spawns them, so they collide with each other. Its not really an easy fix, but can be done

Da1NOnlyCheezIt commented 3 years ago

So for now, just avoid using multiple discovery gps maps together? I am fine with this if that is the case.

I'd be happy to help if you need more information to look at with this, thank you for your time.

thorwin99 commented 3 years ago

Yes, for now avoid it. It will be fixed in the next update

thorwin99 commented 3 years ago

Fixed in latest release of the plugin, version 2.0.6.7