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"

General Blueprint Efficiency Questions

Been a lurker on here for awhile, and very happy that the community for Unreal is so bustling and helpful. I've been able to get nearly all my issues and questions solved through here, and after about 4 months of development on my project I have a working prototype. I'm in the process of rebuilding it, knowing now much more about how to do things properly. Being a non-coder, I've built everything in blueprints and have some general questions about efficiency when working with Blueprints.

  1. Is it expensive to have a very large blueprint, even though most of it is not being called regularly? As in using many pages of graphs as opposed to using multiple blueprints and communicating between them. I notice it does slow down the editor, but wonder how much it may/may not slow down runtime play.

  2. Behavior Tree vs Blueprints; is there any specific difference in efficiency when using either to control ~50 AI at any given time? I know this will vary a lot based on the application, but with generic melee combat between say, two sides in a battle, would there be a significant gain/loss in using either compared to the other?

  3. Is there any way to adjust tick rates? Such as reducing ticks to something greater than every frame, such as every 30 frames or so.

  4. Minimizing scripts that are called every frame is a great way to reduce costs, but are there any specific nodes that are considered quite heavy and should be avoided if at all possible? (Get All Actors of Class is one, as is my understanding)

  5. When using a Pawn rather than a Character, is it possible to restrict the Pawn's movement to the navmesh (similar to walking), rather than use floating pawn movement? And is doing so less efficient, forcing line traces in order to achieve it?

  6. Is there a way to determine an individual Blueprint's runtime costs, to keep track of optimization?

Thanks in advance, hopefully the answers will help beginners develop good habits when producing blueprints as well.

Product Version: UE 4.12
Tags:
more ▼

asked Oct 26 '16 at 10:24 PM in Blueprint Scripting

avatar image

Ascent_Zieg
26 2 7

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

1 answer: sort voted first

The best answer is to check out your performance through Profiler. This will give you a great idea of where your game is slowing down, which blueprints are responsible for performance decreases, so on and so forth.

more ▼

answered Oct 27 '16 at 06:06 PM

avatar image

MajinSephiroth
1.2k 31 8 32

(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