[FIXED] [ECO] Dew Collector causes LE and does not provide water

by amanda-amethyst
Reply

Original Post

Accepted Solution

[FIXED] [ECO] Dew Collector causes LE and does not provide water

[ Edited ]
★★★ Guide

Product: The Sims 4
Platform:PC
Which language are you playing the game in? English
How often does the bug occur? Every time (100%)
What is your current game version number? 1.103.250.1020
What expansions, game packs, and stuff packs do you have installed? All
Steps: How can we find the bug ourselves? Place a dew collector on a lot and wait. A game restart may be necessary.
What happens when the bug occurs? A lastException.txt file is created in my The Sims 4 folder, and water level does not go up. It does go down with use. The LE contains Exception when applying action <StatisticSetMinOp: commodity_Object_Brokenness minimum> for loot <class 'sims4.tuning.instances.loot_Statistic_Breakage_DewCollector'> (AttributeError: 'NoneType' object has no attribute 'has_buff') (I will attach the file after I post the report.)
What do you expect to see? No lastException, and for water level to correctly increase when there are dew collectors on the lot.
Have you installed any customization with the game, e.g. Custom Content or Mods? Not now. I've removed them.
Did this issue appear after a specific patch or change you made to your system? Yes
Please describe the patch or change you made. One of the two patches on Dec 5th 2023, or installing For Rent.

dew.png

Whenever a dew collector is on a lot (either preexisting or newly placed) after a short time, a LE is generated (and continues to be added to), and the water level does not increase, even with many dew collectors. This does not seem to affect solar panels. If you are off the grid and are generating a water surplus, you can still use water but your rate of change does not change to reflect that you're using more water and you get spammed with notifications that the lot is generating a water surplus.

 

This happens when the dew collector is on a residential lot, a retail lot, or a residential rental lot.

 

It's happening to many people (I do mod support on discord).

 

This is happening in a brand new save, which has never been touched by mods, and after a game repair.

 

Edit By Crinrict: Added Tag to Title.

Message 1 of 26 (8,835 Views)

Accepted Solution

Dot.: [OPEN] [ECO] Dew Collector causes LE and does not provide water

Hero

We fixed an issue where The Dew Collector was not collecting any water. Now, it will correctly collect water, and the water level will continue to rise.

Fixed in Patch 1.106.148/1.91

Please create a new thread if you're still experiencing this issue,

 

Good Luck
Crin

Trennlinie

I don't work or have any association with EA. I give advice to the best of my knowledge and cannot be held responsible for any damage done to your computer/game.
Please only contact me via PM when asked to do so.



Important Threads


View in thread

Message 26 of 26 (1,643 Views)

All Replies

Re: [ECO] Dew Collector causes LE and does not provide water

★★★ Guide

Last Exception attached (sorry it's separate, but it always fails to post if it's not)

Message 2 of 26 (8,826 Views)

Re: [ECO] Dew Collector causes LE and does not provide water

[ Edited ]
★★★ Guide

