Packaging error while using setter method in blueprint
Hello! Every day I package my multiplayer game and test it with others but for some reason, today it returned me an error while packaging:
The reason for this error was a bit above in the log:
The thing is: I have two blueprint classes. First one is a character class, which has a "CurrentWeapon" variable, which holds the reference to the instance of a child class of my WeaponBaseClass. In my character class, there is a setter method that sets the "CurrentWeapon" variable with argument name "NewCurrentWeapon". I use this setter in my weapon class. So when I connect the self-reference node to setter argument I get the error above (it wasn't there until today), but when I manually set this variable from inside my weapon class it works just fine. Note that it also compiles fine while I am in the editor.
Follow this question
Once you sign in you will be able to subscribe for any updates here