Why unreal can t find static mesh?

I used arrays to set static meshs i do this like this


But this dont work and when i do this on begin play all work!
I set arrays in ABinaryTree::ABinaryTree()


I see this in log

Ok i find why was this error but setStaticMesh still dont work