ProjectBorealis / PBCharacterMovement

HL2-style, classic FPS movement for Unreal Engine implemented in C++

Home Page:https://www.projectborealis.com/movement

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Works fine in editor, not after launching/packaging

axel37 opened this issue · comments

commented

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
    PBcharactermovement_error

Using Unreal Engine 4.22.3, if this is of any importance...

commented

Make sure you've set your launch profile to build the game.

commented

I am sorry but I'm not quite sure of what you're asking me.
However, after changing some launch settings, this happened :
PBcharactermovement_plugin_properly_installed
That might be related to the previous issue, or me changing the wrong settings

Edit : The plugin does appear in Edit > Plugins

commented

How are you launching the game? You need to make sure that in your launch settings, you have the "Build" step checked.

commented

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

commented

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"
image

commented

Will try to check this out soon, but we have limited time so it might take a bit.

commented

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.

commented

It is a Blueprint project.

commented

@axel37 Could you try converting it to a C++ project?

@axel37 Could you try converting it to a C++ project?

I was also having this issue and converting to a C++ project fixed it.
Thanks!