@Lindon What version are you using? Save as an xml as well as .hip. Use GIT to keep working versions. Did you get the sampler as a child synth? If so you need to use SamplerName.asSampler().loadSampleMap()

@Lindon
There will be a reference to it somewhere because I think Christoph told me on this forum.

So you only need to use asSampler if you use getChildSynth to store the sampler reference in a variable. If you use getSampler instead then there is no need. However I prefer to use getChildSynth because sometimes you'll want to treat it as a childSynth and sometimes you'll want to treat it as a sampler.

The sample maps will be embedded in the exported VST, all you need to supply is the ch monolith files, assuming you've converted your samples to monoliths. If you want to be fancy and include an installer then you'll want to use the Export >> Export samples for installer tool which will compress the samples into an HR archive. This is a delivery format only which provides a smaller download for your customers. Once the user opens the instrument they will be asked to give the location of the hr1 file which will then be extracted to their chosen location, after which they can delete the HR files. Here's some detailed user documentation for this process - https://librewave.com/knowledge-base/sample-library-installation-guide/#Installing_the_samples