Pets can’t be lectured/can’t become companions

Problem

My Sim doesn’t have the option to lecture their pet or become companions although the animal did something bad and they have a high relationship

Cause

The issue affects adopted pets. All Sims that had a friendship with the animal before the adoption are missing a relationship bit that identifies the Sim as owner of the pet which in turn prevents them from being able to lecture/become companions.

Solution

The missing relationship bit can be added via cheat. You will need a mod to enable the cheat but you can remove the mod after fixing the Sim.

  1. Download TwistedMexi’s AllCheats Mod and add it to your game.
  2. You will need the following cheats:
    1. For yourSimID: sims.get_sim_id_by_name <yoursimfirstname> <yoursimlastname> (Name of the affected Sim)
    2. For targetSimID: sims.get_sim_id_by_name <yoursimfirstname> <yoursimlastname> (Name of the affected Pet)
    3. relationship.add_bit <yoursimID> <targetsimID> <relationshipBit> (RelationshipBit is either catOwned for cats dogOwned for dogs
  3. After doing this you should be able to lecture and become companions again.
How to use cheats
Do the following steps to use the cheat console
  1. Open the cheat console with ctl-shift-c
  2. Enter the cheat you need in the entry box which appeared in the upper left corner of your screen.
  3. Click [ENTER]
  4. Repeat steps 2 & 3 for every necessary cheat.
  5. After entering all needed cheats, close the cheat console with ctl-shift-c

More details on cheats can be found on TwistedMexi's redditsims4Cheats

How to prevent

Create your pets in CAS or do not befriend them before adopting when you get them through the adoption agency.

If you want to adopt a stray, there’s no way to prevent this bug cause you need to befriend the animal before you can adopt it.

Mods that help with the issue