I have had this issue for over a year now with the Enable() Disable() latent functions and the EnableNoWait() DisableNoWait() non-latent functions.
Using these functions in a small interior space CONSISTENTLY causes CTD's for me.
After a year, I have proven that it IS this that causes the CTD's.
I have tested this in: Vanilla Skyrim; Skyrim with one DLC; Skyrim with DLC's and one mod; Skyrim with DLC's and 28 mods; re-installed Skyrim; verified files; using the functions in different mods (small interior spaces) - re-writing the enable/disable in various ways, using a trigger; using an xmarker parent; using chained refs; using linkrefs; direct call to the function; using stages - every conceivable way one person could write a simple enable/disable script. I've used several DIFFERENT enable/disable ... used it for armor, used it for items, used it for different objects, used it with only one item.
The mod I'm currently getting this error with has NO record of errors in the papyrus log - it just ENDS prior to entering the home where the script resides. There are NO errors for this mod in Tes5edit, no conflicts, no missing assets, nothing. There are no errors in load order, have had NO other mods loaded and get same issue - There are NO errors showing in CK when mod with script is loaded.
Frankly, I'm at my wit's end.
If I simply REMOVE this script - I can enter/exit the player home SUCCESSIVELY OVER 40 TIMES and it will NOT CTD.
AND it's NOT this particular script ....
Last year, I used this EXACT script in a LARGE interior space - player home I made with 3 floors,, 2 quests, new npc's, TONS of triggers, lots of custom containers and quite a few additional enable/disable scripts I had written - for some VERY strange reason, this player home has NEVER had a CTD. There are TWO significant differences to the one that works mentioned above the all the other ones that I'm getting CTD's on. The LARGE interior space, and I had an NPC 'disable' the shower prior to the player killing the npc and being rewarded with the home .... that one never - never crashed.
If I use ANY enable/disable scripts in my current player home - it WILL CTD. This home has a LARGE worldspace, it's part of an entire settlement - everything finalized - EVERYTHING in this settlement works beautifully ... there is all original work by me, smithy, stables with original horses & hostler, apothecary, tavern with rooms for rent, bakery, fishery, lighthouse, hunter, haunted cavern, general store - all original npc's - original models with original textures, original packages for npc's .... it ALL WORKS PERFECTLY. But the Player home located close to this settlement is having this ONE issue.
I created a small enable/disable for a popular mod author for her player home - it CTD's with the script. Perfect without it.
I don't understand.
Please, please ... can someone, anyone help me?
Leianne