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:

GameMode (Engine) <-- RTS2GameMode (C++) <-- RTS2GameModeBP (BP)
Pawn (Engine) <-- PlayerCamera (C++) <-- PlayerCameraBP (BP)
PlayerController (Engine) <-- PlayerCameraController (C++) <-- PlayerCameraControllerBP (BP)
MovementComponent (Engine) <-- CameraMovementComponent (C++)

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][3] if anyone wants to take a look.

Hello, Syneh

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!

I made a backup of my project before I upgraded it. I tested it on 4.8 just to see if it was fixed in that but it was not. I’m using the original project on 4.7.6 at the moment (The download is also for 4.7.6).

Also I can’t reparent the blueprint because it is not openable (I get the error on the first image).