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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Replicating variable in single player

I know its a silly question but Im curios about this for optimization concerns. I am building a single player/multi player template for myself. When player chooses single player, my blueprints will ignore all multi commands etc.

Lets say I have a replicated or repnotify variable in single player. No session created. Would that variable add any additional process to CPU when compared with not replicated variable?

Product Version: UE 4.15
Tags:
more ▼

asked May 31 '17 at 12:22 PM in Blueprint Scripting

avatar image

Monster1234
20 5 7 8

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

1 answer: sort voted first

If you are not on a network, any variable marked as replicated acts as a normal variable would. There is no performance overhead or additional CPU process to worry about.

Realistically, there is no performance issue in a multiplayer environment when dealing with data.

The advice I give is to make your game run first, optimize later. I wouldn't worry about things like this unless they actually become an issue.

more ▼

answered May 31 '17 at 01:45 PM

avatar image

ImVawx ♦♦ STAFF
6.8k 114 17 127

(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