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"

Error when adding widget to screen

First Image is the error I get when ending the level. The widget does appear in game, but for some reason I still get this error.

Below is adding the widget in the third person character BP.

Gamemodes have already been set.

alt text alt text

Product Version: UE 4.11
untitled.png (17.8 kB)
untitleds.png (57.1 kB)
more ▼

asked Jun 11 '16 at 12:32 AM in Blueprint Scripting

avatar image

91 30 30 32

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Hey there,

you could try something like this: alt text

by using the IsValid node it checks if the widgets is already created, if so it adds it to the viewport, if not it creates it before adding it.

hope it helps :)

more ▼

answered Jun 11 '16 at 01:39 AM

avatar image

66 3 1 4

avatar image DrakeWalker Jun 11 '16 at 02:16 AM

Unfortunately that did not work. It is giving me the same error.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

One thing you could try would be to place this code in a HUD derived blueprint. You see those little monitor icons on these nodes? Those mean that they are purely aesthetic and should not be used anywhere that can affect gameplay. That generally means that you should take care of them from a HUD.

As for this specific error, it says "Accessed None" when it was trying to read the property. That means that the widget is not being created correctly. I think this may be an order of operations problem. Stick in in your HUD blueprint and see if that clears the problems up. If not, I'll help you figure this problem out inside your character blueprint.

more ▼

answered Jun 11 '16 at 02:28 AM

avatar image

21 5 7 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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