I had this for years and recently found out what it is.
Interoceptive and exteroceptive lack of sensation. Common following trauma to the central nervous system by either physical means eg. brain injury or by mental nervous breakdown or medication that inhibits nerve function.
It's described as meta-cognitive dysfunction.
It's most noticeable when you close your eyes and relax. You lose your 'place' in space and time. Feels like spinning or tilting in any direction and that you are floating in air or space. You may have strange dreams when in bed, other worldly and surreal.
With your eyes open it feels like the space around you is changing shape. You can look at something and it seems as if it's out of proportion and can look as if it's a couple of inches away or a hundred meters away at the same time. This is called Alice in wonderland syndrome. Many small kids get this too because their brains are still learning and building a 'picture of reality' in their minds.