Unreal Blueprint - Set W/Notify Regression
Posted: 08 Jul 2022, 20:36
It appears that if I reference Noesis views within game project settings (custom developer settings) then if I add any Noesis Set W/Notify nodes within the referenced views they regress after engine restart (the set nodes delete themselves)
Settings.h
Settings.cpp
Possibly the cause?
The settings are then loaded into a component attached to the player controller. The UI component is simple and essentially just stores the classes from the game settings on construct and then add them to viewport via some functions
Am I doing something wrong here, is it intended and possibly just how unreal and plugins work? I was incredibly confused as to why they were just getting deleted. I thought it might have been an issue with asset monitoring but no. It appears if I reboot the engine without the game settings referencing any views then the nodes stay. The nodes delete only on engine start.
Settings.h
Code: Select all
#pragma once
#include "CoreMinimal.h"
#include "Engine/DeveloperSettings.h"
#include "PlushieSettings.generated.h"
/**
* Global settings for the Plushie Game.
*/
UCLASS(Config=Game, defaultconfig, meta=(DisplayName="Plushie Developer Settings"))
class PLUSHGAME_API UPlushieSettings : public UDeveloperSettings
{
GENERATED_BODY()
public:
// UI Settings
UPROPERTY(Config, EditAnywhere, BlueprintReadOnly, Category=UI)
TSubclassOf<UUserWidget> MainMenuView;
UPROPERTY(Config, EditAnywhere, BlueprintReadOnly, Category=UI)
TSubclassOf<UUserWidget> HostGameMenuView;
UPROPERTY(Config, EditAnywhere,BlueprintReadOnly, Category=UI)
TSubclassOf<UUserWidget> ServerListMenuView;
UPROPERTY(Config, EditAnywhere, BlueprintReadOnly, Category=UI)
TSubclassOf<UUserWidget> OptionsMenuView;
};
Code: Select all
#include "PlushieSettings.h"Code: Select all
Log LogLinker [AssetLog] C:\Users\Kyle\Documents\Unreal Projects\PlushGame\Content\UI\GUI\MainMenu\MainMenuView.uasset: Failed to load '/Script/NoesisBlueprint': Can't find file.
Log LogLinker [AssetLog] C:\Users\Kyle\Documents\Unreal Projects\PlushGame\Content\UI\GUI\MainMenu\MainMenuView.uasset: Failed to load '/Script/NoesisBlueprint': Can't find file.
Log LogLinker Failed to load '/Script/NoesisBlueprint': Can't find file.
Log LogLinker Failed to load '/Script/NoesisBlueprint': Can't find file.
Log LogLinker [AssetLog] C:\Users\Kyle\Documents\Unreal Projects\PlushGame\Content\UI\GUI\MainMenu\MainMenuView.uasset: Failed to load '/Script/NoesisBlueprint': Can't find file.
Log LogLinker [AssetLog] C:\Users\Kyle\Documents\Unreal Projects\PlushGame\Content\UI\GUI\MainMenu\MainMenuView.uasset: Failed to load '/Script/NoesisBlueprint': Can't find file.
Log LogLinker [AssetLog] C:\Users\Kyle\Documents\Unreal Projects\PlushGame\Content\UI\GUI\ServerListMenu\ServerListMenuView.uasset: Failed to load '/Script/NoesisBlueprint': Can't find file.
Log LogLinker [AssetLog] C:\Users\Kyle\Documents\Unreal Projects\PlushGame\Content\UI\GUI\ServerListMenu\ServerListMenuView.uasset: Failed to load '/Script/NoesisBlueprint': Can't find file.
Log LogLinker Failed to load '/Script/NoesisBlueprint': Can't find file.
Log LogLinker Failed to load '/Script/NoesisBlueprint': Can't find file.
Log LogLinker [AssetLog] C:\Users\Kyle\Documents\Unreal Projects\PlushGame\Content\UI\GUI\ServerListMenu\ServerListMenuView.uasset: Failed to load '/Script/NoesisBlueprint': Can't find file.
Log LogLinker [AssetLog] C:\Users\Kyle\Documents\Unreal Projects\PlushGame\Content\UI\GUI\ServerListMenu\ServerListMenuView.uasset: Failed to load '/Script/NoesisBlueprint': Can't find file.
Log LogLinker [AssetLog] C:\Users\Kyle\Documents\Unreal Projects\PlushGame\Content\UI\GUI\ServerListMenu\ServerListMenuView.uasset: Failed to load '/Script/NoesisBlueprint': Can't find file.
Log LogLinker [AssetLog] C:\Users\Kyle\Documents\Unreal Projects\PlushGame\Content\UI\GUI\ServerListMenu\ServerListMenuView.uasset: Failed to load '/Script/NoesisBlueprint': Can't find file.
Log LogLinker [AssetLog] C:\Users\Kyle\Documents\Unreal Projects\PlushGame\Content\UI\GUI\ServerListMenu\ServerListMenuView.uasset: Failed to load '/Script/NoesisBlueprint': Can't find file.
Log LogLinker [AssetLog] C:\Users\Kyle\Documents\Unreal Projects\PlushGame\Content\UI\GUI\ServerListMenu\ServerListMenuView.uasset: Failed to load '/Script/NoesisBlueprint': Can't find file.
Am I doing something wrong here, is it intended and possibly just how unreal and plugins work? I was incredibly confused as to why they were just getting deleted. I thought it might have been an issue with asset monitoring but no. It appears if I reboot the engine without the game settings referencing any views then the nodes stay. The nodes delete only on engine start.