This most likely has to do with outdated mods/cc.
To test this, move your mods folder to the desktop and delete the localthumbcache.package from the Sims 4 folder. This helps clear up some game glitches and will help to make sure there isn't any issues with any mods or cc. Like mods/cc that are outdated or no longer in game.
How to Move the Mods Folder to Desktop:
[Go to C:\Users\Username\Documents\Electronic Arts\The Sims 4 and click on the Mods folder, select Cut and paste it to the desktop for testing purposes.]
If the game runs well without the mods folder. This most likely means that it is outdated mod or cc. This can happen as we get updates for the game, some mods and custom content become outdated. You'll need to to go through your mods folder to find what needs to be replaced or deleted.
How to Fix Problems with Mods/CC
http://www.carls-sims-4-guide.com/forum/index.php?topic=25031.msg426156#msg426156Please note, if you use a mod called the Mod Conflict Detector it only finds conflicts between different mods, not mods and the game. It has not been recently updated, so please keep in mind that it may not work as intended.