tModLoader

tModLoader

Starlight River
Kazuma Kiryu 18 Jun, 2023 @ 6:49pm
Causes an error every time I attempt to load it, even as the only mod being loaded.
I just wanna try out this mod but every single time I load it it feeds me this error:

[20:45:44.448] [.NET ThreadPool Worker/FATAL] [tML]: One or more errors occurred while unloading and tModLoader must be restarted to prevent further issues.
StarlightRiver was unable to unload properly. Modders must use defensive programming to ensure unloading completes regardless of any errors during loading.
System.NullReferenceException: Object reference not set to an instance of an object.
at StarlightRiver.StarlightRiver.Unload() in StarlightRiver.cs:line 123
at Terraria.ModLoader.Mod.UnloadContent() in tModLoader\Terraria\ModLoader\Mod.Internals.cs:line 34
at Terraria.ModLoader.ModContent.UnloadModContent() in tModLoader\Terraria\ModLoader\ModContent.cs:line 433
at Terraria.ModLoader.ModLoader.Mods_Unload() in tModLoader\Terraria\ModLoader\ModLoader.cs:line 234
at Terraria.ModLoader.ModLoader.Unload() in tModLoader\Terraria\ModLoader\ModLoader.cs:line 205

Anybody know what's up?
< >
Showing 1-8 of 8 comments
Ms Misha 19 Jun, 2023 @ 12:20pm 
im having the same issue
Mr.I Don’t Know 19 Jun, 2023 @ 4:57pm 
same here too
the faded up cow 20 Jun, 2023 @ 2:58am 
same
Little Gripper 20 Jun, 2023 @ 8:15am 
only load mods that work with 1.4.4 (if it has an obsidian skull in front of the enable button then it probably wont work), I had to only load Starlight River by itself then add mods one by one and hoped they would work
Kazuma Kiryu 20 Jun, 2023 @ 11:17am 
Originally posted by ouch:
only load mods that work with 1.4.4 (if it has an obsidian skull in front of the enable button then it probably wont work), I had to only load Starlight River by itself then add mods one by one and hoped they would work
I did. I load it without any other mods and it does that.
Busybody64 23 Jun, 2023 @ 12:05pm 
yeah
minari  [developer] 23 Jun, 2023 @ 1:01pm 
We need to see a log file to be able to address any bugs. You can find your client.log in the same directory as your Mods folder.
Lizard Ears 3 Aug, 2023 @ 2:53pm 
Yeah, Starlight crashes Tmod every time it unloads, giving an error message. I think this is the log file that is needed:

[16:52:07.245] [.NET ThreadPool Worker/FATAL] [tML]: One or more errors occurred while unloading and tModLoader must be restarted to prevent further issues.
StarlightRiver was unable to unload properly. Modders must use defensive programming to ensure unloading completes regardless of any errors during loading.
System.TypeInitializationException: The type initializer for 'StarlightRiver.Core.Systems.CutawaySystem.CutawayHook' threw an exception.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at StarlightRiver.Core.Systems.ScreenTargetSystem.ScreenTargetHandler.AddTarget(ScreenTarget toAdd) in StarlightRiver\Core\Systems\ScreenTargetSystem\ScreenTargetHandler.cs:line 55
at StarlightRiver.Core.Systems.ScreenTargetSystem.ScreenTarget..ctor(Action`1 draw, Func`1 active, Single order, Func`2 onResize) in StarlightRiver\Core\Systems\ScreenTargetSystem\ScreenTarget.cs:line 42
at StarlightRiver.Core.Systems.CutawaySystem.CutawayHook..cctor() in StarlightRiver\Core\Systems\CutawaySystem\CutawayHook.cs:line 14
--- End of inner exception stack trace ---
at StarlightRiver.Core.Systems.CutawaySystem.CutawayHook.Unload() in StarlightRiver\Core\Systems\CutawaySystem\CutawayHook.cs:line 30
at StarlightRiver.StarlightRiver.Unload() in StarlightRiver.cs:line 109
at Terraria.ModLoader.Mod.UnloadContent() in tModLoader\Terraria\ModLoader\Mod.Internals.cs:line 34
at Terraria.ModLoader.ModContent.UnloadModContent() in tModLoader\Terraria\ModLoader\ModContent.cs:line 433
at Terraria.ModLoader.ModLoader.Mods_Unload() in tModLoader\Terraria\ModLoader\ModLoader.cs:line 234
at Terraria.ModLoader.ModLoader.Unload() in tModLoader\Terraria\ModLoader\ModLoader.cs:line 205
[16:52:08.584] [Main Thread/DEBUG] [tML]: Process.Start (UseShellExecute = True): "tModLoader-Logs"
< >
Showing 1-8 of 8 comments
Per page: 1530 50