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"

Accessed None When Using Open Level?


I'm sure this is something I'm missing but when I complete a level, I then enter a trigger to load the next one however i get this accessed none error once loaded in the output log. I know exactly where it's coming from and it's because I'm using a UMG widget to bind my health percentage progress bar to a float value in my player character. Is there anyway to fix this issue? I've attached an image of the bind function and also how I'm calling the change level. thanks!


alt text

alt text

Product Version: UE 4.7
more ▼

asked Jun 06 '15 at 12:00 AM in Blueprint Scripting

avatar image

3 5 8 9

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

1 answer: sort voted first

It means "MainCharacter" variable is not set (it is "None" as error states) and all node using it fails. First you need to prepare your HUD to fact that character might not exist at specific point, 2nd there possibility that variable resets on level change and you need to set it again, i don't know your set up so no sure how you should do that.

more ▼

answered Jun 06 '15 at 12:08 AM

avatar image

37.3k 936 172 1116

avatar image AaronWildeMusic Jun 06 '15 at 12:17 AM

Hey Shadowriver,

Thanks for your reply! Yeah I understand it would need to be set or I'd need to check if the player exists in the world with the widget first but I'm really not sure how to go about setting that up. I hope someone can point me in the right direction at least :)

(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