Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

+3 votes
I use unreal engine 5.1 in my project. the motion function work well until i met a issue. that is, if the gamepad did not connect to the game before i start the game.  the gamepad cann't rumble.  how can i solve this issue, If anyone can help?
in General Discussion by yanyu w. (130 points)
I've run into the same problem, did you find a solution?
Same here with wwise 2022.1.9 and UE 4.27.2

1 Answer

0 votes
Hello I come bearing answers. It's due to the GEngine not being initialized when the WWise module is loaded, you can resolve it by replacing the following in \Plugins\Wwise\Wwise.plugin:

Before:
```
"Modules": [
        {
            "Name": "Wwise",
            "Type": "Runtime",
            "LoadingPhase": "PreLoadingScreen"
        },
```
After:
```
    "Modules": [
        {
            "Name": "Wwise",
            "Type": "Runtime",
            "LoadingPhase": "PostEngineInit"
        },
```

You need to make sure that nothing in your code is trying to Get the AKAudioDevice or unwittingly causing Wwise to initialise earlier than PostEngineInit as it can cause your program to crash. I hope this helps, it was a real head scratcher
by Aishling M. (150 points)
...