tModLoader

tModLoader

Terraria Ambience
Eternity-恒 16 Dec, 2023 @ 7:22pm
Problem about game crashing
I repeat it a lot and find that it's not Magic Storage's problem

Actually, the fact is that: When Ambience is already activating, and then when you open the mod management page and add another mod(whatever it is, I tried Magic Storage, Loot beam, even quality of terraria) then quit it, and game will uninstall it and reload, and then the problem happened—Game crashed.

This will also happened if I only active Ambience and then disable it, then game also crashed when uninstall :(

Here's the Log of one of the situation(active Loot beam and Ambience Only, then unload the Loot beam)


[10:42:08.329] [Main Thread/WARN] [tML]: 静默捕获异常:
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 598
at Terraria.Main.Draw_Inner(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52849
at Terraria.Main.Draw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52830
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 213
at Terraria.MonoLaunch.Main_End(String[] args) in tModLoader\Terraria\MonoLaunch.cs:line 78
at Terraria.MonoLaunch.<>c__DisplayClass1_0.<Main>b__1() in tModLoader\Terraria\MonoLaunch.cs:line 64
at System.Threading.Thread.StartCallback()

[10:42:08.331] [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 598
at Terraria.Main.Draw_Inner(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52853
at Terraria.Main.Draw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52834
[10:42:08.357] [Main Thread/FATAL] [tML]: Main engine crash

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 598
at Terraria.Main.Draw_Inner(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52853
at Terraria.Main.Draw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52834
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
[10:42:08.358] [Main Thread/DEBUG] [TerrariaSteamClient]: Send: shutdown


I used zh-Cn language localization so it may cause issue for you to solve it. Whatever just call me if you need anything that I can do more
< >
Showing 1-1 of 1 comments
Eternity-恒 16 Dec, 2023 @ 7:25pm 
So I think the problem is happened when Ambience is uninstall
< >
Showing 1-1 of 1 comments
Per page: 1530 50