Values for component properties not actually being deleted
I have a c++ component with a property exposed to the editor:
I have added this component to a blueprint class and I can edit the values of the array:
At one point I added 4 values to the array and then I deleted them and took the screenshot above.
The problem is that the 4 values that I deleted are obviously still being loaded into that array at runtime. I have verified this through on-screen debugging and by stepping through the c++ code that iterates that array.
If I change the default values pictured above they DO propagate to runtime.
If I add more values they DO NOT propogate to runtime.
The editor crashed when I removed the UPROPERTY macro and tryed to compile through the editor. It crashed again when I added the macro back and tried to compile. I was doing this in an attempt to reset whatever datastore these values are saved in.
asked Oct 14 '15 at 01:52 AM in Bug Reports
I created a new instance of the blueprint and followed your steps and everything worked correctly. The old instance still has 8 thrusters though:
The only thing I did differently when the problem started was that I used the reset button (yellow looping arrow icon) to go back from 8 to 4 thrusters. However, I tested that method with the new instance and it worked correctly. In any case, I can at least get around the problem by using a new instance.
answered Oct 15 '15 at 09:11 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here