I was participating in Brackeys Game Jam and missed the deadline as I was trying to package my game with no success. I uninstalled the Fab plug-in and restarted (I heard it can help with packaging). As UE5.5.1 was restarting, it froze and was stuck on 71% compiling. I’m relatively new to Unreal but looked into it and opened up the files to find out that the player blueprint was causing some kind of circular load.
The only way that I can re-open that project is if I change the name of the player blueprint in its folders. I feel like I’ve tried everything to get it to work normally again. I also can’t seem to access this faulty player blueprint, even when I alter the config. I think the specific issue was that the player was calling an instance which was calling the player, I was using something like this to help power-ups persist from level to level.
If anyone has any advice or knows any solutions please lmk.
It’s almost certainly asset chains caused by casting.
If you right-click on the player blueprint in the content browser, and choose ‘size map’, you will probably see a lot of things are loaded at the same time as the player.
Thanks! In my player blueprint I was casting to gamemode and then casting to instance. Once I removed this it fixed the issue. My player blueprint wasn’t showing at first but I could revert the blueprint’s name back to the original while the project was open and then it would appear. I also found that a good way to check to see if the project will reopen without any issues is by running the game as a Standalone while in the editor. If it’s stuck on a black screen then something’s probably still wrong but if it plays it should be good.
Just as an FYI Game mode only exists on the server in a multiplayer game. Clients cannot get a reference to it. Any attempts by a client to get GM will fail.