You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue can be divided into two separate but very related scenarios:
There's an in-flight vessel with a specific part "A". Let's say that part A comes from a mod, and the user disables or uninstalls the mod in between two play sessions. When they come back to the campaign that contains the loaded vessel with the part, the game will freeze during loading at the "Creating Vessel" loading action:
The following error causes this freeze:
There are no vessels with missing parts in flight, but the user has such a vessel saved in VAB. When they attempt to load the vessel into the editor, they don't see any message or error, there's only an exception in a log, which is not very user friendly:
Solution proposal
Implement some sort of a system similar to KSP 1, where we would check during the save loading whether any of the vessels in the save have missing parts, and if so, don't load those vessels and warn the user:
This should be relatively easy - just patch the ObjectAssemblyBuilderFileIO.LoadWorkspaceFromFile method and display an error dialog when the vessel cannot be loaded. Example from KSP 1:
The text was updated successfully, but these errors were encountered:
Feature Information
Feature description
This issue can be divided into two separate but very related scenarios:
There's an in-flight vessel with a specific part "A". Let's say that part A comes from a mod, and the user disables or uninstalls the mod in between two play sessions. When they come back to the campaign that contains the loaded vessel with the part, the game will freeze during loading at the "Creating Vessel" loading action:
The following error causes this freeze:
There are no vessels with missing parts in flight, but the user has such a vessel saved in VAB. When they attempt to load the vessel into the editor, they don't see any message or error, there's only an exception in a log, which is not very user friendly:
Solution proposal
Implement some sort of a system similar to KSP 1, where we would check during the save loading whether any of the vessels in the save have missing parts, and if so, don't load those vessels and warn the user:
This should be relatively easy - just patch the
ObjectAssemblyBuilderFileIO.LoadWorkspaceFromFile
method and display an error dialog when the vessel cannot be loaded. Example from KSP 1:The text was updated successfully, but these errors were encountered: