x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Custom Widget disappears after reopening project

I have a custom Widget that for some reason is disappearing when I close the project and open it again.

Sadly I have not been able to reproduce it yet. But what could be causing this?

I'm using 4.15, but it was also happening in 4.14

First it looks like this: alt textalt text

I save Widget_GameHUD, open project again and it looks like this: alt text

Save it again, reopen and now it's gone: alt textalt text

I made a video: https://youtu.be/x4t0cjTndT0

Widget_GameHUD contains Widget_Abilities_Box (second custom widget) which is made of an horizontal box with 6 Widget_Ability_Box (another custom widget)

Product Version: UE 4.15
Tags:
more ▼

asked Feb 20 '17 at 10:02 PM in Bug Reports

avatar image

Ghar
667 33 106 126

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Hello Ghar,

Could you use the reference viewer to check for circular dependencies? If you find any could you try and break these for testing purposes and let me know if the issue still occurs when there are now circular dependencies?

more ▼

answered Feb 21 '17 at 07:03 PM

avatar image

Rudy Q ♦♦ STAFF
47.5k 545 132 522

avatar image Ghar Feb 21 '17 at 07:31 PM

I found an indirect circular dependency. BP_PlayerController -> Widget_MainHUD -> Widget_AbilitiesBox -> Widget_AbilityBox -> BP_PlayerController

I got rid of it and it works ok now! Thanks.

avatar image JakeOliveros Mar 14 '17 at 12:03 PM

I'm having the same problem..

Indirect circular dependency? Can you send a screenshot of it please :D

(comments are locked)
10|2000 characters needed characters left

In our case we had issues with deprecation. We had a parent class for the widgets (c++) that were deprecated. Widgets kept displaying correctly. After making changes to the widget containing the widgets with deprecated parent, they simply were gone after editor restart.

The editor was throwing deprecation warnings for another widget after the change, but not for these. Changing the parent of the affected widgets to UserWidget resolved the issue.

more ▼

answered Nov 16 '18 at 03:38 PM

avatar image

Rumbleball
259 7 20 20

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question