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"

Corrupted Array after Engine Update to 4.15.1

After updating my project from 4.14.3 to 4.15.1 there was an array of strings that was corrupted and started experiencing strange behaviour.

I have a string array in a scene component that once populated with a default value(blueprint editor), viewing/editing it in the world outliner becomes impossible. Also, the arrays contents are reset to zero if the engine is closed and re opened. The only fix I have found to work is renaming any corrupted variables exhibiting the same behaviour. Another note to make is this variable is only corrupted if my scene component was derived from a specific class. Other scene components containing the same variable but with one more level of inheritance did not corrupt.

Recreation Steps and Screenshots:

  1. Open the blueprint editor containing a scene component that contains this array.

  2. Add an Element to the array and assign a string to it. Compile and Save.alt text

  3. Add this blueprint to your Map ( or it could already exist) and view the Scene component through the details panel

  4. The array is now displayed grayed out and will not show the default value assigned or allow editing.alt text

  5. At this point if the engine is closed and re opened any elements added to the array in the blueprint editor are erased and the array returns to zero but can not be edited through the world outliner.alt text

Here is the same variable being used in a different scene component (both are in the same actor blueprint, except this one has one more level of inheritance) but the array is not corrupted.alt text

System Configuration:

alt text

Product Version: UE 4.15
more ▼

asked Apr 10 '17 at 04:01 PM in Bug Reports

avatar image

26 1 3

avatar image TJ V ♦♦ STAFF Apr 12 '17 at 06:46 PM

Hi Cbarba,

I attempted to reproduce this but I was unable to get your results. Here is what I did:

  1. Create a new blank project

  2. Added a Scene Component class bp & open it

  3. Add a String variable > Make it an array > Make it editable

  4. Compile > Add Element > Add default value

  5. Compile > Save > Close it

  6. Create an actor class BP & open it

  7. Add the Scene Component

  8. Compile & save

  9. Add actor blueprint to the level

  10. Select it in the World Outliner and edit the array element in the Details panel

  11. Save all > Close the editor > Reopen the project

  12. Select the actor in the World Outliner > Look at the string array value

Results: Sting value is editable and contains the previously edited value.

Is there anything I'm missing here? In your description you mention upgrading from 4.14 to 4.15, but your steps didn't mention this. Is it required to reproduce the bug?

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

1 answer: sort voted first

Hi TJ, Yes the issue arose after I converted the project. I can't guarantee that this will reproduce it though. Not mentioning it in the steps was my mistake. I can confirm the solution I mentioned, renaming the array and compiling, has fixed the issue for me. In the case that you can not reproduce it, hopefully this will help anyone who does run into the bug. Thank You!

more ▼

answered Apr 12 '17 at 07:16 PM

avatar image

26 1 3

avatar image TJ V ♦♦ STAFF Apr 13 '17 at 02:25 PM

I at least wanted to attempt a repro after converting, but I still was unable to get the issue.

But this sounds good. I'm going to resolve the post for tracking purposes for now and hopefully if other users get this issue they will provide more info here.



(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