Download

Animation Budget Blueprint Exposure Causing Python Stubs Syntax Error in Unreal 4.23.1

Sorry if this has already been mentioned, or perhaps fixed in a later version.
I did a cursory search first.
This is an issue in the stubs files generated in Unreal 4.23.1

However when stubs are generated for the AnimationBudgetAllocator the python class gets generated as “class Animation Blueprint(”
the space in the name being an issue. I went and looked at this file:
Engine\Plugins\Runtime\AnimationBudgetAllocator\Source\AnimationBudgetAllocator\Private\AnimationBudgetBlueprintLibrary.h
and it looks like there are spaces defined for script name.
Sorry I am hot and fresh on the Unreal development and getting python setup at my new job!
I will take a look in later versions


// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.

#pragma once

#include "CoreMinimal.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "AnimationBudgetAllocatorParameters.h"
#include "AnimationBudgetBlueprintLibrary.generated.h"

/**
* Function library to expose the budget allocator to Blueprints
*/
UCLASS(meta = (ScriptName = "Animation Budget"))
class UAnimationBudgetBlueprintLibrary : public UBlueprintFunctionLibrary
{
GENERATED_BODY()

/**
* Enable/disable the animation budgeting system.
* Note that the system can also be disabled globally via CVar, which overrides this setting.
*/
UFUNCTION(BlueprintCallable, Category = "Animation Budget", meta=(WorldContext="WorldContextObject"))
static void EnableAnimationBudget(UObject* WorldContextObject, bool bEnabled);

/**
* Set the parameters of the animation budgeting system.
* Note that the parameters can also be set globally via CVar.
*/
UFUNCTION(BlueprintCallable, Category = "Animation Budget", meta=(WorldContext="WorldContextObject"))
static void SetAnimationBudgetParameters(UObject* WorldContextObject, const FAnimationBudgetAllocatorParameters& InParameters);
};