Hey, everyone. I’m about to submit my school project but when I checked my packaged game some Blueprints don’t work? Basically, I have a trigger box that has a light that can be turned on and off thru a widget button. This works in the Editor or in PIE but whenever I try to build the project and run it or even try to run it via standalone game. it doesn’t work. Someone please help? Thank you in advance.
Hi there,
Is this game a multiplayer?
Can you please share some screenshots showing the code with issues?
Hello, thank you for the reply! I left my laptop at school during the weekends. To answer your question, no this is not a multiplayer game.
Here’s a screenshot of the code with issues:
What it does is that if the player enters the trigger box in a room and presses a button, it toggles the light to switch it On/Off.
Hey, everyone. After investigating my project, we finally found the culprit. For some reason, my Get Actor of Class doesn’t get some actors in the packaged project. I had it structured as Event Construct > Get Actor of Class > set it to the variable of the Blueprint. This works in the editor but when packaging the game, it seems like the task of getting Actor of Class wasn’t getting done properly. So I kinda changed my approach and instead of connecting my Get Actor of Class to the Event Construct, I went with calling Get Actor of Class every time I press the button. Marking this as solved! Thanks everyone.
How did you find out that Get Actor of Class was the culprit? I’ve packaged my game and have a game breaking bug. Really disappointed, and I have no idea how to go about debugging a packaged version of a game.