I’m developing a PC-based VR content using Unreal Engine 5.6. However, I’m running into a problem.
To start the game, I’ve written code to send a “hello” message to an AI so that it can begin interacting without having to listen to my voice first.
When I play this directly in the Unreal Engine editor (without packaging), it works as intended. But in the packaged build, it seems the AI doesn’t receive this message.
There’s another strange issue, and the behaviors are the complete opposite of each other:
In the Editor: The AI correctly receives and responds to the initial “hello” message at startup. However, it doesn’t respond to any subsequent conversations when I press the ‘A’ button on my controller to speak.
In the Packaged Build: It’s the reverse. The AI does not respond to the initial “hello” message, but it does respond correctly when I press the ‘A’ button to initiate a conversation.
When I first start “VR Pawn,” the “sendMessage” function runs. It processes normally up to “print string,” but my ConvAI character doesn’t actually receive the message.
The strange thing is that it works fine when I run it in the editor, but it doesn’t work after I package it. (The ConvAI character doesn’t receive the message.)
The strange thing is that it works fine when I run it in the editor, but it doesn’t work after I package it. (The ConvAI character doesn’t receive the message.)
“I can’t share the logs from the packaged program. While I can use ‘print text’ in the editor to see the execution lines, it doesn’t run correctly. How can I share the logs? I paid my bill this month, too.”
"I can’t share the logs from the packaged program. While I can use ‘print text’ in the editor to see the execution lines, it doesn’t run correctly. How can I share the logs? I paid my bill this month, too."
Please look into how to retrieve logs from a packaged build. There are resources available online that explain this process. Without the logs, it’s not possible for us to understand the issue.
Try running a Development build and check here for the logs: <YourPackagedGameFolder>/Saved/Logs/