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"

Data table gets scrambled after Enum reorder.


My animation system is using a Data Table to look up animations and associated data. But I recently noticed that the display of the data table gets scrambled and I don't know what's right and what's wrong any more which makes it extremely hard to work with.

This happens when I reorder the items in a Enum variable that I am using to identify each animation.

It seems like the table works as it should and it is just the display of it in the editor that is messed up. But it means that I don't know if I make a mistake or not when adding to the table.

Please can this one be fixed?

Also do you know a workaround? (I can't rebuild the table each time I change the enum)

Cheers Fredrik

See the mismatches on the left here!

alt text

Product Version: UE 4.14
more ▼

asked Mar 15 '17 at 05:17 PM in Bug Reports

avatar image

91 4 6 11

avatar image Doug E ♦♦ STAFF Mar 16 '17 at 01:10 PM

Hey Fredrum-

Does the enum have any connection to the data table itself? If possible, could you provide a simple setup repro or a small sample project to help me investigate the issue on my end?

avatar image Fredrum Mar 16 '17 at 03:20 PM

Hi Doug,

I just reproduced the error in a new scene like this.

Attached is a minimal file example.link text

Create your Enum. Create a Struct. Create a table.

Make a bunch of entries to the table. Add a "None" (or whatever) member of the enum, move it to the top. Add another Enum member, nove that too up a few steps.

Close down your table window. Open the table up again and it is now shifted around.

Cheers Fred

enum_test.zip (1.4 MB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hey Fredrum-

This appears to be working as intended. Using your screenshot as reference, when you set the data table ForwardDash AnimType to the enum element ForwardDash, what is happening is the field in the data table is reading from the enum's field rather than that field's value. What this means is that the data table is looking at where ForwardDash is in the enum, not at ForwardDash itself. So when the enum is reordered - the data table changes because the enum field that the data table was referencing changed.


Doug Wilson

more ▼

answered Mar 16 '17 at 08:03 PM

avatar image Fredrum Mar 16 '17 at 09:15 PM

Hmm ok yes I see what you mean. I recently re-designed that part and am actually noticing that I am no longer using the Enum in the table. I am using the same enum fed as a variable to the function to select row, but I am matching to row name and not 'AnimType'. I used to do this differently and it should have broken if it was as before. Enough rambling, User Error again! :) Thanks for your Help!

(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