The topic is a few years old, but does this still hold true? I am having the exact same problem of GKOctree not finding any elements in my query. I (and my coding buddy ChatGPT) run out of ideas why this could be the case.
Also, I miss an .elements() function or property to quickly check if my added elements are even contained properly.