Loaded class losing variables when passed as a parameter
Posted: Mon Apr 27, 2020 10:49 pm
I have a class that only has basic variables such as float, string, and bool. When I pass the class as a parameter for a function some of those float values become 0 when they had just been changed. When I debug the class's values by a direct reference, the values appear as non-zeroes as they should.
This behavior doesn't occur until I load the class using ES3, so it seems to be some sort of bug/issue caused by the saving and loading process. Before the class is loaded, the values are properly retained when the class is passed around as a parameter. The class is nested within other classes so it is just saved within a list, it seems maybethere is some sort of mixup with the reference?
Kind of stumped on this one. Not sure what other details to add right now, any idea what could be causing this?
This behavior doesn't occur until I load the class using ES3, so it seems to be some sort of bug/issue caused by the saving and loading process. Before the class is loaded, the values are properly retained when the class is passed around as a parameter. The class is nested within other classes so it is just saved within a list, it seems maybethere is some sort of mixup with the reference?
Kind of stumped on this one. Not sure what other details to add right now, any idea what could be causing this?