Hello, I am working on a project and am getting an error when creating a variable in a c++ class that a blueprint class inherits from. I have added some screenshots of the error and the file it is pointing to. I have attempted some solutions that other MSB3075 errors have be fixed by but have not been successful. I have added a screenshot of the variable that I added, the output, and the error list with the batch file it is pointing to. Thank you for any suggestions for a solution you may have.
Hi AJenness,
The source of the issue is actually a few lines above the error message in the 2nd image you posted: BlueprintReadWrite should not be used on private members
Either change the access for that portion of the class to public, or use different specifiers for your UPROPERTY
.
Thank you that was the issue.