# How to mount pak files without breaking the loading of other assets?

**URL:** <https://forums.unrealengine.com/t/how-to-mount-pak-files-without-breaking-the-loading-of-other-assets/2104846>\
**Category:** C++\
**Tags:** unreal-engine, question\
**Created:** [November 4, 2024, 7:10pm UTC](https://forums.unrealengine.com/t/how-to-mount-pak-files-without-breaking-the-loading-of-other-assets/2104846 "2024-11-04T19:10:52Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![NicolasDev84](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NicolasDev84](https://forums.unrealengine.com/u/NicolasDev84)\
**Post date:** [November 6, 2024, 2:19pm UTC](https://forums.unrealengine.com/t/how-to-mount-pak-files-without-breaking-the-loading-of-other-assets/2104846/4 "2024-11-06T14:19:33Z")

</div>

Thank you for your time and your detailed answer. 🙂

My initial misunderstanding was to think that registering a mount point would preserve the previous ones, and that loading a mesh/texture file with “/Game/” in its path would make Unreal Engine look in all registered mount points.

I didn’t try the plugin method for now because I feared it would be more complicated (as suggested in this [topic](https://forums.unrealengine.com/t/in-unreal-5-whats-the-definitive-way-of-supporting-user-generated-content/1529487/3) where the developer created a subsystem) but I will have a look. I just want to avoid extra developments.

> [@Chatouille](#):
>
> Since you are loading PAKs from other projects into yours, I assume those PAKs are not encrypted, or that you have already decrypted them. That means you have capability to unpak and repak assets. This will not help you remap references between assets, however by doing that you can change the real path of files within the PAK. So instead of having files at `../../../OtherProject/Content/something` you can repak them at `../../../YourProject/Content/something`. With that, the content from both your main PAK and the inspected PAK should be reachable simultaneously from the standard `/Game/` root.

They are indeed not encrypted. For now we generate these pak files ourselves (our users may need to do it too later).  
I was naive but I thought it was possible to change the location of files in the pak by simply using the last argument of `FPakPlatformFile::Mount(const TCHAR* InPakFilename, uint32 PakOrder, const TCHAR* InPath)`

> [@Chatouille](#):
>
> Disable texture streaming. This should at least correct the error you are getting. Maybe there’s streaming for Mesh LOD as well though, not sure. Maybe it can be disabled as well.

I prefer not doing this because we want to take advantage of all optimizations of Unreal Engine.

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-mount-pak-files-without-breaking-the-loading-of-other-assets/2104846)._
