-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined ID #285
Comments
Does it work with just DAE and Active Auras enabled? Can you share the details tab of the item this originates from. |
I've found that I can reproduce this by selecting N (>=2) tokens for the same character, all of them linked to the canonical actor data, and moving them into or out of an aura. If they all enter the aura in the same motion, the module adds N copies of the Having two tokens for the same unique character is admittedly an odd situation, but I've also found that the popular Token Attacher module makes these issues vastly more common in all sorts of situations. Here's an example of me moving two identical tokens, both linked to the same actor data, into and back out of an aura:
|
I don't think there is a way I can easily handle this, as each token is supposed to have its own set of actor data that it can use, which isn't the case when both tokens are linked to the same actor. |
What about confirming that the effect with that ID hasn't already been removed before removing it (or just catching the error)? That wouldn't fix adding duplicate effects, but it would at least suppress the errors when trying to remove them.
Anyway, the bigger issue is when combined with the Token Attacher module. In that case, they don't have to be duplicate tokens linked to the same actor. I often end up with many copies of the same effect as well as dozens of error messages after I move a complex vehicle made using Token Attacher. You can reproduce the error with just two attached tokens, though. Given how popular that module is, I'd consider this to be a fairly important issue.
I'll look into it some more myself to see if I can figure out what's happening with Token Attacher.
|
It looks like the issue often happens when dragging multiple tokens through walls, such that the effect is rapidly removed and re-applied. (It might need to be multiple walls.) I think there's a race condition. Setting "Walls Block this Aura?" to "No" seems to fix the bug, which is consistent with my theory. |
Describe the bug
Got this error on console.....
undefined aura does not exist on the embedded collection
To Reproduce
Steps to reproduce the behavior:
3.Check if enable
Expected behavior
Aura just applying once, not stacking
Screenshots
Environment:
MidiQol
ActiveAuras
ChrisPremades (and dependencies)
Times-Up
Simple Calendar
Additional context
The aura keeps adding itself to actors it seems like the effect is unable to delete itself, i deleted the first one but the new feature has the same issue
The text was updated successfully, but these errors were encountered: