Summary
Running findAllWithCriteria({types : ['INSTANCE']})
and then accessing properties on the returned instances causes subsequent calls to return ±5x the amount of results.
Additional Info
- This doesn’t seem to happen on other node types, just
INSTANCE
nodes skipInvisibleChildren
is set tofalse
(running with it on does the same thing, just less)- Running a custom traversal function returns the 5x amount.
- Accessing the
id
property doesn’t seem to trigger the amount increase. - The instances in the large array seem to have unique ids.
- There’s also a small difference between calling it once and second time but remains consistent after the second call.
Any info/help would be appreciated.