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!
asked Jun 06 '15 at 12:00 AM in Blueprint Scripting
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.
answered Jun 06 '15 at 12:08 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here