Intermittent error during PIE

I’ve got a game based off of shootergame in 4.6 and I’m seeing some very strange behavior.

I have a class based off of shootergame_weapon which basically does nothing but call a blueprint fire event, so the blueprint of the class actually handles doing something (in this case put a widget on the screen).

Now i’m seeing something strange when I play in editor. I’m getting the line "accessed none ‘CallFunc_GetPawnOwner_ReturnValue7’ from node Construction Script in blueprint Binoculars.

Binoculars being my weapon class.

But here’s what I think is a bug. There is nothing in the construction script.

Now the even stranger thing is that I seem to get these PIE errors semi randomly. When I’m testing with 2 players (its a multiplayer game), I’m getting between 0 and 4 of these errors.

Can’t think what else it would be, other than a bug. I’ve checked the returns from all GetPawnOwner calls in my blueprint and they all return valid objects. So I don’t think its the blueprint I’ve written, but rather some part of how the blueprint is executed.

Hi zoombapup,

This is a known issue that we are still investigating, it is JIRA UE-3412 in our tracking software. The errors themselves shouldn’t cause any issues. Everything normally compiles and works correctly, they are just annoying.

If you would like to attempted a workaround to get rid of them, there is one possible solution that has worked for some users in the past.

  • Go to the Event Graph of the blueprint that is having the errors.

  • Disconnect all of the nodes and compile the blueprint.

  • Then reconnect the node and recompile.

In the meantime, I will add your report to the JIRA and we will update here when we have something.

Cheers,

TJ