Error saving UAssetUserData on StaticMesh

duke22
Thu, 31 Mar 2016 02:37:18 +0000
Asset Creation

I’m trying to add a custom UAssetUserData class to a static-mesh. This goes well up until the point I try to save the asset:

The class itself is pretty simple:

#pragma once

#include "Engine/AssetUserData.h"
#include "Engine/StaticMesh.h"

#include "OrbiverseStaticMeshData.generated.h"

UCLASS()
class ORBIVERSECORE_API UOrbiverseStaticMeshData
	: public UAssetUserData
{
	GENERATED_BODY()

public:
	UPROPERTY(BlueprintReadOnly, EditAnywhere)
	float LightmapTexelDensity;
};

2 posts - 1 participant