This sounds like a bug, but....did you spawn into the world inside a rift maybe?
The way to get your sanity back up is to kill mobs.
I would suggest, if this is a new world, just try again and double-check the settings.
Also, do it vanilla (no mods) just in case that is a problem.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.