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"

asset manager loads all specified primary assets when project starts

Hi.

I used asset manager and set primary assets type to scan in order to be able to load them at runtime but asset manager loads all levels when project starts

Product Version: UE 4.20
Tags:
more ▼

asked Oct 21 '18 at 09:01 PM in Using UE4

avatar image

saeedc
2.3k 71 39 102

avatar image Steve SybrSyn Oct 21 '18 at 09:05 PM

I beleive this is the default behavior, you can create your own asset manager class and customize it to your specific needs.

If you havent seen this then it might help: https://docs.unrealengine.com/en-us/Engine/Basics/AssetsAndPackages/AssetManagement

avatar image saeedc Oct 22 '18 at 09:10 AM

I cannot find a clear example that shows how to register and load primary assets at runtime. there is only one piece of code showing how they do this in fortnite which is not useful for me.

do you know any straight forward example that clearly shows how I can async load a level at runtime.

avatar image saeedc Nov 07 '18 at 10:17 AM

thanks. convert your last comment to answer, so I can mark it as resolved :)

avatar image Steve SybrSyn Nov 07 '18 at 03:18 PM

No problem, you are welcome!

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I'm not sure about this because levels are considered primary and auto loaded. I know you can call Async Load on a primary asset id. Also maybe what your looking for is the asset register & object libraries?

This is about async loading assets:

http://api.unrealengine.com/INT/Programming/Assets/AsyncLoading/index.html

I have used this to help find assets in the content browser as well:

http://deliciouscookieproduction.com/assetregistry/

more ▼

answered Oct 24 '18 at 12:43 AM

avatar image

Steve SybrSyn
1.4k 4 5 9

(comments are locked)
10|2000 characters needed characters left
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