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"

PlayerState CopyProperties not exposed to blueprints

I've been researching how to persist data across ServerTravel's, and the main method seems to be overriding the 'CopyProperties' in the 'PlayerState' class. As shown: https://answers.unrealengine.com/questions/43814/playerstate-persistence-across-map-change.html https://answers.unrealengine.com/questions/303795/transfer-playerstate-data-during-seamless-travel.html

The problem is, Blueprints still haven't exposed this key function/event, even though without it Blueprints are missing a KEY networking component.

Can this please be rectified already, its soon late 2016, and data persistence in Blueprints is still not a thing.

Product Version: UE 4.12
Tags:
more ▼

asked Jul 28 '16 at 03:51 AM in Blueprint Scripting

avatar image

FireFreak111
31 1 2 6

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

1 answer: sort voted first

As of Unreal Engine 4.14, CopyProperties is now exposed to blueprints. I was able to override it in a derived player state class. However, if you add additional properties to the custom player state, make sure you mark them as "Editable" (checkbox). For some reason it does not work if you don't do this.

more ▼

answered Dec 11 '16 at 09:01 PM

avatar image

lotodore
216 9 16 22

avatar image TimB Jan 04 '17 at 11:05 PM

Thanks for the "Editable" advice, that fixed my issue.

(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