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"

Can we serialize objects that contain pointers to other objects?


My question is: is there an easy way to serialize objects that contain pointers to other object?

and If you want to read more information of what i tried (with bad english):

my first try to save/load my game was to use blueprint only and the save game object offered by the engine, but when it come to save an uobject or actor reference it only save the pointer value... we cant load object with only a pointer value right? (or am doing something wrong?)

so i was looking for some tutorial and then i found serialization in c++, i tried it too, and i managed to make serialization/deserialzation to work i can then serialize all variables of my uobjects only by checking the checkbox "savegame" but it seem that it isnt working if my object has reference to other object with a pointer the other object is not restored or serialized properly (or again am doing something wrong?) but the process work fine with simple variable boolean, integer, float,...

then i discover a c++ library named "boost" and i read that it can serialize and deserialize class with pointer to other class, but i am noob in c++, noob in english, and it seem that i am not ready to use this library in my project because i am noob and i have no idea where to start in order to use this library properly

are people stuck on save/load about this case too or i am doing something wrong and it should work even in blueprint only?

Product Version: UE 4.13
more ▼

asked Oct 02 '16 at 11:39 PM in C++ Programming

avatar image

625 42 60 88

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

0 answers: sort voted first
Be the first one to answer this question
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