Home c++ UE4 broke the BluePrint editor

UE4 broke the BluePrint editor

Author

Date

Category

Faced such a problem that if you create a blueprint, it is all good to open it, but if you close and reappear, all tabs disappear. There is no ViewPort on the Window menu and a lot more. Previously, this problem was not, perhaps this is due to the fact that I am inheritance from C++ class, but I tried to create a BP from Actor also (

Shrine:

Here is the implementation of C++ class, from which inheritance:
MyACTOR.H:

// Fill Out Your Copyright Notice In The Description Page of Project Settings.
#Pragma OCE
#Include "Coreminimal.h"
#Include "gameframework / actor.h"
#include "Components / StaticMeshcomponent.h"
#include "MyActor.Genhed.h"
UCLASS ()
Class Project_api Amyactor: Public Aactor
{
  Generated_body ()
Public:
  // Sets Default Values ​​for This Actor's Properties
  Amyactor ();
Protected:
  // Called WHEN THE GAME STARTS OR WHEN SPAWNED
  Virtual void beginplay () Override;
Public:
  // Called Every Frame
  Virtual Void Tick (Float DeltaTime) Override;
  UPROPERTY (Editanywhere, BluePrintreadWrite, Category = "My")
    Uscenecomponent * scene;
  UPROPERTY (Editanywhere, BluePrintreadWrite, Category = "My")
    USTATICMESHCOMPONENT * MainObject;

};

myactor.cpp:

// Fill Out Your Copyright Notice In The Description Page of Project Settings.
#Include "Myactor.h"
// Sets Default Values
Amyactor :: amyactor ()
{
  // Set This Actor to Call Tick () Every Frame. You can Turn This Off to Improve Performance If You Don't Need It.
  Primaryactortick.bcanevertick = TRUE;
  Scene = CreateDefaultSubobject & LT; USCEneComponent & GT; (Text ("Scene"));
  MainObject = CreateDefaultSubobject & lt; USTATICMESHCOMPONENT & GT; (Text ("Main Object"));
  Rootcomponent = scene;
  MainObject- & gt; SetupatTachment (rootcomponent);
}
// Called WHEN THE GAME STARTS OR WHEN SPAWNED
void amyactor :: beginplay ()
{
  Super :: beginplay ();
}
// Called Every Frame
Void Amyactor :: Tick (Float DeltaTime)
{
  Super :: Tick (Deltatime);
  MainObject- & gt; AddRelativeTelocation (FVector (0, 0, 3), false);
}

Right now 100% there are people who vote against the question for no reason! If you vote, write in the comments that you do not like in the question!

p.s. I google, with such a problem someone came across, but the site is not available (

UPD1: Restarting the engine problem did not solve ((

Waiting for your help! Thanks in advance!)

UPD: It will be better to say that the BluePrint editor broke after re-run


Answer 1, Authority 100%

Faced the same problem, it seemed to have found a solution. If you open the class defaults in the class there will be such a signature:

If you poke on “Open Full Blueprind Editor”, then everything opens


Answer 2, Authority 33%

Most likely the problem is not in your class, but in the engine, I suspect it just a jag bug, try to do the following:

  1. Close the engine and delete the Intermediate and Saved folders they are in the project folder
  2. Run the project and if the problem did not decide to recreate the class and repeat the previous item.

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions