How to save instance static meshes

I’m having a problem with saving instanced static meshes for my foliage actor witch fire line traces then spawns them the problem is when I remove a location array even when the coordinates are equal they return false saying their not equal even though I’ve read both the coordinates and they are the same what am I doing wrong?

Can we see the code