#Functionality Works in Editor, but not in Packaged Builds

1 messages ยท Page 1 of 1 (latest)

prisma oriole
#

I set up some logic on the player character to check the active widget index. If it's 0, then toggle the pause widget.
Then on the pause menu, if the player presses 'ESC', it will set the index to 0 if it isn't already.
This way, if the player is in the audio menu, 'ESC' will take them back to the first menu instead of closing.

So if a user presses 'ESC' it opens this menu. and if they hit it again, it closes it.
If the player clicks 'Audio', it opens the 'Audio' Menu

The way it works in editor is that if the player is in 'Audio' and presses 'ESC', it will take them back to the first pause menu instead of closing the menu

but in packaged builds, it only closes the menu

Any idea why this is?

#

I'm not getting any errors in the build log

#

or warnings

#

The widgets are User Widgets

prisma oriole
#

For anyone else that might have this issue:

So I pinpointed the issue to being due to the branch on the enhanced input.
So, I moved the functionality off of the enhanced input and moved it onto the function that it calls. Toggle Pause Widget.

Now it works in packaged builds

#

So I'd recommend keeping the enhanced inputs as simple as possible.