After making a few new folders and moving assets around in my project, when I try and debug my project from Visual Studio, I get an unhanded exception and my project will not load, commenting out the line that Visual Studio highlights, causes the project to build successfully, that line is for the custom GameState for my project, but I am currently not using that for custom functionality, at the moment, the editor complains that it cannot locate the GameState, but still loads up the project as intended, but then the log pops up with these messages:
Info Failed to load
/Game/Blueprints/Actors/PIBotAssets/PIBot.PIBot_C
Referenced by PIBot_C Error
/Game/Blueprints/QuestCharAnimBlueprint
: Can’t find file for asset.
/Game/Blueprints/Actors/IdleRun_TPP
Info Failed to load
/Game/Blueprints/Actors/IdleRun_TPP.IdleRun_TPP
Referenced by QuestCharAnimBlueprint_C
Property
/Script/Engine.AnimNode_BlendSpacePlayer:BlendSpace
Error /Game/Blueprints/MyCharacter :
Can’t find file for asset.
/Game/Blueprints/Actors/IdleRun_TPP
Info Failed to load
/Game/Blueprints/Actors/IdleRun_TPP.IdleRun_TPP
Referenced by
AnimGraphNode_BlendSpacePlayer_9
Property
/Script/Engine.AnimNode_BlendSpacePlayer:BlendSpace
Error /Game/Blueprints/MyCharacter :
Can’t find file for asset.
/Game/Blueprints/Actors/HeroTPP Error
/Game/Blueprints/MyCharacter : Can’t
find file for asset.
/Game/Blueprints/GameModeAssets/PlayerHUD
Info Failed to load
/Game/Blueprints/GameModeAssets/PlayerHUD.PlayerHUD_C
Referenced by PlayerHUDWidget Info
Failed to load
/Game/Blueprints/GameModeAssets/PlayerHUD.PlayerHUD_C
Referenced by MyCharacter Property
/Script/Engine.Blueprint:BPVariableDescription.VarType
Info Failed to load
/Game/Blueprints/Actors/HeroTPP.HeroTPP
Referenced by CharacterMesh0 Property
/Script/Engine.SkinnedMeshComponent:SkeletalMesh
Error /Game/Blueprints/QuestGameState
: Can’t find file for asset.
/Game/GameStateAssets/QuestGameState
Info Failed to load
/Game/GameStateAssets/QuestGameState.Default__QuestGameState_C
Referenced by
Default__QuestGameState_C Info Failed
to load
/Game/GameStateAssets/QuestGameState.QuestGameState
Referenced by QuestGameState Info
Failed to load
/Game/GameStateAssets/QuestGameState.QuestGameState_C
Referenced by QuestGameState_C Error
/Game/Blueprints/QuestGameMode : Can’t
find file for asset.
/Game/Blueprints/GameModeAssets/QuestGameMode
Info Failed to load
/Game/Blueprints/GameModeAssets/QuestGameMode.Default__QuestGameMode_C
Referenced by Default__QuestGameMode_C
Error /Game/Maps/MainMenu : Can’t find
file for asset.
/Game/Blueprints/GameModeAssets/QuestGameMode
Info Failed to load
/Game/Blueprints/GameModeAssets/QuestGameMode.QuestGameMode
Referenced by QuestGameMode Info
Failed to load
/Game/Blueprints/GameModeAssets/QuestGameMode.QuestGameMode_C
Referenced by QuestGameMode_C Error
Failed import for
BlueprintGeneratedClass
/Game/Blueprints/QuestGameMode.QuestGameMode_C
[redirection] in /Game/Maps/MainMenu
Error /Game/Maps/MainMenu : Can’t find
file for asset.
/Game/GameStateAssets/QuestGameState
Error Failed import for
BlueprintGeneratedClass
/Game/Blueprints/QuestGameState.QuestGameState_C
[redirection] in /Game/Maps/MainMenu
Error /Game/Blueprints/MainMenu :
Can’t find file for asset.
/Game/Blueprints/GameModeAssets/MainMenu
Info Failed to load
/Game/Blueprints/GameModeAssets/MainMenu.Default__MainMenu_C
Referenced by Default__MainMenu_C
Error /Game/Maps/MainMenu : Can’t find
file for asset.
/Game/Blueprints/GameModeAssets/MainMenu
Info Failed to load
/Game/Blueprints/GameModeAssets/MainMenu.MainMenu
Referenced by MainMenu Info Failed to
load
/Game/Blueprints/GameModeAssets/MainMenu.MainMenu_C
Referenced by MainMenu_C Error
/Game/Blueprints/PlayerHUD : Can’t
find file for asset.
/Game/Blueprints/GameModeAssets/PlayerHUD
Info Failed to load
/Game/Blueprints/GameModeAssets/PlayerHUD.Default__PlayerHUD_C
Referenced by Default__PlayerHUD_C
Error /Game/Maps/MainMenu : Can’t find
file for asset.
/Game/Blueprints/GameModeAssets/PlayerHUD
Info Failed to load
/Game/Blueprints/GameModeAssets/PlayerHUD.PlayerHUD
Referenced by PlayerHUD Info Failed to
load
/Game/Blueprints/GameModeAssets/PlayerHUD.PlayerHUD_C
Referenced by PlayerHUD_C Error Failed
import for
WidgetBlueprintGeneratedClass
/Game/Blueprints/MainMenu.MainMenu_C
[redirection] in /Game/Maps/MainMenu
Error Failed import for
WidgetBlueprintGeneratedClass
/Game/Blueprints/PlayerHUD.PlayerHUD_C
[redirection] in /Game/Maps/MainMenu
Error /Game/Blueprints/PIBot : Can’t
find file for asset.
/Game/Blueprints/Actors/PIBotAssets/PIBot
Info Failed to load
/Game/Blueprints/Actors/PIBotAssets/PIBot.PIBot
Referenced by PIBot
30 log messages in total, about what the editor cannot find/load.
In windows explorer though, I can see all the files in the locations where they are supposed to be (the correct folders, hopefully), but the editor cannot find/load them, saying they are not where it thinks they were, as I restructured the folders, as I thought that this may allow it to find the previous, 3 assets, that it could not find.
So, would anyone have any advice on how to give the editor the correct references to files? Or how to solve, something else that is causing this problem.
Please tell me if you require more information, to be able to help me with this problem, my greatest thanks.
Edit: After modifying the file layout for my game, I now get 26 errors instead of 30, I will try some more swapping around of files a bit later.
Edit: I had to work off of an old version of the project, but now it only shows 4 errors, instead of 26, “Failed to import asset”, the asset being; the PlayerHUD UMG Widget Blueprint, this asset is in the correct file location, but it cannot be imported properly when I start the debugger from Visual Studio, to load up the project in the UE4 Editor. I may have to start from scratch with a few assets.