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"

Struct creation error


Already, I want to say I'm French, so sorry if my english isn't very good.

I've made a struct, but when I compile, there are errors.


 // Struct for the map :
     struct FMapArrayX {
             TArray<AActor*> x;
         FMapArrayX() {}
     struct FMapArray {
             TArray<FMapArrayX> y;
         FMapArray() {}

and errors : http://pastebin.com/CcKUvNYi


Product Version: UE 4.8
more ▼

asked Jun 26 '15 at 12:50 PM in C++ Programming

avatar image

15 3 6 9

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

1 answer: sort voted first

Hey Ardakaniz-

I copied your structs into a new project and was able to compile successfully. Would it be possible for you to try using the structs in a new project and let me know how that works for you? Additionally, you may want to try removing your Intermediate folder and then rebuild the project. It will take longer to build but since it has to rebuild everything it should build the structs properly as well.


Doug Wilson

more ▼

answered Jun 26 '15 at 03:49 PM

avatar image Ardakaniz Jun 28 '15 at 12:56 PM

Thank you for your help but the problem was that I had declared my structs in a class but she should be declared outside the class...

(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