My BP class does not inherit any C++ members or functions
The only difference between this class and ones that are working is that this C++ class seems to have been created in the public/private folder rather than the parent source folder. I can't help but think this is an engine bug. I can provide pics if necessary, but my subclass is definitely not inheriting the stuff it should be, despite the C++ files being a copy/paste of one that is working, but it looks to me like it doesn't work because the files are not in the main source folder, that they were created in public/private for the .h and .cpp respectively. I would think that moving them to the right place would fix this issue, as that's the only difference between one subclass working (an older one) and the one I'm creating right now. But I can move the files but can't seem to get the engine to recognize it's moved. In the content browser it still shows my class in the sub folder.
If any specific images would help please ask, but for now this one shows that it is inheriting from that class and not getting the function to override or the float defined.
Been suffering on this one for a while.
asked Feb 21 '16 at 02:19 AM in C++ Programming
I did have Show Inheritied Variables checked.
Switching the build in visual studio from Development to Development Editor solved the problem. I had switched to development when trying to build the project for multiplayer testing.
If you are not building your project for editor apparently you cannot access c++ functions or members through blueprint? or at least not inherited ones anyway, through my experience
answered Feb 21 '16 at 08:17 PM
Have you got "Show Inherited Variables" ticked?
answered Feb 21 '16 at 11:15 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here