If it was creaking rather a cracking sound, it could have been the door seals rubbing against the door openings. The seals tend to dry out over time and when they do they creak when the car’s bodywork flexes (normal), as it would be likely to do if you were driving off road at the time.
If it was your door seals, then you could lubricate the them with a product such as Gummi pflege or VW’s (very expensive) Krytox which should stop the creaking.
If you do a Google search on VW creaking door seals, you’ll see it’s pretty common and experienced by many owners.
One person's creaks is another person's cracks lol, i guess what i interpret as a crack someone might think it's a creak. I know it's hard to pinpoint noises down in cars and initially i thought it was further back in the car, almost in the the parcel shelf area, then when it happened again the missus thought it came from the sunroof. It happened a few times more and on leaving the show and i was pretty certain it was coming from the rear of the sunroof! I'll take a punt with some Gummi pflege and get busy on the seals up top and doors and see if that cures it.
I've not heard of a fault with the roofs involving noises due to lack of sealent.
I'm an over-thinker so have probably looked at too much crap about it and got crossed wires somewhere along the lines
If i was to try and describe the sound it would be like two bits that have seized together being unseized, just on numerous occasions. Similar i guess to your discs and pads seizing if the car has been sat unmoved for a long time.
If i'm honest i've never been one for sunroof's and if mine didn't have one i'd have been more than happy, that said having a sunroof was never going to stop me buying it!