a deceased relative gave you a hug

the meaning:

You are thinking about your deceased relative, because you miss him or her. If this person died suddenly and you never got a chance to say goodbye, your relative came to say goodbye in your dream.