I just made test plugin which is based on BlankPlugin, UObjectPlugin, CableComponent samples and it’s looks like successfully loaded in plugin manager, but I can’t find any classes from plugin in ClassBrowser or on ModesTab.
Declaration of my classes:
#pragma once
#include "BlankPlugin2Object.generated.h"
/**
* Example UStruct declared in a plugin module
*/
USTRUCT()
struct FBlankPlugin2Struct
{
GENERATED_USTRUCT_BODY()
UPROPERTY()
FString TestString;
};
/**
* Example of declaring a UObject in a plugin module
*/
UCLASS()
class ABlankPlugin2Object : public AActor
{
GENERATED_UCLASS_BODY()
public:
private:
UPROPERTY()
FBlankPlugin2Struct MyStruct;
};
#pragma once
#include "PlanetoidNavMeshVolume.generated.h"
UCLASS()
class APlanetoidNavMeshVolume : public AVolume
{
GENERATED_UCLASS_BODY()
// Begin AActor Interface
virtual void PostInitializeComponents() OVERRIDE;
#if WITH_EDITOR
virtual void ReregisterAllComponents() OVERRIDE;
// End AActor Interface
// Begin UObject Interface
virtual void PostEditChangeProperty( struct FPropertyChangedEvent& PropertyChangedEvent) OVERRIDE;
// End UObject Interface
#endif // WITH_EDITOR
};
It’s looks like I forgot to register my classes somewhere or something like that, but I have no idea where.
I experience some weird problem with AVolume derived classes inside plugin as well… Exactly whenever i enable plugin that has AVolume based class it crashes engine during loading then…
Checked if it’s exactly AVolume - it is. Replaced with ABrush - it worked, but crashed later, when i tried to place the box. Tried APhysicsVolume - same as AVolume, as it’s AVolume derived class itself.