satisfactorymodding / satisfactorymodding/SatisfactoryModLoader
Widget Blueprint Hooks only seems to work the first time for some widgets
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 344
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
Summary: in figuring out how to add custom buttons to BPW_MapMenu, I tried creating a custom widget and then inserting it into BPW_MapMenu using Widget Blueprint Hooks on my root instance module. The widget was inserted correctly the first time I opened the map screen but ONLY the first time - if I closed and reopened the map screen, the widgets were not inserted again until I restarted the game. I have a screenshot of the settings I used here:
https://discord.com/channels/555424930502541343/1353175379455774811/1354166092402004109
Later in the same thread, yeshjho (author of Cartograph) said they experienced the same thing with a different widget, mentioned here:
https://discord.com/channels/555424930502541343/1353175379455774811/1354171650031227143
It seems that there are some specific scenarios where widget blueprint hooking does not persist, but the root cause is unclear.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the setup with a custom widget inserted into BPW_MapMenu through Widget Blueprint Hooks on the root instance module, then open and close the map screen repeatedly. Trace the hook lifecycle across reopenings and confirm the widget is inserted every time rather than only after restarting the game.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, unreal-engine
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100