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"

Possible bug with level streaming and owners

Hey there.

After a couple of hours of trial and error I've discovered what could be a bug with level streaming and owners.

If you spawn an actor from a class and set it's owner using the input pin, the actor will be placed in the streaming level of this owner (instead of the actor that spawns it).

However if you set the owner of the actor after it spawns, it stays in its current level and doesn't change to the streaming level of the new owner. Can confirm this is the case with a fresh project.

Does anyone know if this is working as intended? If it is I'm disappointed that you can't change the streaming level of the actor in this way, as there doesn't seem to be any way to do it in blueprints once it's been spawned (other then cloning the actor, which isn't really the same for performance and other reasons).

The project I've been working on uses streaming levels pretty extensively and up until now it's been fine just changing it on spawn. I can work around this issue for now, but it would be nice if the actor's streaming level stayed consistent with its owner.

If anyone knows any way to change an actor's streaming level in blueprints once it's been spawned, without cloning the entire thing, please let me know.

Thanks.

Product Version: UE 4.21
Tags:
more ▼

asked Jan 19 '19 at 05:20 PM in Using UE4

avatar image

Kriptanik
1 1 2

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

1 answer: sort voted first

No way to do it in blueprints, but you can in code. You would call Rename(*GetName(), GetWorld()->PersistentLevel); to move it to a persistent level, or you can get the specific level name you want to move it to. Original solution I found here: https://answers.unrealengine.com/questions/521207/change-an-objects-outer.html

more ▼

answered Aug 13 '19 at 05:55 PM

avatar image

iamshaneihaveaface
23 2 5 6

(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