[Emergency] Some issue about importing resource in runtime.

Hi there,
I’m a newer in UE4.

I wanna ask how to auto import my models or other resources in a packed unreal game?
I have found “UnrealPak.exe” to use, but it seems that it just can handle uasset.
Is it possible to directly translate some resoureces from .fbx etc to .pak ,then import them into my packed game.

Hope for ur answer and thank u sincerely.

I meet same issue too !
Hope for answer.

Hi kil_lin,

I believe this is the documentation you are looking for:

Patching

If this is not what you need, please describe in greater detail what you are trying to accomplish as well as what this page does not address.

Thanks,

.

Hi ,

Thanks for answer!

I have read the Patching website before. I would like to list my issue more clearly:

  1. Our core fuction is that we want our user can post their custom model or material ( for example, .fbx, .obj file ) to us, and then we would auto update these content to the game so that the users can view them in the game. But UE4 seems that can’t import resources at runtime, especially in the packaged game. And I find patching can update content but don’t know if it works. Is there a better solution for this?

  2. I can’t find how to use patching from code in the official document, including create pak file and import resource from the pak file. Hopes that there is a code sample.

  3. I have read some quetions in the AnswerHub. And I know that there is a procedural mesh component. Maybe using the custom importer to import the resource at runtime and transfer these data to the procedural mesh component can implement our core function?

According to this post, it is not possible for UE4 to allow users to package tools …

https://answers.unrealengine.com/questions/141273/is-it-possible-to-import-audio-at-runtime.html

Since the EULA forbids the use of any of UE4’s editor tools to be reused in a product you would need to custom build your own importer.

The following links discuss possible solutions for this:

Import resources (textures and meshes) at runtime:

https://answers.unrealengine.com/questions/202627/import-ressource-at-runtime.html

Loading textures at runtime:

https://answers.unrealengine.com/questions/23440/loading-textures-at-runtime.html

Thanks for the answer! It is really helpful for me.