Hi, This is Lucas from Insect Brothers,
If your Goliathus beetle larva is wandering around in circle and do not eat or try to stand against the wall at L3 stage that is most likely the indicator that your larva is in search of soil to pupate. They often react to temperature change as a trigger or some larvae just pupate faster than the others.
-ps. If you changed your sub to something foreign to larva it can also be the reason to wander and not eat for a bit.