Hi everyone, I just finished a demo of my game but i have a big issue and I can’t fix it! In play editor the widgets work fine but when I package the project THEY DOESN’T SHOW UP!!! Please help me
How did you package it?
File > Package Project > Windows(64bit)
no my confing is set to development
I have no idea I’m afraid. Try asking on answerhub, you might get a more definitive answer…
Several things come to mind, check in project settings > maps and modes, if the entry map is set and also double check your levels if they use the correct game modes. I usually have a custom one for menus, that way you can set the controller and pawn etc. It’s possible your widget doesn’t get utilized because when you compile it, and switch from main menu to gameplay map, it keeps the same game mode.
Edit: this is assuming you didn’t set game modes correctly and instead are using auto possess for player character that’s placed on the map. We need to see how the widget gets created and where.
entry map is set to menu map. the gameplay map has no gamemode
In my case, my game instance was holding widgets.
I was creating an reference to the game instance through my character’s construction script, which doesn’t work in build.
For me the solution was to move Cast To Game Instance nodes
from my character Construction Script
to my character Event Begin Play
One solution is to check the ZOrder of the widget. For some reason when you package your game, the order in which the widgets display is not the same as while in editor. I had the same issue.