How do i merge materials on a pre-textured model without breaking texture mapping I've imported a model into Blender, which is already fully textured. It looks great in Blender, but in the game the textures are off, because the game doesn't support having multiple textures per model.

To fix this, it seems I will have to merge the materials used by the model in blender so that the game only has to load one texture over the entire model. Everything I've seen says the way to do this is to unwrap the model and bake it, but unwrapping the model always scrambles the texture mappings, ruining everything. I've been looking at various sources for a solution, but they usually require a previously made UV map (which I don't have since the model has been imported) or suggest simply texturing it after the UV map has been made (again, not really an option).

Is there a solution for this? Or am I missing something? I'm still relatively new to blender, so the later option is entirely possible.
The coordinates you are using before uv unwrapping are called "generated" coordinates, and they aren't actually destroyed by unwrapping, just swapped out. If you look at the node setup you're using to make the procedural texture you started with, you'll notice the textures have inputs for the coordinate mapping. It's possible to manually set them back to generated coordinates without discarding your uv map, allowing you to bake the textures as originally designed.