Just updated everything (going to install Smapi again to fix that version history, but this mos is throwing the following:
[table]12:56:10ERROREntoarox Modding UtilitiesTypeId failed to load due to a exception being thrown: System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.)[/table]
Hi my friend's camera won't follow her character after relaunching the game, we have all the same mods and the glitch still happens even if she's the only one in-game, it won't allow her to copy her logs either it says they're too large so I'm hoping mine has some info about it, I remember it happening to me as well playing solo but I don't remember how I fixed it
It happened after she froze trying to exit her house, she could still open her inventory and everything but couldn't move, and after relaunch she could move but the camera wouldn't follow unless she opens her inventory or presses ESC
I keep getting this red text as the game is trying to save:
[Entoarox Modding Utilities] This mod failed in the GameLoop.Saving event. Technical details: NullReferenceException: Object reference not set to an instance of an object. at Entoarox.Utilities.Internals.Serializer.Serialize(Object target) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\Serializer.cs:line 61 at Entoarox.Utilities.Internals.Serializer.Serialize(IList`1 inventory) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\Serializer.cs:line 39 at Entoarox.Utilities.Internals.Serializer.Serialize(Item target) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\Serializer.cs:line 49 at Entoarox.Utilities.Internals.Serializer.Serialize(IList`1 inventory) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\Serializer.cs:line 32 at Entoarox.Utilities.Internals.EntoUtilsMod.SerializeCustomObjects(Object s, EventArgs e) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\EntoUtilsMod.cs:line 190 at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101
I'm not sure if this mod is the cause of this or even if this is an issue, but it mentions this mod so I came here. Any information would be helpful, thanks!
Can someone help me out with my why the game keeps stuttering/freezing every few mins? And how I can fix it. It's driving me insane. It also crashes randomly.
**I have tried reinstalling the mod, and I have verified the games file integrity**
Only slowdown I see in your log is during saving, which is a unavoidable side-effect of having as many mods as you have and Pathos refusing to have a SMAPI-specific save system.
Only way you can fix it is by getting rid of mods you feel you can do without.
Especially big ones that add a lot of new textures, texture handling in SMAPI is sadly limited greatly, which means having a lot of textures or a bunch of small ones has a massive negative impact on loading times (And SMAPI has to reload modded textures each time you save the game)
Hey, I keep getting an error at the end of the day when the game saves. It makes the game hang for quite a while, is there anything I can do to remedy this? It eventually responds but it takes a good couple minutes and it's just kinda irritating
as you can see, this mod is the only thing spitting errors. It's not like a big deal but its just kinda annoying. and i wanna see if theres a way to fix it.
The game hanging is not due to the error, but rather the sheer amount of custom content you have. A lot of mods need to extract out your custom state and save it separately, remove it so the game can save without crashing, and then re-apply it all from scratch. To give you an idea, it takes more then a minute just for the game to re-apply all the custom assets you have installed during each save cycle As such, the only way you have available to make saving happen faster, is by uninstalling some of your custom assets.
Add in the time for everything else, and indeed, it takes a long time to save. Sadly, nothing that you or I can do about it, it would require a new save system built into SMAPI itself to remove these issues, and PathosChild has previously said he does not want to make modded saves incompatible with vanilla.
ooh, alright lol yeah I have tons of mods. Like i said its not a huge deal, just thought I could do something to fix it maybe. Thanks for educating me though. I might remove some assets I don't use
Isn't EMU for Windows? I am playing on Linux. Sorry but I don't fully understand your answer due to all the technically r references. Also j just out of interest only, wouldn't my other mods also be throwing this if that was the case?
Hello. I am on android and thought I'd give some of your older files a go to see if they work (I understand you do not support Android). I tried to download the original alpha file made before 1.5 but it seems the zip itself is corrupt. Any chance you'd be able to re-upload that file?
Hey man, I know people's been asking about this but just to clarify is it okay to ignore this error? Apparently it'll only appears in the end of the day, when the game is saving. Here's the full log.
This mod failed in the GameLoop.Saving event. Technical details: NullReferenceException: Object reference not set to an instance of an object. at Entoarox.Utilities.Internals.Serializer.Serialize(Object target) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\Serializer.cs:line 61 at Entoarox.Utilities.Internals.Serializer.Serialize(IList`1 inventory) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\Serializer.cs:line 39 at Entoarox.Utilities.Internals.Serializer.Serialize(Item target) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\Serializer.cs:line 49 at Entoarox.Utilities.Internals.Serializer.Serialize(IList`1 inventory) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\Serializer.cs:line 32 at Entoarox.Utilities.Internals.EntoUtilsMod.SerializeCustomObjects(Object s, EventArgs e) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\EntoUtilsMod.cs:line 190 at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args, Func`2 match) in SMAPI\Framework\Events\ManagedEvent.cs:line 126
Very peculiar, the issue you reported should not be possible from looking at the code...
Due to how many other mods you have, some of which are reporting issues of their own, I'd like it if you could look into reproducing the issue with just EMU, if you cannot, I have to assume it is some mod-interaction which is causing issues. If you can reproduce it with just EMU though, it will make it possible for me to actually dig into what is going on.
Your current mod setup is simply to large for me to even start figuring out what is going on here.
Thank you for replying. I'll install just EMU then. The only mod I have requiring it is Extended Minecarts btw. I'll get back to you after I try it out.
So, I installed just EMU, Waterfall Farm (WAFF), Content Patcher, Daisy Tilesheets and Extended Minecart and had no errors. So, something is causing EMU to not load after I sleep. Because it loads in just fine the first day, after I sleep, that is when it fails the game loop.
Unless you can narrow down what is triggering the issue in your modlist there is little I can do, the mod code says your error should be impossible - yet clearly it is happening to you, so something is messing with how EMU does things.
I am getting the same error with only EMU and Minecarts.
I tracked it down to fishing poles, fiberglass and iridium. Their tool.attachments is null. I added a null check of target in the method 'public static Object Serialize(Object target)' in Serializer.cs and the error went away.
Strange, that null-check should already be in place, I'm gonna guess that I got the bug, fixed it, and then due to covid-related reasons completely forgot to release the fix >_<
Almost certainly is yes, and it'll likely take a day or 2 for me to get everything back in place, since I have not had proper time to update my repo to 1.5.5 - so I cant currently compile anything to begin with :P
76 comments
[table]12:56:10ERROREntoarox Modding UtilitiesTypeId failed to load due to a exception being thrown: System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.)[/table]
WHOLE LOG HERE
Is there something I need to do to fix this or is this just what it is until the next game update?
Hi my friend's camera won't follow her character after relaunching the game, we have all the same mods and the glitch still happens even if she's the only one in-game, it won't allow her to copy her logs either it says they're too large so I'm hoping mine has some info about it, I remember it happening to me as well playing solo but I don't remember how I fixed it
[Entoarox Modding Utilities] This mod failed in the GameLoop.Saving event. Technical details:
NullReferenceException: Object reference not set to an instance of an object.
at Entoarox.Utilities.Internals.Serializer.Serialize(Object target) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\Serializer.cs:line 61
at Entoarox.Utilities.Internals.Serializer.Serialize(IList`1 inventory) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\Serializer.cs:line 39
at Entoarox.Utilities.Internals.Serializer.Serialize(Item target) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\Serializer.cs:line 49
at Entoarox.Utilities.Internals.Serializer.Serialize(IList`1 inventory) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\Serializer.cs:line 32
at Entoarox.Utilities.Internals.EntoUtilsMod.SerializeCustomObjects(Object s, EventArgs e) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\EntoUtilsMod.cs:line 190
at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101
I'm not sure if this mod is the cause of this or even if this is an issue, but it mentions this mod so I came here. Any information would be helpful, thanks!
Can someone help me out with my why the game keeps stuttering/freezing every few mins? And how I can fix it. It's driving me insane. It also crashes randomly.
**I have tried reinstalling the mod, and I have verified the games file integrity**
Only way you can fix it is by getting rid of mods you feel you can do without.
Especially big ones that add a lot of new textures, texture handling in SMAPI is sadly limited greatly, which means having a lot of textures or a bunch of small ones has a massive negative impact on loading times (And SMAPI has to reload modded textures each time you save the game)
https://smapi.io/log/a1d4e5e1008c4c35baba62482df235f8
as you can see, this mod is the only thing spitting errors. It's not like a big deal but its just kinda annoying. and i wanna see if theres a way to fix it.
A lot of mods need to extract out your custom state and save it separately, remove it so the game can save without crashing, and then re-apply it all from scratch.
To give you an idea, it takes more then a minute just for the game to re-apply all the custom assets you have installed during each save cycle
As such, the only way you have available to make saving happen faster, is by uninstalling some of your custom assets.
Add in the time for everything else, and indeed, it takes a long time to save.
Sadly, nothing that you or I can do about it, it would require a new save system built into SMAPI itself to remove these issues, and PathosChild has previously said he does not want to make modded saves incompatible with vanilla.
Smapi log: https://smapi.io/log/9f0e006fa39a41558626ab6045159fe1
What do I need to do to fix this?
I would recommend re-installing EMU just to be safe, since TypeId not loading all of a sudden is quite strange.
This mod failed in the GameLoop.Saving event. Technical details: NullReferenceException: Object reference not set to an instance of an object.
at Entoarox.Utilities.Internals.Serializer.Serialize(Object target) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\Serializer.cs:line 61
at Entoarox.Utilities.Internals.Serializer.Serialize(IList`1 inventory) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\Serializer.cs:line 39
at Entoarox.Utilities.Internals.Serializer.Serialize(Item target) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\Serializer.cs:line 49
at Entoarox.Utilities.Internals.Serializer.Serialize(IList`1 inventory) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\Serializer.cs:line 32
at Entoarox.Utilities.Internals.EntoUtilsMod.SerializeCustomObjects(Object s, EventArgs e) in C:\Users\Gebruiker\source\repos\StardewMods\EntoaroxUtilities\Internals\EntoUtilsMod.cs:line 190
at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args, Func`2 match) in SMAPI\Framework\Events\ManagedEvent.cs:line 126
Thank you!!
https://smapi.io/log/b397294fe78249768a1e31f776ea671d
Due to how many other mods you have, some of which are reporting issues of their own, I'd like it if you could look into reproducing the issue with just EMU, if you cannot, I have to assume it is some mod-interaction which is causing issues.
If you can reproduce it with just EMU though, it will make it possible for me to actually dig into what is going on.
Your current mod setup is simply to large for me to even start figuring out what is going on here.
I tracked it down to fishing poles, fiberglass and iridium. Their tool.attachments is null. I added a null check of target in the method 'public static Object Serialize(Object target)' in Serializer.cs and the error went away.