-
Notifications
You must be signed in to change notification settings - Fork 27
Description
tModLoader 2025.8.3.1
Subworld library version 2.2.3.2
The Stars Above 2.1.7.3
Description
When moving between worlds using SubworldLibrary with the Stars Above mod, returning to a previously visited subworld causes a SocketException. The subworld fails to load after returning to it. This happens both on a dedicated server and also via host & play from within terraria. The issue does not happen when playing single player.
Steps to Reproduce
Launch tModLoader server with SubworldLibrary and Stars Above installed.
Enter a subworld from the main world.
Return to the main world.
Attempt to enter the same subworld again.
Observe the error in the log; the subworld fails to load.
Observed Behavior
Subworld fails to load on the second entry.
System.Net.Sockets.SocketException: Cannot assign requested address occurs pointing to /tmp/CoreFxPipe_StarsAbove_Observatory.IN.
The first entry works fine; the issue only occurs when returning after going back to the main world.
Expected Behavior
Subworld should load normally each time, regardless of previous entries.
Error from server.log
[19:13:42.403] [Main Thread/WARN] [tML]: Silently Caught Exception:
System.Net.Sockets.SocketException: Cannot assign requested address /tmp/CoreFxPipe_StarsAbove_Observatory.IN
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.IO.Pipes.NamedPipeClientStream.TryConnect(Int32 )
at System.IO.Pipes.NamedPipeClientStream.ConnectInternal(Int32 timeout, CancellationToken cancellationToken, Int32 startTime)
at SubworldLibrary.SubworldSystem.LoadIntoSubworld() in SubworldLibrary\SubworldSystem.cs:line 1147
at DMD<DMD<>?27040709::Terraria.Main::DedServ_PostModLoad>(Main this, Boolean& reloadMods)
at SyncProxy<System.Void Terraria.Main:DedServ_PostModLoad(System.Boolean&)>(Main , Boolean& )
at Terraria.Main.DedServ() in tModLoader\Terraria\Main.cs:line 4753
at Terraria.Program.RunGame() in tModLoader\Terraria\Program.cs:line 264
at Terraria.Program.LaunchGame(Boolean isServer) in tModLoader\Terraria\Program.cs:line 240
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs) in tModLoader\Terraria\Program.cs:line 213
at Terraria.MonoLaunch.Main_End(String[] args) in tModLoader\Terraria\MonoLaunch.cs:line 79
at Terraria.MonoLaunch.<>c__DisplayClass1_0.
at Terraria.MonoLaunch.Main(String[] args) in tModLoader\Terraria\MonoLaunch.cs:line 72