This crash occurs when exiting the sandbox while the last surface was a space ship that got destroyed while in sandbox.
The mod try to get back to the previous surface but it does not existing.
"""
The mod Blueprint Sandboxes (3.3.0) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event blueprint-sandboxes :: bpsb-toggle-gui-sb-toggle-shortcut
(ID 269)
Invalid Surfaceldentification. Surface does not exist.
stack traceback:
[C]: in function 'set_controller'
blueprint-sandboxes /scripts/teleport.lua: 10: in function
'TeleportToPositionOnSurface'
_blueprint-sandboxes /scripts/teleport.lua:31: in function 'ToPositionOnSurface'
_blueprint-sandboxes /scripts/sandbox.lua:226: in function 'Exit'
_blueprint-sandboxes /scripts/sandbox.lua:603: in function 'Toggle'
_blueprint-sandboxes /scripts/toggle-gui.lua:248: in function
_blueprint-sandboxes __ /scripts/toggle-gui.lua:246>
"""