I've spent days on these errors in the hopes of being able to keep playing Fallout 4 with SS2, which I have found to be the culprit killing my current playthrough with slowdowns and CTDs. The current log is 200 meg in size over 4 minutes, 42,490 pages in length and ran while I was in Quincy, far away from any settlement.
After analyzing my Papyrus logs (since Buffout4 doesn't log CTDs from overly zealous scripts), it has come down to the following errors -
1 - NPC training. Despite having only 130 settlers in total, the most recent 4 minute log has 59,616 references to "0C00EB6E" which is the catchall quest for NPC training, diseases and Vito-matic results for scans. I've turned off diseases and have not used the Vito-matic in game for 10 days so there are no script reports relating to those activities, instead all of the scripts report the following -
12/04/2022 - 08:57:55PM] [::temp574]: [TrainingProgressAV = [ActorValue <SS2_TrainingProgress_Intelligence (0C0187B1)>], TrainingTimestampAV = [ActorValue <SS2_TrainingTimestamp_Intelligence (0C0187A4)>], IsTrainingKeyword = [Keyword <SS2_Tag_IsTraining_Intelligence (0C01879D)>], BuildingPlanClassKeyword = [Keyword <SS2_PlotTypeSubClass_Recreational_IntelligenceTraining (0C01841F)>], StatAV = [ActorValue <Intelligence (000002C6)>]] [12/04/2022 - 08:57:55PM] [::temp575]: [ActorValue <Intelligence (000002C6)>] [12/04/2022 - 08:57:55PM] [::nonevar]: None [12/04/2022 - 08:57:55PM] [::temp576]: False [12/04/2022 - 08:57:55PM] [::temp577]: 8 [12/04/2022 - 08:57:55PM] [::temp578]: False [12/04/2022 - 08:57:55PM] [fEarnedXP]: 0.000000 [12/04/2022 - 08:57:55PM] [::temp579]: 8.000000 [12/04/2022 - 08:57:55PM] [::temp580]: 36.000000 [12/04/2022 - 08:57:55PM] [fTrainingTimeNeeded]: 36.000000 [12/04/2022 - 08:57:55PM] [::temp581]: 0.000000 [12/04/2022 - 08:57:55PM] [::temp582]: 0.000000 [12/04/2022 - 08:57:55PM] [::temp583]: 0.000000 [12/04/2022 - 08:57:55PM] [::temp584]: 0.000000
0C0187B1 is the script for TrainingProgress_Intelligence and it occurs 19,484 times in the papyrus log. I have 7 intelligence training plots. As for other training scripts, there are 25,186 for luck (5 training plots) and 11,408 for endurance (12 plots). I'm pretty sure that those many scripts running at once will kill 95% of most FO4 players.
I'm not sure if this is intended, but the script actually tries to run on your current companion as well. The log refers to 0002A8A7, which is MacReady, 60,000 times. Preston Garvey, by current companion, is referred to 4,482 times despite being with me in Quincy.
2 - RecalculateWorkshopResources. This script represents the next majority of log file errors. The first reference 00024A26 is the RelayTowerZimonjaWorkshop from the original Fallout4.esm.
[(00024A26)].workshopscript.RecalculateWorkshopResources() - "C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\WorkshopScript.psc" Line 2912
(FF001703)].simsettlementsv2:objectreferences:empiredata.UpdateSharedResources() - "SimSettlementsV2\ObjectReferences\EmpireData.psc" Line 2101
[11/29/2022 - 09:40:30PM] warning: Assigning None to a non-object variable named "::temp609" stack:
[(00024A26)].workshopscript.RecalculateWorkshopResources() - "C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\WorkshopScript.psc" Line 2912
[F001703)].simsettlementsv2:objectreferences:empiredata.UpdateSharedResources() - "SimSettlementsV2\ObjectReferences\EmpireData.psc" Line 2101 [11/29/2022 - 09:40:30PM] error: Cannot call IsLoaded() on a None object, aborting function call stack:
The script runs on each workshop object on each place you have settled.
It looks like this script runs when you have Caravan Plots in your settlement to operate as a proxy Provisioner to share resources between connected settlements. Since it operates differently from the original game, including sharing the Workshop resources, it would have to run a script to do but the frequent errors each time the script runs means that my FO4 game slows down and errors are occur in the resource sharing between settlements which I have found especially when it comes to crafting, and occasionally finding no resources to build with forcing me to wait until they suddenly appear later.
If I build more settlements, I can see this script killing my game.
So TLDR these scripts are making my game unplayable. I tested running ReSaver on another game which made many of the scripts go away, but it led to the Vito Matic responding to scans 2 hours later mid game, and plots being built without foundations or power poles.
These errors come from scripts in the ss2.esm file.
Is there any way around this or shall I give up on this mod in favor of a game that doesn't CTD?