Linux [1.4.3.6] 100% reproducible crash when importing a workshop world or renaming one

nyan_nyan

Terrarian
Steam or GOG
Steam
Single Player/Multiplayer
Both
Operating System
Linux Other
Terraria Version
1.4.3.6
Controls Used
Keyboard/Mouse
This is 100% reproducible:
1) Subscribe to any workshop world (tested on Steam Workshop::Builder's Workshop (Master))
2) Open the game
3) From the main menu: Workshop -> Import Worlds -> click "Import" button under a world.

The game goes into the import process (progress bars can be briefly seen) and then crashes.
The import apparently does complete successfully (worlds are playable after launching the game again).

OS: Debian (sid)

EDIT 1: tried running the game with -logerrors -logfile but the logfile does not contain any errors.
EDIT 2: the crash also happens when I rename a world using the rename button in the ingame world selection menu)
EDIT 3: contents of .steam/debian-installation/steamapps/common/Terraria/client-crashlog.txt after renaming a world:

Code:
5/19/2022 12:16:04 PM
System.NullReferenceException: Object reference not set to an instance of an object
  at Terraria.Main.DoUpdate (Microsoft.Xna.Framework.GameTime& gameTime) [0x00133] in <b7e0f6b276474b348b09402a0bf12485>:0
  at Terraria.Main.Update (Microsoft.Xna.Framework.GameTime gameTime) [0x0002d] in <b7e0f6b276474b348b09402a0bf12485>:0
  at Microsoft.Xna.Framework.Game.Tick () [0x00211] in <0d98e7b0b9fd41c99d818f5193269d29>:0
  at Microsoft.Xna.Framework.Game.RunLoop () [0x00019] in <0d98e7b0b9fd41c99d818f5193269d29>:0
  at Microsoft.Xna.Framework.Game.Run () [0x00032] in <0d98e7b0b9fd41c99d818f5193269d29>:0
  at Terraria.Program.LaunchGame (System.String[] args, System.Boolean monoArgs) [0x000b2] in <b7e0f6b276474b348b09402a0bf12485>:0
 
Last edited:
Well, it may be the world file. Honestly, it doesn’t seem to be a problem of all that importance, at least IMO. Yes, while it is annoying to be booted every time you import the world, or make the imported world, most are only probably going to do it once.
 
Well, I am exploring the workshop, looking for some fun maps, and after every import I crash and have to restart. Not the best experience.
 
Oh, so it happens with every map? Hmm
Lemme get back to you on this

Edit: Alright, so, it’s due to your PC I’m pretty sure, I had no issues with it
 
Last edited:
As for logs, running the game with "-logerrors -logfile" flags added results in creation of one file in ~/.local/share/Terraria/Logs - "Log_20220518101227526.log". Its complete contents are:

Code:
Error Logging Enabled.
FNA3D Driver: OpenGL
OpenGL Renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
OpenGL Driver: 4.6.0 NVIDIA 470.94
OpenGL Vendor: NVIDIA Corporation
MojoShader Profile: glsl120
Resolution changed to: 1920x1080.
Razer Chroma not supported: System.DllNotFoundException: RzChromaSDK.dll assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) ReLogic.Peripherals.RGB.Razer.NativeMethods.Init()
  at ReLogic.Peripherals.RGB.Razer.RazerDeviceGroup.Initialize () [0x0000a] in <10e4bbf57dc2467f81257d9cdad0f549>:0
Corsair RGB not supported: System.DllNotFoundException: CUESDK_2015.dll assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) ReLogic.Peripherals.RGB.Corsair.NativeMethods.CorsairPerformProtocolHandshake()
  at ReLogic.Peripherals.RGB.Corsair.CorsairDeviceGroup.Initialize () [0x00014] in <10e4bbf57dc2467f81257d9cdad0f549>:0
Logitech RGB not supported: System.DllNotFoundException: LogitechLedEnginesWrapper  assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) ReLogic.Peripherals.RGB.Logitech.NativeMethods.LogiLedInit()
  at ReLogic.Peripherals.RGB.Logitech.LogitechDeviceGroup.Initialize () [0x0000a] in <10e4bbf57dc2467f81257d9cdad0f549>:0

I do not see the "client-crashlog.txt" file anywhere. UPD: see next post

As for screenshots, there is nothing to screenshot, the game window closes and that's it.
 
Last edited:
I have located the file client-crashlog.txt file (it was created in the terraria installation directory under ~/.steam) and added its contents to the first post.
 
Am currently having exactly the same issue, slightly different crash log

from Terraria install dir's client-crashlog.txt
Code:
10/14/2023 4:47:19 AM
System.NullReferenceException: Object reference not set to an instance of an object
  at Terraria.Main.DoUpdate (Microsoft.Xna.Framework.GameTime& gameTime) [0x000cb] in <0785059384254726a2be87acb1649d0d>:0
  at Terraria.Main.Update (Microsoft.Xna.Framework.GameTime gameTime) [0x0002d] in <0785059384254726a2be87acb1649d0d>:0
  at Microsoft.Xna.Framework.Game.Tick () [0x00211] in <0d98e7b0b9fd41c99d818f5193269d29>:0
  at Microsoft.Xna.Framework.Game.RunLoop () [0x00019] in <0d98e7b0b9fd41c99d818f5193269d29>:0
  at Microsoft.Xna.Framework.Game.Run () [0x00032] in <0d98e7b0b9fd41c99d818f5193269d29>:0
  at Terraria.Program.RunGame () [0x00077] in <0785059384254726a2be87acb1649d0d>:0

and then from -logerrors -logfile which sadly doesn't contain much
Code:
Error Logging Enabled.
FNA3D Driver: OpenGL
OpenGL Renderer: AMD Radeon RX 5700 XT (navi10, LLVM 16.0.6, DRM 3.52, 6.4.14-hardened1-1-hardened)
OpenGL Driver: 4.6 (Compatibility Profile) Mesa 23.1.7-arch1.1
OpenGL Vendor: AMD
MojoShader Profile: glsl120
Resolution changed to: 1920x1080.
 
Back
Top Bottom