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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

[Bug] TMap not getting default struct values

Firstly, I have been able to recreate this bug in a fresh project.

If you create a custom enum, and a custom struct, using the enum as a key and the structas a value, the default values of the struct are ignored


Here is the set up:

The default values for NewUserDefinedStruct are 5, and 5.4000, but, when printing, returns only zeros.

However, if you add a new member with said enum value, it works perfectly fine, as such:


By dragging off the pin and using MakeNewUserDefinedStruct it creates the default variables, so it isn't two much of a pain, and there's a few ways to compact everything with variables, or splitting structs instead of breaking them, to make it more clean and dense, or even create a function in a function library that can do this for you, but regardless, this is something I would like to be fixed.

Product Version: UE 4.15 Preview
more ▼

asked Feb 10 '17 at 03:46 PM in Bug Reports

avatar image

318 17 25 56

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

1 answer: sort voted first

Thank you for submitting a bug report. I have reproduced this issue and updated a logged report with your issue which you can find here:


You can track the report's status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

more ▼

answered Feb 13 '17 at 04:05 PM

avatar image

Thomas G ♦♦ STAFF
7k 64 4 54

(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