I am following blender guru donut tutorial and I am making coffee cup but when I am rendering the cup and plate it's rendering donut too , though I hide the donut but still it's not solved. What should I do now , kindly help. I am could not able to find my mistake.
Objects hidden in the viewport will still be visible in renders. The best solution is to make a new collection and add your object to it, then disable (not hide) the collection.
$\begingroup$ okay, thankyou so much @christopherbennett . That really helped. $\endgroup$ Jul 13, 2021 at 7:19
$\begingroup$ If so, please consider to accept the answer @tanyagarg How this site works: blender.stackexchange.com/tour $\endgroup$ Jul 13, 2021 at 8:20
You could follow Christopher's solution or what I usually do is select my object that needs to be disabled in the render, go to the outliner and press the camera icon right next to the eye icon so that an 'X' mark appears in the middle of it, this means that your object is temporarily disabled, as in hidden, in your renders but not in the viewport. If you want it to be hidden in the viewport too simply click on the eye icon.
HOW TO HIDE AN OBJECT IN THE VIEWPORT
1$\begingroup$ okay, thank you so much @ribbit12 for your suggestion. $\endgroup$ Jul 15, 2021 at 6:43