x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

[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.

Product Version: UE 4.12
Tags:
more ▼

asked Jul 25 '16 at 01:59 PM in Packaging & Deployment

avatar image

kil_lin
26 2 3 6

avatar image AntonyChan Jul 25 '16 at 02:22 PM

I meet same issue too ! Hope for answer.

avatar image Steve Hardister ♦♦ STAFF Jul 26 '16 at 04:49 PM

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,

Steve H.

avatar image kil_lin Jul 27 '16 at 06:42 AM

Hi Steve,

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?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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

more ▼

answered Jul 27 '16 at 03:51 PM

avatar image kil_lin Jul 28 '16 at 02:06 AM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question