Posting to report a bug: When moving the .wld file of a world generated in either TML 32-bit or Vanilla Terraria to tModLoader\Worlds folder, TML 64-bit doesn't create its corresponding .twld file when the world is loaded in-game. This leads to Terraria crashing when selecting Save and Exit, or when TML automatically creates a backup of the world. No changes to the world are saved, and the error in the log file states that the .twld is not found:
[20:04:47] [95/ERROR] [tML]: Unhandled Exception
System.IO.FileNotFoundException: C:\Users\rgon842\Documents\My Games\Terraria\ModLoader\Worlds\Fortuna.twld
at Ionic.Zip.SharedUtilities.GetFileLength(String fileName)
at Ionic.Zip.ZipEntry.MaybeUnsetCompressionMethodForWriting(Int32 cycle)
at Ionic.Zip.ZipEntry.WriteHeader(Stream s, Int32 cycle)
at Ionic.Zip.ZipEntry.Write(Stream s)
at Ionic.Zip.ZipFile.Save()
at Terraria.IO.WorldFile.AutoBackup()
at Terraria.IO.WorldFile.saveWorld(Boolean useCloudSaving, Boolean resetTime)
at Terraria.WorldGen.saveAndPlayCallBack(Object threadContext)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
Fortunately, changes to the player are saved as normal (any items picked up in this world stay with your character after the crash) and so far it doesn't look like its caused player file or world file corruption.
[20:04:47] [95/ERROR] [tML]: Unhandled Exception
System.IO.FileNotFoundException: C:\Users\rgon842\Documents\My Games\Terraria\ModLoader\Worlds\Fortuna.twld
at Ionic.Zip.SharedUtilities.GetFileLength(String fileName)
at Ionic.Zip.ZipEntry.MaybeUnsetCompressionMethodForWriting(Int32 cycle)
at Ionic.Zip.ZipEntry.WriteHeader(Stream s, Int32 cycle)
at Ionic.Zip.ZipEntry.Write(Stream s)
at Ionic.Zip.ZipFile.Save()
at Terraria.IO.WorldFile.AutoBackup()
at Terraria.IO.WorldFile.saveWorld(Boolean useCloudSaving, Boolean resetTime)
at Terraria.WorldGen.saveAndPlayCallBack(Object threadContext)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
Fortunately, changes to the player are saved as normal (any items picked up in this world stay with your character after the crash) and so far it doesn't look like its caused player file or world file corruption.