There is still one problem. When I uncomment “UFUNCTION(BlueprintNativeEvent, Category = collision)” it gives a Shell Script Invoc Error
Also this line still gives an error
ProxSphere->OnComponentBeginOverlap.AddDynamic(this, &ABasePickUpItem::Prox_Implementation);