I'm confused over the concept of gravitational potential energy inside a sphere. I understand that the gravitational potential energy inside the sphere is supposed to be a constant $U = \frac{GMm}{R}$ where $R$ is the radius of the sphere.
What I am confused about is how this applies in conservation of energy equations. For instance, the classic "Drill a hole through the planet". In that instance, GPE at the surface is converted to KE at the core and then back to GPE as it continues through. But, if the object still has gravitational potential energy, this equation doesn't hold. What am I missing concept wise?