It compiles, but when I open the editor, I get this error message:
Default Property warnings and errors:
Error: CDO Constructor: Failed to find /Game/Blueprints/Blueprint_CameraBob
I have no idea what I did wrong. I made sure there was no typo in the path name and just to be extra sure, I went into my player character blueprint and tried referencing Blueprint_CameraBob in there, but the editor won’t find it/accept it. Both the variable CameraBob and the blueprint inherit from UCameraShake. I’m really lost here.
I looked at the callstack a second time and noticed that the second ’ was missing. Now the editor doesn’t crash anymore, but I’m getting the exact same problem as my original question described.
This could be a silly question, but have you verified that your Blueprint is actually located in your /Game/Blueprints/ folder? I created a setup very similar to yours and it worked fine. On a hunch, I moved the Blueprint to a different folder, and I started getting the same warning message you described. When I moved it back into that folder, the warning message went away and everything worked fine again.
Also, the missing ' was entirely my fault. Sorry about that.
I guess I shouldn’t have posted this question in the C++ section because the problem isn’t just in my code. In the editor, I tried referencing the CameraBob blueprint in my player blueprint and nothing shows up in the drop down menu and just to be sure, I tried dragging the blueprint over to the drop down menu and it won’t accept it. I just get a red box.