Same here! I also get a LE every time (I'll add it later when I get another one) ^^

UPDATE:
I do not receive LE due to a mod.
You can download the Mod here

Message 3 of 26 (8,812 Views)

Re: [ECO] Dew Collector causes LE and does not provide water

★★ Apprentice
I have the same problem, I have been playing the same household before the new update and it was working fine, now I have that same exception
Message 4 of 26 (8,689 Views)

Re: [ECO] Dew Collector causes LE and does not provide water

★ Guide

I also experienced this, and I think I have worked out what is going on.
The loot_Statistic_Breakage_DewCollector mentioned in the error has a buff test which checks for a couple of buffs using the Actor sim as the subject (Actor is the default value for the subject in this case which is why it is not shown in the tuning itself):

Spoiler
          <L n="tests">
            <L>
              <V t="buff">
                <U n="buff">
                  <V n="whitelist" t="enabled">
                    <L n="enabled">
                      <T>345177<!--buff_muEvent_Cursed_AfterDestroy--></T>
                      <T>345176<!--buff_Role_muEvent_Cursed--></T>
                    </L>
                  </V>
                </U>
              </V>
            </L>
          </L>

This is a problem, because this action is fired periodically by the object directly in this bit of tuning (present in both the object_Utilities_Water_Production_DewCollector and object_Utilities_Water_Production_DewCollector_HighQuality XMLs):

Spoiler
              <U>
                <T n="key">15385<!--Upgrade_Generic_LockBrokenness_NotStarted--></T>
                <U n="value">
                  <V n="periodic_loot" t="apply_new_value">
                    <U n="apply_new_value">
                      <L n="periodic_loots">
                        <U>
                          <T n="frequency_interval">15</T>
                          <T n="initial_delay">15</T>
                          <L n="loots_to_apply">
                            <T>235984<!--loot_Statistic_Breakage_DewCollector--></T>
                          </L>
                        </U>
                      </L>
                    </U>
                  </V>
                </U>
              </U>
              <U>
                <T n="key">15386<!--Upgrade_Generic_LockBrokenness_Partial--></T>
                <U n="value">
                  <V n="periodic_loot" t="apply_new_value">
                    <U n="apply_new_value">
                      <L n="periodic_loots">
                        <U>
                          <T n="frequency_interval">15</T>
                          <T n="initial_delay">15</T>
                          <L n="loots_to_apply">
                            <T>235984<!--loot_Statistic_Breakage_DewCollector--></T>
                          </L>
                        </U>
                      </L>
                    </U>
                  </V>
                </U>
              </U>

Because of this, no Sims are directly associated with this loot when it is fired, so the game has no way of knowing which Sim Actor is supposed to refer to (unlike if the loot were to be fired by a sim doing an interaction), so it treats it as NoneType and errors out as a result (giving the 'NoneType' object has no attribute 'has_buff') error. A simple way around this is to instead check any instanced Sims on the lot for the buff, like this:

Spoiler
          <L n="tests">
            <L>
              <V t="buff">
                <U n="buff">
                  <T n="apply_whitelist_on_individual_basis">False</T>  # this is needed such that only 1 instanced sim needs to have the buff instead of all instanced sims for the test to pass
                  <E n="subject">AllInstancedSims</E>
                  <V n="whitelist" t="enabled">
                    <L n="enabled">
                      <T>345177<!--buff_muEvent_Cursed_AfterDestroy--></T>
                      <T>345176<!--buff_Role_muEvent_Cursed--></T>
                    </L>
                  </V>
                </U>
              </V>
            </L>
          </L>

 

Message 5 of 26 (8,648 Views)

Re: [ECO] Dew Collector causes LE and does not provide water

★ Guide

My game is throwing last exception files at me. Something is broken with this object.

Exception when applying action <StatisticSetMinOp: commodity_Object_Brokenness minimum> for loot <class 'sims4.tuning.instances.loot_Statistic_Breakage_DewCollector'> (AttributeError: 'NoneType' object has no attribute 'has_buff')

Message 6 of 26 (7,787 Views)

Re: [OPEN] [ECO] Dew Collector causes LE and does not provide water

★★★ Newbie

I am getting the same errors

Message 7 of 26 (7,476 Views)

Re: [OPEN] [ECO] Dew Collector causes LE and does not provide water

★★ Novice

Same here. It showed up even when my mods were removed, in a new save and after a game repair.

Message 8 of 26 (7,047 Views)

Re: [OPEN] [ECO] Dew Collector causes LE and does not provide water

★★★ Novice
@amanda-amethyst I have this same problem.
Message 9 of 26 (6,831 Views)

Re: [OPEN] [ECO] Dew Collector causes LE and does not provide water

★★★ Apprentice

I just built a lot that has the dew collectors, playtested and got this error. I use MCCC and UI Cheats.

Message 10 of 26 (6,771 Views)