Issues when packaging project.

Please help me, how can i fix this errors.

LogAutomationTest: Error: Condition failed
LogAutomationTest: Error: Condition failed
LogBlueprint: Error: [AssetLog] E:\Unreal Projects\PLatformer_game\Content\Bluiprint\WP_OptionMenu.uasset: [Compiler] This blueprint (self) is not a GameUserSettings, therefore ’ Target ’ must have a connection.
LogBlueprint: Error: [AssetLog] E:\Unreal Projects\PLatformer_game\Content\Bluiprint\WB_MainMenu.uasset: [Compiler] This blueprint (self) is not a GameUserSettings, therefore ’ Target ’ must have a connection.
PIE: Error: SetInputMode_GameOnly expects a valid player controller as ‘PlayerController’ target
PIE: Error: SetInputMode_GameOnly expects a valid player controller as ‘PlayerController’ target
LogBlueprint: Error: [AssetLog] E:\Unreal Projects\PLatformer_game\Content\Bluiprint\WB_MainMenu.uasset: [Compiler] This blueprint (self) is not a PlayerController, therefore ’ Target ’ must have a connection.
LogBlueprint: Error: [AssetLog] E:\Unreal Projects\PLatformer_game\Content\Bluiprint\WB_MainMenu.uasset: [Compiler] Variable node Set bShowMouseCursor uses an invalid target. It may depend on a node that is not connected to the execution chain, and got purged.

1 Like

Hi @garoukosmik , if you could please put a screenshot or snippet of your code that would be great in helping us identify and troubleshoot with you.

Hey there @garoukosmik! Welcome to the community! Looks like you have a couple errors that stem from your blueprints. The errors state a couple of things:


LogBlueprint: Error: [AssetLog] E:\Unreal Projects\PLatformer_game\Content\Bluiprint\WP_OptionMenu.uasset: [Compiler] This blueprint (self) is not a GameUserSettings, therefore ’ Target ’ must have a connection.
LogBlueprint: Error: [AssetLog] E:\Unreal Projects\PLatformer_game\Content\Bluiprint\WB_MainMenu.uasset: [Compiler] This blueprint (self) is not a GameUserSettings, therefore ’ Target ’ must have a connection.

What this means is that in your blueprints WP_OptionMenu and WB_MainMenu, you did not set the Target of a node that needs to be referencing a GameUserSettings.


PIE: Error: SetInputMode_GameOnly expects a valid player controller as ‘PlayerController’ target
PIE: Error: SetInputMode_GameOnly expects a valid player controller as ‘PlayerController’ target
LogBlueprint: Error: [AssetLog] E:\Unreal Projects\PLatformer_game\Content\Bluiprint\WB_MainMenu.uasset: [Compiler] This blueprint (self) is not a PlayerController, therefore ’ Target ’ must have a connection.
LogBlueprint: Error: [AssetLog] E:\Unreal Projects\PLatformer_game\Content\Bluiprint\WB_MainMenu.uasset: [Compiler] Variable node Set bShowMouseCursor uses an invalid target. It may depend on a node that is not connected to the execution chain, and got purged.

For the remaining errors, it seems you are also attempting to use SetInputMode_GameOnly and bShowMouseCursor inside of WB_MainMenu without referencing a PlayerController. All of these commands require a valid player controller reference.