Spaces not displayed for UProperties defined in code

Is it just something messed up in my editor prefs or maybe it was always like this?
When I add UProperty like this…

    	UPROPERTY(EditAnywhere, BlueprintReadWrite)
    		UAtmosphericFogComponent* AtmosphericFog;

… variable name displayed in blueprint Details is “AtmosphericFog” without spaces.

I’d expect autoformatting, adding spaces in front of every capital letter (expect the first one). It’s displayed correctly when I put variable ref into graph.

Also it works fine for function names.
Of course every other UProperty defined in code looks like this.

So… is it just me? Just “my” bug? :wink:

Seems so. I double checked some of my exposed members, and they all look fine in the details panel and in the graph.

Hello ,

I tried reproducing what you’re saying but I’m seeing the name with a space in the Blueprint Editor’s details panel as well as the details panel when clicking on an instance of the blueprint in the level editor. Are you talking about the name in the Components list perhaps? If so, spaces are never present here and that is expected.

Nope, I have “issue” in Details.
Have no idea how to find repro. Tried to remove entire common cache in Users. Emptied by project settings. No results :wink:

Is it something messed up in my compilation process? Build settings, VS 2017? Whatever?

Of course it’s truly minor issue. I’m more interesting in finding cause than just solving this :smiley:

On Editor preferences, have this checkbox active:

133485-uenicenames.png

Yep, this was always checked :wink:

In this case, you can do this to solve your issue:

UPROPERTY(Category = Rendering, EditAnywhere, BlueprintReadWrite, meta = (DisplayName = "Atmospheric Fog"))
UAtmosphericFogComponent* AtmosphericFog;

Btw, always set a category for your UProperties.

It doesn’t help either. It’s just displays row name :wink:

Yep, I do set category. Clean it up for public view :wink: