No sound and can't change levels on packaged game
I have just completed my first project, and when I package it (windows 32bit) and run the built game, my audio cues no longer play. And my default level loads, but none of the buttons that load other maps work anymore. I'm stuck in default map with no sound.
Everything works perfectly if I play in the editor though. But packaged game and "Launch" from in the editor give me these problems.
Edit: maybe a little clarification. Everything that's in the same folder as the default level seems to load. But the other levels and audio are in separate folders. Not subdirectories of level1, but still under "Content". Maybe not everything is getting packed? I have "full rebuild" and "cook everything in the project content directory" checked, for what it's worth.
Thank you so much for your time thus far, Andrew!
I have fixed a few more warnings by repairing my visual2015 install, but I don't think the warnings are the cause of the problems. I believe I have found the culprit right here:
In my project, I load a level with a timer after my fade-out matinee plays. I find my matinee actor by looping through all matinee actors, and playing the one with the proper name. Problem is, TRUE is never returned in the packaged game (and thus my open level node never gets called). It works in the editor, however. Playing all matinees without checking for name, and referencing the matinee actor directly in the level blueprint both work in packaged games.
The sound issue is the same. I can't find audio cues by checking names, but playing all or referencing the actor/resource directly works fine.
I have been able to reproduce this in a blank project, too.
Bypassing the display name method and referencing these assets directly allowed me to successfully package my game :)
Follow this question
Once you sign in you will be able to subscribe for any updates here