Version: 7.0.5861.0
Task a villager carrying any resource to build any resource dropoff building and then shift queue the villager to do anything else. The villager will continue to carry the resources if not having being tasked onto a different resource or will lose the resource when being tasked and starting to collect another resource. This does not happen when the villager is not shift queued. The expected behavior is that the resource that the shift queued villager carried will be added to the stockpile once the construction of the resource building has been finished.