This object is in archive! 

Potential solution for Space Engineers Cockpit Entry Bug

Erik Popp shared this bug 21 months ago
Won't Fix

Hello Keen,

I've played your game for over a year now and I love it. I mainly play

on Stone Industries' server. A few times I've run into a cockpit entry

bug where if I enter certain cockpits, the game will lose connection. I

then have to disconnect from the server and reconnect. When I log back

in, I'm in the cockpit that I tried to enter before. I can do anything

that I can normally do, including exiting the cockpit, but if I try to

re-enter the cockpit, the same issue happens again.

I haven't gotten this bug very often, but when I do it's annoying. In

the hope of keeping this bug from happening when I can't afford the

delay of restarting the game, I'm reporting my guess as to what to do to

fix it.

I noticed that almost all of the toolbar items in the cockpit were

stale. This suggested to me that the bug may occur when some of the

toolbar items in the cockpit are no longer valid. The game doesn't know

how to handle one or more of them, so it hangs or otherwise becomes

unresponsive. To test this hypothesis, I tried grinding down the

offending cockpit and rebuilding it, which made it so it no longer had

any stale toolbar items. When I did this, the cockpit bug disappeared.

On my builds I try to have lots of functions available to the user from

the toolbar, such that I tend to fill at least the first and second rows

with functionality - sometimes more. This particular ship was created

starting from a blueprint that I use for most of my utility ships, and

then I added the task-specific functionality to it. Between my heavy

modification of the base blueprint, addition of functionality, and then

building the ship from a projector, I'm not surprised that a stale

toolbar item issue would crop up.

In case it's relevant, I also built this ship using a blueprint and the

build and repair plugin that Stone Industries uses (BaR). I started

building from a merge block, then once much of the ship had grown, I

connected it to the parent ship by its connector port located right next

to the merge block and then disconnected the merge block. I did this to

get around a per-ship build limit on this server for solar panels.

If my guess about the nature of this bug is correct, then the solution

would be to go carefully through SE's code for loading toolbar items

from a cockpit upon entry and making sure that it properly handles all

types of stale toolbar item references, even when the ship was built

from blueprint as an offshoot from another grid.

I hope this helps, and than you for making such a great game!

-Erik

Replies (3)

photo
0

Hello!

Thank you for contacting us. Since this is a bug report, I'm moving your ticket to our support page, where our QA team will take care of you.

Kind Regards

Keen Software House

photo
1

Hello, Erik!

Thank you for writing to us.

Could you kindly share some further information with us?

Are you experiencing this issue on the said server only or on other multiplayer servers (for example, Keen's official servers) as well?

If you know, does any other player on the said server also experiencing the same issue?

The said server seems to be heavily modded (have plenty of active MODs), and you might be experiencing the issue because of any obsolete or broken MOD active on the server (Kindly note that we do not and can not provide support for MODs. It's the MOD creator/owner's responsibility to make sure that they are working fine with the current version of the game). So, could you check if you experience the same issue when playing on an unmodded (no active MODs) Lobby or Dedicated Server (DS) as a host?

If the issue persists in the vanilla (unmodded) world, could you send us a screen recording/video showcasing the issue at your end, the vanilla world save where we can replicate the issue, along with repro steps (if there are any) and the log files when experiencing this issue?

  • You can access your save files by typing %appdata% into your Windows search bar and you will be redirected to the hidden Roaming folder. After that just follow: \Roaming\SpaceEngineers\Saves. There should be a folder with your SteamID and your saves. DS world saves can be found in the \Roaming\SpaceEngineersDedicated\Saves folder.
  • Please zip the file and attach it here. If you are having difficulty attaching files you can optionally use Google Drive. When sharing a google drive link please make sure it is set to be downloadable by anyone with the link.
  • You can access your log files by typing %appdata% into your Windows search bar and you will be redirected to the hidden Roaming folder. After that just follow: \Roaming\SpaceEngineers. DS log files can be found in the \Roaming\SpaceEngineersDedicated folder.

We are looking forward to assisting you with this issue.

Kind Regards,

Keen Software House: QA Department

photo
1

Hello, Engineer!

Because there is no new comment from you, and we are unable to reproduce the issue on our own, I will close this thread now as outdated.

If you or any other player will experience this issue again, please make a new thread and provide all needed info there.

Thank you for understanding.

Kind Regards

Keen Software House: QA Department

Replies have been locked on this page!