BP inheriting from C++ class which inherits from Pawn is losing its parent
I have a problem where my blueprint keeps losing its parent.
I have the following structure in project:
PlayerCamera has an instance of CameraComponent and CameraMovementComponent. Project's default gamemode is RTS2GameModeBP and the default pawn is PlayerCameraBP and default player controller is PlayerCameraControllerBP.
When I open the project in editor PlayerCameraBP loses its parent and it can't be opened.
This is the error I get when I try to open PlayerCameraBP:
This is what the tooltip says when I hover over PlayerCameraBP:
If I remove PlayerCameraBP and recreate it the same thing happens after I restart the editor. I'm using engine version 4.7.6 but I also tested it with 4.8 preview 1 and it did not fix the issue.
Here is a download link to the project if anyone wants to take a look.
asked May 10 '15 at 05:28 PM in C++ Programming
I am sorry to hear about your issue. It is most likely that it occured when you upgraded the Engine to the next version. To prevent it, please do the following:
First, please make a copy of blueprint in an old project (the one that worked). After this, reparent the Blueprint to different class (in the Blueprint Editor, select File - Reparent Blueprint).
Then, copy the Blueprint to a new project and reparent it to the appropriate class (APlayerCamera).
Hope this helped!
Have a great day!
Follow this question
Once you sign in you will be able to subscribe for any updates here