Player Character recieves no Input after Packaging in Persistent Sub-Level
Hello, following Situation:
I'm using Level Streaming and my Persistent Level is basically an empty level which creates a start screen widget. By pressing "Play" I load the first Sub-Level and the game starts. While I'm in editor everything works as intended. In the packaged project not so much:
After I press "Play" the Sub-Level loads but my character does not recieve any from the input mapping in the project settings. Directly assigned Keys, however, do work. By pressing D I can damage my character.
Am I somehow not controlling the right actor or something? I tried spawning a new player character after I loaded the first level and possesing him, but that did nothing.
Edit: It only happens with Level Streaming. Loading a level normally still works after packaging.
The problem was that I had the Input Handling in the Player Controller, which appareantly is wrong. Moving the Input Handling into the Player Character fixed my issue.
answered Jun 26 '17 at 09:32 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here