Get Class of an object with its name

Hi,
I would like to get a class of an object with its name as you can see below.

Actually, I store the association “Class/Name” in array, and it works like that but everytime I start the editor there is an error and I have to recompile.

If I remove my array, this error doens’t occur anymore so I think this is the problem but how can I do different ? In blueprint or C++…

Sorry for my english if i made mistakes, french writer…^^

If the function is part of a function library, it’s probably this: https://answers.unrealengine.com/questions/68860/bug-issues-with-functions-inside-function-library.html

That problem still occurs to me with 4.6/4.7. You can either recompile the function library every time you start the editor or you can use macro libraries instead (which give you more power anyway).

Ignore this post if it’s not part of library.

Yes my function isn’t part of a function library so… :frowning:

Hi.

Where you found BP GetClassWithName? I can’t find it…

http://s6.postimg.org/8kylg9z75/screenshot_164.png