Announcement

Collapse
No announcement yet.

How do I resolve this Accessed None Error?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How do I resolve this Accessed None Error?

    So basically the problem is that when the player dies, I get these Accessed None Errors, which are caused by player still being within a giant On End Overlap triggerbox when the player death happens. I'm guessing UE4 doesn't like it when I'm in an On End Overlap triggerbox and then suddenly died and respawned.
    Click image for larger version

Name:	5.PNG
Views:	1
Size:	27.0 KB
ID:	1225320


    So what this giant On End Overlap triggerbox in my level blueprint actually does is it basically makes the player teleport to the startpoint of the level when he/she falls to the abyss or goes out-of-bounds of my level.
    Click image for larger version

Name:	2.PNG
Views:	1
Size:	64.4 KB
ID:	1225321
    Click image for larger version

Name:	3.PNG
Views:	1
Size:	135.8 KB
ID:	1225322

    This is how I setup how the player dies from getting a projectile thrown at him/her, within the character blueprint:
    Click image for larger version

Name:	1.PNG
Views:	1
Size:	112.9 KB
ID:	1225323

    So is there a way to stop getting these errors besides splitting my On End Overlap triggerbox into 6 On Overlap triggerboxes? Or perhaps is there a way to make an inverse triggerbox, so that I don't need to use an On End Overlap triggerbox?
    Last edited by travisc; 07-14-2017, 03:11 PM.

    #2
    Well as I was writing this post, I had the idea of slipping in a "Set Actor Enable Collision" node(unchecked) right before the destroy actor node, and this seems to have resolved the issue.

    Comment

    Working...
    X