You shouldn’t have to use raw C++ casts. That will compile fine but almost certainly crash or anyway not do what you want, since pBlueprint will not be pointing to an IUnit. Anyway hopefully you can sort it, if you have more issues better to open a new question I think.