Are you returning through the portal on the map? Or via the exit button?
You need to leave the location by going through the portal arch on the map — that way your rewards will be saved. When you exit via the button, there's a warning that you'll lose all your resources.
thanks for replying to me! but unfortunately, i already tried returning through the portal on the map, but when i exit and make me see the paper with the materials obtained, i always see it blank even if defeated the monster in all difficulties various times.