Better Exceptions v3.04: UI Exception Tracker & Hotfixes
🕑 Added 2022-09-29 15:52:46 +0000 UTCEDIT: v3.04 is now available, which is a hotfix update. Please update immediately.
v3.04 Changes
Fixed one remaining condition that could cause infinite scanning when a critical scan is necessary.
v3.03 Changes
Improved UI Detection for exceptions caused by shared library UI files.
Fixed a bug where an interaction caused UI Exception could return zero mods found.
Fixed a bug where confidence would be set to 10% even though it correctly found the culprit.
v3.02 Changes
Added some additional gallery game bug handling.
Trait-related UI reports were over-eager to blame certain traits. The tracker has been refined and this should no longer be an issue.
v3.01 Changes
Fixed an issue that could stop all reports if the player had an excessive amount of CC files.
Added handling for some EA-caused UI Exceptions I was previously unaware of.
Added handling for UI Exceptions caused by invalid interaction categories.
Added diagnostic info to the UI Reports for my team's use.
This is the official release for Better Exceptions v3.0. We're jumping to v3.0 to represent the completion of the three types of TS4 errors - Exceptions, CAS CC glitches, and now UI Exceptions.
UI Exceptions are the ones that show as random boxes, random warped menu images, and sometimes failure to load certain modes like CAS. This update adds detection for those errors and attempts to locate the cause for you automatically. If it can't, it will show you the full list of UI mods so you can only worry about the mods that could possibly cause the issue.
v3.0 Changes:
Fixed the infinite scanning page on critical exceptions.
Updated CC Tracker to locate CC skintones.
Better Exceptions will now alert you when a lastUIException occurs. This usually manifests as visually glitched UI elements as seen above.
BE will automatically open the report in your browser and show which mods could be responsible.
It will narrow the results when possible, but if the UI exception is too generic, it will list all UI mods (typically players only have 4-5 of these)
You can also get an unfiltered list of your UI mods by going into the Better Exceptions welcome menu and clicking "Locate All UI Mods"
Added a Locate Outfit CC button to BE's menu that shows how to track outfit CC.
Added new records to the Animation Error (ignorable) list.
Found and corrected a bug that may have been inhibiting certain types of heuristic scans.
Fixed false positives stemming from using a sim as a heuristic seed.
Fixed an issue with UI Exception monitoring causing a lastCrash while exiting the game. (harmless but annoying)
If you need info on Better Exceptions in its entirety, please review this video carefully. Install instructions at bottom of post.
============PRIOR UPDATES===========
v2.05 Changes:
CC Outfit tracker - with testingcheats true, shift+click a sim with bad CC and select "BetterExceptions: Locate Outfit CC" to generate a list of CC used by the current outfit. The list tells you the exact folder path where the CC file is located.
Updated BE's tracker to be able to track bad Traits/Whims due to the 1.90 changes.
In the process, I discovered a deficiency that has been corrected so in general BE's tracking should be the best it has ever been.
It should be able to track nearly any mod related exception now, but this morning I specifically tested the following with 100% success.
[X] Traits
[X] Whims
[X] Aspirations
[X] Careers
[X] Bad CC Beds
The deficiency was likely the cause of occasional false positives as well, so that may potentially be fixed as a result.
Fixed the long-standing bug of BE's blank LE correction breaking on Mac.
Expanded list of animation/posture exceptions so those reports should be less intrusive.
Updated Example Report to list Probably Cause as "You." due to the amount of players who were getting confused by the example.
Fixed a 404 error that could occur when the fallback scanner (zone load failure) is used.
Fixed a bug where multiple exceptions could sometimes override the possible causefor the first exception, usually with a less helpful result.
This is a release candidate for Better Exceptions v2.05. It includes a brand new Outfit CC Tracker.
How to Use:
1. Spot the sim with glitched/undesired CC.
2. Make sure testingcheats true is on, or utilize a mod of mine that forces it like AllCheats or Always Testing.
3. Shift+Click the sim -> Select "BetterExceptions: Locate Outfit CC"
4. Wait for a few seconds to a couple of minutes depending on amount of CC and how old your hard drive is.
5. A list of CC files used by your sim will be displayed in your browser.
Public release set for 8/18 if no issues are found. I'm also investigating a bug for blank LE correction on mac that I will squeeze a bugfix in if I can reproduce the issue in time.
If it's helped you, please share some of your reports on discord or Twitter and @ me! Interested to see how it helps!
Better Exceptions is a low-maintenance mod that gives players a more detailed exception file when the game encounters errors, and in many cases can track down the exact file that caused the exception automatically.
Refined Broken Script Messages: If a script is newer than the python version upgrade date, but still using incorrect python formats, the message will now be an informational "Mod Author needs to update to .pyc standard" instead of the technically incorrect advice to remove the mod.
Better detection of Animation Errors: When the exception is caused by an animation error, it's usually ignorable and there's no advantage to scanning and generating a BE Report. Instead you'll get a notification that gives you the option to scan if you'd like.
Scanning Dialog Can Now Be Closed: If players had unlucky timing, they could end up causing the scan dialog to get stuck on screen. For this reason, I've added a close button. It should be noted that if BE is actually still scanning and not frozen, closing this dialog will not stop the scan and your game may appear sluggish until it's complete.
Help & Resources Updated: The General Exception link has been updated to go to Sims After Dark, where many of them same bots and helpers you're used to can now be found. Here's the invite if you'd like to go ahead and join.
Installation:
The mod is now inside a zip. On Mac it may automatically be removed from the .zip when downloaded.
To install, open the zip below and drag the tmex-BetterExceptions.ts4script inside to your Mods folder. Do not open or unzip the .ts4script file. Make sure πScriptπ mods are turned on in gameplay options -> Other.
FILE REMOVED DUE TO OLD VERSION. ALWAYS GET THE LATEST VERSION VIA TWISTEDMEXI.COM. BOOKMARK IT!
Comments
Carol King
Please, please, tell me in easy steps for an elder citizen how to use discord to present a BE full report for you to help me straighten out my files. I had a membership there long ago, but I cant get in any more to post because i can't remember my password.
TwistedMexi
Confidence less than 80% usually means it couldn't find the mod responsible, or it's a game bug. Come to discord.twistedmexi.com and upload your report in a support channel by dragging it to the discord window
Didi
Hey! I keep having an error and it just say "part" do you know what this might be? Thanks for this mod!!!
TwistedMexi
Come to discord.twistedmexi.com if you need help with the mod, so we can troubleshoot.
Fefe
its not scannning too in my game or even showing up
TwistedMexi
It should as long as your game is the current, official version. I'd need more info like what scan you're referring to, because exception scans don't happen unless there's an exception thrown by the game
Damarrea Spann
it wont scan in my game
TwistedMexi
That sounds like a simrealist error, nothing to do with BE
Tay Simmer
I'm having a lot of issues with this update, there is a long message across the screen that I can't get rid of.
Rault
I would need to see the report. Please come to discord.twistedmexi.com and post it
Thomas
So I have custom Careers that I have followed the instructions of Niea to create my ts4sript. BE flags it every time as invlaid, yet its not a problem in my game, nor has any other custom Career flagged. What's BE flagging to say its invalid? I create a lot of custom careers for players, so I just want to know what's getting caught in the scans to correctly make these for my fans. TY for the program however, its amazing and help track down my bad/obsolete/corrupt mods.
NeuNeu
Hi, just received an error according to the report " v3.03 | Created by TwistedMexi This UI Exception was caused by a known EA Bug. If this is happening to you repeatedly, please report it to EA's Answers HQ.
Rault
Please stop into discord.twistedmexi.com if it happens again
noirblanc artsy
It was a critical scan, I can't load into any lot and Better exceptions popped up bc in game dialog wouldn't show something. Sorry I didn't screen cap what the txt on the scanning page said. But it went on without completing scan for over an hour
Rault
What type of scan was it? UI or regular exception?
noirblanc artsy
still having infinite scanning. I let is scan for over an hour. Nothing pop up on the scanning page. No reports just still Scanning.
Rault
Pretend that folder doesn't exist. It takes care of itself
MadameGalaxia
Should I also delete the old TMEX- Settings folder along with the old BE folder when updating? This one is the one where the rports show up in after a scan, I've kept that folder even when updating just because I didn't know if we should delete that every time or not?
Sam D.
I love that this updates in game now- thank you.
Rault
10 minutes is not long enough if you have a ton of cc and mods. Critical scans also take longer. There's no way to ask you because as the critical scan notes, it's not possible to display in game dialogs when a household can't be loaded. There's nothing in BE that specifies to erase your existing Firefox session, but I'll test later today to make sure BE isn't the cause.
Kristina
I got stuck on the Infinite Scanning critical exception thing. It perpetually said "Scanning", but after 10 minutes...nothing. It was one household and I just deleted them and their lot, so it's fixed now. But it would be nice if we had a choice of whether it opened in a browser or not, instead of it just popping up. This is a separate thing, and a minor thing to most, but it's kind of a big deal to me. After I moved my new sims back into their freshly added residential lot, I had an LE from a LittleMsSam mod (LittleMsSam_AskToCookBakeGrill_PutAwayAddon). Problem is, when I went to open the BE-ExceptionReport in Firefox after I closed the game, it erased my previous session. I've never had a BE do this - it usually just opens a new tab. I normally wouldn't say anything, but I use my sessions to keep track of stuff for my ADHD brain, lol. Firefox History doesn't save sessions, so I can't put it back together. Just an FYI.
Rault
Usually mod related. Please come to discord.twistedmexi.com for troubleshooting
Jess
Thanks for this! However, I keep getting a "npc_invite_situation_drama_node" Exception and can't figure out what's causing it. I'm guessing it's a game bug? I removed my mods and would still get it! Anyone else seeing this?
Rault
I can't really troubleshoot via patreon comments please come to the discord instead. Discord.twistedmexi.com If I had to guess though, you have multiple copies of better exceptions installed and that's causing the error
Lois Ouellette
v2.05FalseFalseFalseThis is likely due to bad tuning. Check the Summary and Broken Mods section in BE Report.216e87a9188866ccb633f13fddesyncea.maxis.sims4_64.15.pc2022-10-06 13:44:49Local.Unknown.Unknown.1.91.205.1020-1.300.000.146.Releasetmex_BE_UIExceptions.py:416e87a9188866ccb633f13fd Failure: 'tmex_BE_UIExceptions' (tmex_BE_UIExceptions) cannot import name 'XMLResource' from 'tmex_BEPackageManager' (C:\Users\loiso\Documents\Electronic Arts\The Sims 4\Mods\Tmex\Tmex-BetterExceptions.ts4script\tmex_BEPackageManager.pyc) (ImportError: cannot import name 'XMLResource' from 'tmex_BEPackageManager' (C:\Users\loiso\Documents\Electronic Arts\The Sims 4\Mods\Tmex\Tmex-BetterExceptions.ts4script\tmex_BEPackageManager.pyc)) Traceback (most recent call last): File "T:\InGame\Gameplay\Scripts\Core\sims4\importer\utils.py", line 120, in import_modules_by_path File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 668, in _load_unlocked File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible File "T:\InGame\Gameplay\Scripts\Core\sims4\importer\custom_import.py", line 196, in load_module File "D:\Projects\Sims 4 Modding\Mods\TMex Mods 2022\Tmex-BetterExceptions\tmex_BE_UIExceptions.py", line 4, in <module> ImportError: cannot import name 'XMLResource' from 'tmex_BEPackageManager' (C:\Users\loiso\Documents\Electronic Arts\The Sims 4\Mods\Tmex\Tmex-BetterExceptions.ts4script\tmex_BEPackageManager.pyc)rtim=0 ClientInfo isn't here
szanne7000
You are forever the best, my friend! β£οΈπ€©β£οΈ
Renee
Thank you!!
Tcee's World
Thank you!
UnGodlySims
Woah! This is fantastic! this will help me so much thank you for sharing this with us!
MzNekaSimz
Thank you!
TNGuy
TY for this mod! I have had an exception occurring forever that I could not figure out because I keep the mod updated all the time. The culprit, pointed out by this mod, was an older version file of that mod existing in another folder. Removed it and the exception was fixed.