Description

Struct that is referencing a Custom bp Class will reset to default values on editor restart

User Description:

Making a array of object types in a struct. the goal is to have a struct containing wave information for a tower defense, with one array of integers for amount of enemies, and one array for enemy types, all deriving from the baseEnemy class.

The struct works fine until i restart the editor, when all the default values for the array containing type information is reset. the integer array remains intact. if i try to fill the array again, i can only fill the array with types i have open in the editor.

Steps to Reproduce

1. Open a new Blank bp project
2. Create a new bp actor class named BP_Actor01
3. Create a Struct and open it
4. Change the variable type to BP_Actor01 'Class' (see screenshot #1)
5. In the Default Values, chose the bp
6. Compile, save, and exit
7. Reopen the project
8. Reopen the struct

Results: The struct variable will be reset to it's default value of None

Expected: For the struct to maintain the value that was set

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.9.1
Target Fix4.11
Fix Commit2812308
Main Commit2818924
Release Commit2812308
CreatedSep 16, 2015
ResolvedDec 24, 2015
UpdatedApr 27, 2018
View Jira Issue