Struct that is referencing a Custom bp Class will reset to default values on editor restart
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.
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
Head over to the existing Questions & Answers thread and let us know what's up.