Open Muwak77 opened 11 months ago
Yeah, I noticed this as well, but haven't had time to investigate further yet. I'll try to prioritize this and figure out what's going on.
I think i found the issue:
when a link is stored but the page is deleted, the script crashes.
in IncludeLinks line 148 i replaced
let entity = game.documentIndex.uuids[value].leaves[0].entry;
with
let entity = game.documentIndex.uuids[value]?.leaves[0]?.entry;
if(entity===undefined) {
continue;
}
seemed to do the trick, but needs further testing
Sorry for taking so long to get back to this.
It looks like you're right, though that shouldn't be happening, and is a sign of some leakage. I'll use a (slightly modified) version of your solution for now, to avoid show-stoppers like the script crashing, but my hope is that it's mainly some sort of problem from the migration and that the working sync button should be enough to resolve it. I'll keep this open for now, keeping an eye out for other potential causes.
In Foundry V11 Some Items Unexplainably do net render without any error-message. I testet with the Investigator System, but not certain if it happens in other Systems.