The problem with disappearing lots
I've encountered a problem. The neighboring areas are "turning back" to their original state, even though they have been changed. I have a large number of mods. After removing the mods, the issue was resolved. However, I later discovered a scripted mod that was causing the problem. I removed most of the scripted mods, leaving only a few that are definitely working. Then, I downloaded a large number of CAS mods. Unfortunately, the issue returned. I removed all the duplicates and any mods that I believed were causing problems. However, nothing changed. I have more than 5000 CAS mods, and I have no idea how to find the imposter among them. Is it possible to solve this problem without completely removing the mods?
I'm attaching the last exception. I don't understand anything, but maybe someone can help me decipher it.
- File 'T:\InGame\Gameplay\Scripts\Server\areaserver.py', line 167, in c_api_server_init_tick
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\core_services.py', line 164, in start_service_tick
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\service_manager.py', line 346, in start_single_service [ self : <sims4.service_manager.ServiceManager object at 0x2e480d190>, service : tuning_instance_manager]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\instance_manager.py', line 192, in update_incremental_start [ self : tuning_instance_manager, time_stamp : 1759849978.8377018, delta : 0.12053227424621582]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\instance_manager.py', line 251, in _execute_gen [ self : tuning_instance_manager, log_fn : <bound method Logger.debug of <sims4.log.Logger object at 0x2b25013d0>>, instance_manager : InstanceManager_career_event]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\instance_manager.py', line 304, in _execute_func_and_calculate_time [ self : tuning_instance_manager, instance_manager : InstanceManager_career_event, execute_function : <bound method InstanceManager.load_data_into_class_instances of <sims4.tuning.instance_manager.InstanceManager object at 0x2d72714d0>>, args : (None,)]
- File 'E:\Builds\MCCC_2025_5_1\mc_cmd_center\mc_injections.py', line 313, in inject_load_data_into_class_instances [ args : (<function InstanceManager.load_data_into_class_instances at 0x2e37af170>, <sims4.tuning.instance_manager.InstanceManager object at 0x2d72714d0>, None), ظ : <function InstanceManager.load_data_into_class_instances at 0x2e37af170>, ص : InstanceManager_career_event]
- File '.\BasementalDrugs_8.18.234-PATREON\Basemental\utilities\injector.py\injector.py', line 31, in _wrapped_function [ args : (<sims4.tuning.instance_manager.InstanceManager object at 0x2d72714d0>, None), protected_original_function : <function inject_to.<locals>._wrap_original_function.<locals>._wrapped_function.<locals>.protected_original_function at 0x30412b7a0>, new_function : <function bmd_appliances_load_data_into_class_instances at 0x2e37a7f80>, original_function : <function InstanceManager.load_data_into_class_instances at 0x2e31e34d0>, safely : True]
- File '.\BasementalDrugs_8.18.234-PATREON\Basemental\injections\april_fools.py\april_fools.py', line 163, in bmd_appliances_load_data_into_class_instances [ original : <function inject_to.<locals>._wrap_original_function.<locals>._wrapped_function.<locals>.protected_original_function at 0x30412b7a0>, self : InstanceManager_career_event, args : (None,)]
- File '.\BasementalDrugs_8.18.234-PATREON\Basemental\utilities\injector.py\injector.py', line 23, in protected_original_function [ args : (<sims4.tuning.instance_manager.InstanceManager object at 0x2d72714d0>, None), original_function : <function InstanceManager.load_data_into_class_instances at 0x2e31e34d0>]
- File 'C:\Sims 4 Python Script Workspace (3.7)\My Script Mods\RPO_Collection_M00_CoreLibrary_REQUIRED_v2.97\Scripts\Lumpinou_RPO3_Injector\Lumpinou_RPO3_Injector_file.py', line 6, in _inject [ args : (<sims4.tuning.instance_manager.InstanceManager object at 0x2d72714d0>, None), new_function : <function inject_loots_to_inherited_loots at 0x2e31e3440>, target_function : <function InstanceManager.load_data_into_class_instances at 0x2b2566b90>]
- File 'C:\Users\Sims 4 Python Script Workspace (3.7)\My Script Mods\RPO_Collection_M00_CoreLibrary_REQUIRED_v2.984\Scripts\Lumpinou_RPO3_Injections.py', line 418, in inject_loots_to_inherited_loots [ original : <function InstanceManager.load_data_into_class_instances at 0x2b2566b90>, self : InstanceManager_career_event, args : (None,)]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\instance_manager.py', line 681, in load_data_into_class_instances [ self : InstanceManager_career_event, key : '00000000!a7fdafa1'2e88b31b.94420322', cls : <class 'sims4.tuning.instances.Pandasama:careerEvent_NursingStudent_Socialize'>, tuned_classes_key : '00000000!a7fdafa1'2e88b31b.94420322', tuning_callback_helpers : '[TuningCallbackHelper(template=<sims4.tuning.tunable.OptionalTunable object at 0x2e0c5f780>, name='scorable_situation', source=<sims4.utils.strformatter object at 0x311254f10>, value=ImmutableSlots({'medal_payout_bronze': ImmutableSlots({'additional_loots': (), 'money': TunableMultiplier(base_value=0.8, multipliers=()), 'text': <sims4.localization.TunableLocalizedStringFactory._Wrapper object at 0x311288ef8>, 'work_performance': TunableMultiplier(base_value=1.0, multipliers=())}), 'medal_payout_gold': ImmutableSlots({'additional_loots': (), 'money': TunableMultiplier(base_value=1.3, multipliers=()), 'text': <sims4.localization.TunableLocalizedStringFactory._Wrapper object at 0x311288d00>, 'work_performance': TunableMultiplier(base_value=3.0, multipliers=())}), 'medal_payout_silver': ImmutableSlots({'additional_loots': (), 'money': TunableMultiplier(base_value=1.0, multipliers=()), 'text': <sims4.localization.TunableLocalizedStringFactory._Wrapper object at 0x311288750>, 'work_performance': TunableMultiplier(b...']
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\serialization.py', line 673, in load_from_xml [ resource_key : '00000000!a7fdafa1'2e88b31b.94420322', resource_type : Types.CAREER_EVENT, inst : <class 'sims4.tuning.instances.Pandasama:careerEvent_NursingStudent_Socialize'>, source : Instance: 12105024480247067419 (Pandasama:careerEvent_NursingStudent_Socialize), Types.CAREER_EVENT, tuning_loader : <sims4.tuning.serialization.ETreeTuningLoader object at 0x311254d50>, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x28d7def90>, loader : <sims4.resources.ResourceLoader object at 0x311232a50>, tuning_file : <_io.BytesIO object at 0x3112ba590>]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\serialization.py', line 718, in feed [ self : <sims4.tuning.serialization.ETreeTuningLoader object at 0x311254d50>, tuning_file : <_io.BytesIO object at 0x3112ba590>, tree : <xml.etree.ElementTree.ElementTree object at 0x311232d90>]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\serialization.py', line 762, in _load_node [ self : <sims4.tuning.serialization.ETreeTuningLoader object at 0x311254d50>, node : <Element 'I' at 0x311232110>, tunable_class : <class 'sims4.tuning.instances.Pandasama:careerEvent_NursingStudent_Socialize'>, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x28d7def90>, child_node : <Element 'V' at 0x3112af490>, tunable_datas : {'required_zone': <careers.career_event_zone_requirement.RequiredCareerEventZoneTunableVariant object at 0x2e0c1faa0>, 'zone_director': <sims4.tuning.tunable.OptionalTunable object at 0x2e0c22eb0>, 'scorable_situation': <sims4.tuning.tunable.OptionalTunable object at 0x2e0c5f780>, 'tests': <event_testing.tests.TunableTestSet object at 0x2e0c6a050>, 'loot_on_request': <TunableReference>, 'loot_on_start': <TunableReference>, 'loots_on_end': <sims4.tuning.tunable.TunableList object at 0x2e0c63d98>, 'loots_on_cleanup': <sims4.tuning.tunable.TunableList object at 0x2e0c63e20>, 'cooldown': <TunableRange>, 'subvenue': <sims4.tuning.tunable.OptionalTunable object at 0x2e0c5fb18>, 'end_of_day_reports': <sims4.tuning.tunable.OptionalTunable object at 0x2e0c5fd40>}, tunable_name : zone_director, tunable : <sims4.tuning.tunable.OptionalTunable object at 0x2e0c22eb0>]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\serialization.py', line 822, in _load_tunable [ self : <sims4.tuning.serialization.ETreeTuningLoader object at 0x311254d50>, tunable_class : <class 'sims4.tuning.instances.Pandasama:careerEvent_NursingStudent_Socialize'>, tunable_name : zone_director, tunable : <sims4.tuning.tunable.OptionalTunable object at 0x2e0c22eb0>, cur_node : <Element 'V' at 0x3112af490>, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x28d7def90>, current_tunable_tag : V]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\log.py', line 859, in exception [ self : <sims4.log.Logger object at 0x2b230d110>, message : Error occurred within the tag named '{}' (value: {}), log_current_callstack : True, level : 150, owner : cjiang, args : ('zone_director', 'V'), frame1 : <frame at 0x310e3bbc0, file 'E:\\Builds\\MCCC_2025_5_1\\mc_cmd_center\\mc_injections.py', line 1455, code inject_logger_exception>, frame : <frame at 0x310e429d0, file 'E:\\Builds\\MCCC_2025_5_1\\mc_cmd_center\\mc_utils.py', line 219, code _wrapper_function>]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 1236, in load_etree_node [ self : <sims4.tuning.tunable.OptionalTunable object at 0x2e0c22eb0>, node : <Element 'V' at 0x3112af490>, source : Instance: 12105024480247067419 (Pandasama:careerEvent_NursingStudent_Socialize), Types.CAREER_EVENT, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x28d7def90>, variant : enabled, template : <TunableReference>, node_children : [<Element 'T' at 0x3112af810>], name : enabled, current_tunable_tag : T]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 2140, in load_etree_node [ self : <TunableReference>, source : Instance: 12105024480247067419 (Pandasama:careerEvent_NursingStudent_Socialize), Types.CAREER_EVENT, reference_name : 113576]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 2140, in load_etree_node [ self : <TunableReference>, source : Instance: 12105024480247067419 (Pandasama:careerEvent_NursingStudent_Socialize), Types.CAREER_EVENT, reference_name : 113576]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\instance_manager.py', line 870, in get [ self : InstanceManager_zone_director, name_or_id_or_key : 113576, pack_safe : True, class_restrictions : (<class 'careers.career_event_zone_director.CareerEventZoneDirector'>, <class 'venues.weekly_schedule_zone_director.WeeklyScheduleZoneDirector'>), source : Instance: 12105024480247067419 (Pandasama:careerEvent_NursingStudent_Socialize), Types.CAREER_EVENT, key : '00000000!00000000'0001bba8.f958a092']
- File 'T:\InGame\Gameplay\Scripts\Server\areaserver.py', line 167, in c_api_server_init_tick
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\core_services.py', line 164, in start_service_tick
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\service_manager.py', line 346, in start_single_service [ self : <sims4.service_manager.ServiceManager object at 0x2e480d190>, service : tuning_instance_manager]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\instance_manager.py', line 192, in update_incremental_start [ self : tuning_instance_manager, time_stamp : 1759849978.8377018, delta : 0.12053227424621582]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\instance_manager.py', line 251, in _execute_gen [ self : tuning_instance_manager, log_fn : <bound method Logger.debug of <sims4.log.Logger object at 0x2b25013d0>>, instance_manager : InstanceManager_career_event]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\instance_manager.py', line 304, in _execute_func_and_calculate_time [ self : tuning_instance_manager, instance_manager : InstanceManager_career_event, execute_function : <bound method InstanceManager.load_data_into_class_instances of <sims4.tuning.instance_manager.InstanceManager object at 0x2d72714d0>>, args : (None,)]
- File 'E:\Builds\MCCC_2025_5_1\mc_cmd_center\mc_injections.py', line 313, in inject_load_data_into_class_instances [ args : (<function InstanceManager.load_data_into_class_instances at 0x2e37af170>, <sims4.tuning.instance_manager.InstanceManager object at 0x2d72714d0>, None), ظ : <function InstanceManager.load_data_into_class_instances at 0x2e37af170>, ص : InstanceManager_career_event]
- File '.\BasementalDrugs_8.18.234-PATREON\Basemental\utilities\injector.py\injector.py', line 31, in _wrapped_function [ args : (<sims4.tuning.instance_manager.InstanceManager object at 0x2d72714d0>, None), protected_original_function : <function inject_to.<locals>._wrap_original_function.<locals>._wrapped_function.<locals>.protected_original_function at 0x30412b7a0>, new_function : <function bmd_appliances_load_data_into_class_instances at 0x2e37a7f80>, original_function : <function InstanceManager.load_data_into_class_instances at 0x2e31e34d0>, safely : True]
- File '.\BasementalDrugs_8.18.234-PATREON\Basemental\injections\april_fools.py\april_fools.py', line 163, in bmd_appliances_load_data_into_class_instances [ original : <function inject_to.<locals>._wrap_original_function.<locals>._wrapped_function.<locals>.protected_original_function at 0x30412b7a0>, self : InstanceManager_career_event, args : (None,)]
- File '.\BasementalDrugs_8.18.234-PATREON\Basemental\utilities\injector.py\injector.py', line 23, in protected_original_function [ args : (<sims4.tuning.instance_manager.InstanceManager object at 0x2d72714d0>, None), original_function : <function InstanceManager.load_data_into_class_instances at 0x2e31e34d0>]
- File 'C:\Sims 4 Python Script Workspace (3.7)\My Script Mods\RPO_Collection_M00_CoreLibrary_REQUIRED_v2.97\Scripts\Lumpinou_RPO3_Injector\Lumpinou_RPO3_Injector_file.py', line 6, in _inject [ args : (<sims4.tuning.instance_manager.InstanceManager object at 0x2d72714d0>, None), new_function : <function inject_loots_to_inherited_loots at 0x2e31e3440>, target_function : <function InstanceManager.load_data_into_class_instances at 0x2b2566b90>]
- File 'C:\Users\Sims 4 Python Script Workspace (3.7)\My Script Mods\RPO_Collection_M00_CoreLibrary_REQUIRED_v2.984\Scripts\Lumpinou_RPO3_Injections.py', line 418, in inject_loots_to_inherited_loots [ original : <function InstanceManager.load_data_into_class_instances at 0x2b2566b90>, self : InstanceManager_career_event, args : (None,)]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\instance_manager.py', line 698, in load_data_into_class_instances [ self : InstanceManager_career_event, key : '00000000!a7fdafa1'2e88b31b.94420322', cls : <class 'sims4.tuning.instances.Pandasama:careerEvent_NursingStudent_Socialize'>, tuned_classes_key : '00000000!a7fdafa1'2e88b31b.94420322', tuning_callback_helpers : '[TuningCallbackHelper(template=<sims4.tuning.tunable.OptionalTunable object at 0x2e0c5f780>, name='scorable_situation', source=<sims4.utils.strformatter object at 0x311254f10>, value=ImmutableSlots({'medal_payout_bronze': ImmutableSlots({'additional_loots': (), 'money': TunableMultiplier(base_value=0.8, multipliers=()), 'text': <sims4.localization.TunableLocalizedStringFactory._Wrapper object at 0x311288ef8>, 'work_performance': TunableMultiplier(base_value=1.0, multipliers=())}), 'medal_payout_gold': ImmutableSlots({'additional_loots': (), 'money': TunableMultiplier(base_value=1.3, multipliers=()), 'text': <sims4.localization.TunableLocalizedStringFactory._Wrapper object at 0x311288d00>, 'work_performance': TunableMultiplier(base_value=3.0, multipliers=())}), 'medal_payout_silver': ImmutableSlots({'additional_loots': (), 'money': TunableMultiplier(base_value=1.0, multipliers=()), 'text': <sims4.localization.TunableLocalizedStringFactory._Wrapper object at 0x311288750>, 'work_performance': TunableMultiplier(b...']
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\log.py', line 859, in exception [ self : <sims4.log.Logger object at 0x2b25013d0>, message : Exception while finalizing tuning for {}., log_current_callstack : True, level : 150, owner : manus, args : (<class 'sims4.tuning.instances.Pandasama:careerEvent_NursingStudent_Socialize'>,), frame1 : <frame at 0x310e78bc0, file 'E:\\Builds\\MCCC_2025_5_1\\mc_cmd_center\\mc_injections.py', line 1455, code inject_logger_exception>, frame : <frame at 0x310ec4cc8, file 'E:\\Builds\\MCCC_2025_5_1\\mc_cmd_center\\mc_utils.py', line 219, code _wrapper_function>]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\serialization.py', line 673, in load_from_xml [ resource_key : '00000000!a7fdafa1'2e88b31b.94420322', resource_type : Types.CAREER_EVENT, inst : <class 'sims4.tuning.instances.Pandasama:careerEvent_NursingStudent_Socialize'>, source : Instance: 12105024480247067419 (Pandasama:careerEvent_NursingStudent_Socialize), Types.CAREER_EVENT, tuning_loader : <sims4.tuning.serialization.ETreeTuningLoader object at 0x311254d50>, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x28d7def90>, loader : <sims4.resources.ResourceLoader object at 0x311232a50>, tuning_file : <_io.BytesIO object at 0x3112ba590>]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\serialization.py', line 718, in feed [ self : <sims4.tuning.serialization.ETreeTuningLoader object at 0x311254d50>, tuning_file : <_io.BytesIO object at 0x3112ba590>, tree : <xml.etree.ElementTree.ElementTree object at 0x311232d90>]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\serialization.py', line 762, in _load_node [ self : <sims4.tuning.serialization.ETreeTuningLoader object at 0x311254d50>, node : <Element 'I' at 0x311232110>, tunable_class : <class 'sims4.tuning.instances.Pandasama:careerEvent_NursingStudent_Socialize'>, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x28d7def90>, child_node : <Element 'V' at 0x3112af490>, tunable_datas : {'required_zone': <careers.career_event_zone_requirement.RequiredCareerEventZoneTunableVariant object at 0x2e0c1faa0>, 'zone_director': <sims4.tuning.tunable.OptionalTunable object at 0x2e0c22eb0>, 'scorable_situation': <sims4.tuning.tunable.OptionalTunable object at 0x2e0c5f780>, 'tests': <event_testing.tests.TunableTestSet object at 0x2e0c6a050>, 'loot_on_request': <TunableReference>, 'loot_on_start': <TunableReference>, 'loots_on_end': <sims4.tuning.tunable.TunableList object at 0x2e0c63d98>, 'loots_on_cleanup': <sims4.tuning.tunable.TunableList object at 0x2e0c63e20>, 'cooldown': <TunableRange>, 'subvenue': <sims4.tuning.tunable.OptionalTunable object at 0x2e0c5fb18>, 'end_of_day_reports': <sims4.tuning.tunable.OptionalTunable object at 0x2e0c5fd40>}, tunable_name : zone_director, tunable : <sims4.tuning.tunable.OptionalTunable object at 0x2e0c22eb0>]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\serialization.py', line 823, in _load_tunable [ self : <sims4.tuning.serialization.ETreeTuningLoader object at 0x311254d50>, tunable_class : <class 'sims4.tuning.instances.Pandasama:careerEvent_NursingStudent_Socialize'>, tunable_name : zone_director, tunable : <sims4.tuning.tunable.OptionalTunable object at 0x2e0c22eb0>, cur_node : <Element 'V' at 0x3112af490>, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x28d7def90>, current_tunable_tag : V]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 1236, in load_etree_node [ self : <sims4.tuning.tunable.OptionalTunable object at 0x2e0c22eb0>, node : <Element 'V' at 0x3112af490>, source : Instance: 12105024480247067419 (Pandasama:careerEvent_NursingStudent_Socialize), Types.CAREER_EVENT, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x28d7def90>, variant : enabled, template : <TunableReference>, node_children : [<Element 'T' at 0x3112af810>], name : enabled, current_tunable_tag : T]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 2140, in load_etree_node [ self : <TunableReference>, source : Instance: 12105024480247067419 (Pandasama:careerEvent_NursingStudent_Socialize), Types.CAREER_EVENT, reference_name : 113576]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 2140, in load_etree_node [ self : <TunableReference>, source : Instance: 12105024480247067419 (Pandasama:careerEvent_NursingStudent_Socialize), Types.CAREER_EVENT, reference_name : 113576]
- File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\instance_manager.py', line 870, in get [ self : InstanceManager_zone_director, name_or_id_or_key : 113576, pack_safe : True, class_restrictions : (<class 'careers.career_event_zone_director.CareerEventZoneDirector'>, <class 'venues.weekly_schedule_zone_director.WeeklyScheduleZoneDirector'>), source : Instance: 12105024480247067419 (Pandasama:careerEvent_NursingStudent_Socialize), Types.CAREER_EVENT, key : '00000000!00000000'0001bba8.f958a092']