I posted a bug report here with reproducible simple BP only project.
It seems that when you use a local var in BP to save trace result will prevent it from ever be de-referenced, or whatever the last one your trace call hit and stored.
It might be even simpler to recreate this bug in other situation, I just use whatever I tried and make sure it’s reproducible.
So if you want to cache ‘any’ reference, it’s better to use a blueprint var instead of any localVar.
In short, do NOT do this before it’s fixed in a function.