Works fine in editor, not after launching/packaging
axel37 opened this issue · comments
Hello !
First, I want to mention that I'm new to Unreal, and I'm posting here as a last resort because I could not solve this myself.
After following the instructions (more or less), I managed to get this working... only in the editor.
When I launch or package the project, I get issues... So far, I've tried setting it up in 2 different ways (it works fine in the editor either way).
-
Using the PBPlayerCharacter as default pawn class :
Game seems to work fine, but receives no input. I'm unable to move or look around.
I can still open the console and use it. -
Creating a blueprint from PBPlayerCharacter and using it as default pawn class :
Unable to launch the game, this error comes up
Using Unreal Engine 4.22.3, if this is of any importance...
Make sure you've set your launch profile to build the game.
How are you launching the game? You need to make sure that in your launch settings, you have the "Build" step checked.
How are you launching the game? You need to make sure that in your launch settings, you have the "Build" step checked.
https://docs.unrealengine.com/en-US/Engine/Deployment/ProjectLauncher/index.html
At first, I was launching it from the toolbar. I also used the project launcher to create a new profile (and to make sure the build step was checked). However, I am still getting the same error.
The log might help.
Also, here's a screenshot of the project launcher after "completion"
Will try to check this out soon, but we have limited time so it might take a bit.
Is this a C++ project, or a Blueprint project? If it is a C++ project, you may have to add PBCharacterMovement as a dependency in your Build.cs.
It is a Blueprint project.