tModLoader

tModLoader

Terraria Ambience
JJ's Place 2. aug. 2023 kl. 14:42
Main Engine Crash when reloading mods.
Whenever I am reloading my mods and it gets to Terraria Ambiance if causes a main engine crash. But if i restart tmodloader again it works just fine. Also I tested without the mod enabled and there is no crash.

Logs:
[16:27:10.750] [.NET ThreadPool Worker/INFO] [tML]: Unloading: TerrariaAmbience (Terraria Ambience) v0.2.5.5
[16:27:10.869] [Main Thread/WARN] [tML]: Silently Caught Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Xna.Framework.Audio.SoundEffect.Dispose() in D:\a\tModLoader\tModLoader\FNA\src\Audio\SoundEffect.cs:line 314
at ReLogic.Content.Asset`1.Dispose(Boolean disposing) in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Content\Asset.cs:line 95
at ReLogic.Content.Asset`1.Dispose() in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Content\Asset.cs:line 105
at ReLogic.Content.AssetRepository.Dispose(Boolean disposing) in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Content\AssetRepository.cs:line 380
at ReLogic.Content.AssetRepository.Dispose() in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Content\AssetRepository.cs:line 395
at ReLogic.Content.AssetRepository.<>c__DisplayClass6_0.<Invoke>b__0() in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Content\AssetRepository.cs:line 79
at ReLogic.Content.AssetRepository.TransferCompletedAssets() in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Content\AssetRepository.cs:line 186
at Terraria.ModLoader.ModContent.TransferCompletedAssets() in tModLoader\Terraria\ModLoader\ModContent.cs:line 583
at Terraria.Main.Draw_Inner(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52780
at Terraria.Main.Draw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52761
at Microsoft.Xna.Framework.Game.Tick() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 562
at Microsoft.Xna.Framework.Game.RunLoop() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 878
at Microsoft.Xna.Framework.Game.Run() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 419
at Terraria.Program.RunGame() in tModLoader\Terraria\Program.cs:line 266
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 215
at Terraria.MonoLaunch.Main_End(String[] args) in tModLoader\Terraria\MonoLaunch.cs:line 71
at Terraria.MonoLaunch.<>c__DisplayClass1_0.<Main>b__0() in tModLoader\Terraria\MonoLaunch.cs:line 57
at System.Threading.Thread.StartCallback()

[16:27:10.870] [Main Thread/ERROR] [Terraria]: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Xna.Framework.Audio.SoundEffect.Dispose() in D:\a\tModLoader\tModLoader\FNA\src\Audio\SoundEffect.cs:line 314
at ReLogic.Content.Asset`1.Dispose(Boolean disposing) in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Content\Asset.cs:line 95
at ReLogic.Content.Asset`1.Dispose() in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Content\Asset.cs:line 105
at ReLogic.Content.AssetRepository.Dispose(Boolean disposing) in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Content\AssetRepository.cs:line 380
at ReLogic.Content.AssetRepository.Dispose() in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Content\AssetRepository.cs:line 395
at ReLogic.Content.AssetRepository.<>c__DisplayClass6_0.<Invoke>b__0() in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Content\AssetRepository.cs:line 79
at ReLogic.Content.AssetRepository.TransferCompletedAssets() in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Content\AssetRepository.cs:line 186
at Terraria.ModLoader.ModContent.TransferCompletedAssets() in tModLoader\Terraria\ModLoader\ModContent.cs:line 583
at Terraria.Main.Draw_Inner(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52784
at Terraria.Main.Draw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52765
[16:27:10.908] [Main Thread/FATAL] [tML]: Main engine crash

Tip: This is likely a mod's fault. Disable mods one by one and check if the issue persists

System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Xna.Framework.Audio.SoundEffect.Dispose() in D:\a\tModLoader\tModLoader\FNA\src\Audio\SoundEffect.cs:line 314
at ReLogic.Content.Asset`1.Dispose(Boolean disposing) in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Content\Asset.cs:line 95
at ReLogic.Content.Asset`1.Dispose() in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Content\Asset.cs:line 105
at ReLogic.Content.AssetRepository.Dispose(Boolean disposing) in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Content\AssetRepository.cs:line 380
at ReLogic.Content.AssetRepository.Dispose() in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Content\AssetRepository.cs:line 395
at ReLogic.Content.AssetRepository.<>c__DisplayClass6_0.<Invoke>b__0() in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Content\AssetRepository.cs:line 79
at ReLogic.Content.AssetRepository.TransferCompletedAssets() in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Content\AssetRepository.cs:line 186
at Terraria.ModLoader.ModContent.TransferCompletedAssets() in tModLoader\Terraria\ModLoader\ModContent.cs:line 583
at Terraria.Main.Draw_Inner(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52784
at Terraria.Main.Draw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52765
at Microsoft.Xna.Framework.Game.Tick() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 562
at Microsoft.Xna.Framework.Game.RunLoop() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 878
at Microsoft.Xna.Framework.Game.Run() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 419
at Terraria.Program.RunGame() in tModLoader\Terraria\Program.cs:line 266
[16:27:10.910] [Main Thread/DEBUG] [TerrariaSteamClient]: Send: shutdown
< >
Viser 1-15 af 24 kommentarer
Sakura 3. aug. 2023 kl. 7:23 
Can confirm that happens to me too and only on reloads, starting the game new usually is fine.
SilentSlayer48 10. aug. 2023 kl. 10:13 
for me it reloads fine, but when i try to host a world in multiplayer, thats when i get a main engine crash. I made sure it was ambiance that was causing it.
Sidst redigeret af SilentSlayer48; 10. aug. 2023 kl. 10:13
RighteousRyan  [udvikler] 10. aug. 2023 kl. 18:35 
Interesting. I'll have to look into this when I have time, so probably this weekend.
BootNoot 24. aug. 2023 kl. 7:38 
same for me
Yumiko the Cutie 30. sep. 2023 kl. 17:57 
i get the same error...
seems to be for everyone
shade123yt 16. nov. 2023 kl. 7:20 
yeah happened to me too, it gave me the "Main Engine Crash" Error when i tried to join a friend in multiplayer, clicking on cancel crashed the game, disabling Terraria Ambience solved the problem.
The Fallen Princess 18. nov. 2023 kl. 20:25 
same!
DevonX 25. nov. 2023 kl. 13:15 
still having this issue
lㄣろ l0ve 6. dec. 2023 kl. 3:15 
same. Mb some incompatibility with Calamity/Thorium
Яна Zбол 8. jan. 2024 kl. 1:38 
same here, crashes with calamity
Adon1s 22. jan. 2024 kl. 11:26 
issue still persists.
King_Sacred 29. jan. 2024 kl. 22:59 
similar problem
use 48000hz
Sidst redigeret af King_Sacred; 29. jan. 2024 kl. 23:00
Clownarchy 4. feb. 2024 kl. 14:54 
getting this issue now
https://pastebin.com/ddVpdDcj
eugene1beetle 17. apr. 2024 kl. 6:55 
same here, 2 modpacks, one with fargo's other with thorium
< >
Viser 1-15 af 24 kommentarer
Per side: 1530 50