NewObject generate object in code but not in blueprint

I’m trying to generate a class that I created do handle some collisions during a animation
on the C++ code when I’m debugging, the object exists, correctly but on the game, it’s empty




image

In your CreateCombatAnimMontage function try to pass the playerRef as an argument to the NewObject call, this will set a valid owner on your newly created object, therefore validating its reference

Thank you a lot, that was exactly it!
When I was trying to instantiate the new object; on the world tree it had no parent.