#Accessed None trying to read property ComponentToFollow

1 messages · Page 1 of 1 (latest)

plush horizon
#

Hey, I'm making a multiplayer game where I'm running "as client" I get this error here, but it works when I run in "standalone". I've made a child of the Prismatiscape Manager and overrode the InitComponentToFollow function where I'm checking is locally controlled and setting it there but it's still giving me the errors. Any advice?

#

nvm. I found a thread talking about changing the "Run under one process" setting.

for anyone wondering- It's under "advanced settings" where you set the num of players btw.

idle heart
#

Did you turn it on or off to fix the problem? I had it set to on, turned it off and I'm still getting the error.

boreal echo
#

It is probably because the player pawn was not spawned or changed after begin play which caused the previous 'Component To Follow' invalid. Such as in Lyra, the pawn was spawned after the Pawn Data was loaded where you start with the initial pawn as spectator.
So you should consider write this in your custom Prismatiscape Manager blueprint (or Charles should consider changing the component init logic to this)

idle heart
#

Thanks, I tried this but I run into two issues. 1. The setup video says in the description to no longer add your own Manager because it's automatic. If I need one I'm not sure if I still should just drop it on the level or how to properly get it to use my own. 2. I don't seem to be able to add Event BeginPlay to the existing Blue Print.

I'm pretty new at all of this, about 3 months in. I'm able to get my grass to move without this plug-in but I think the plug-in looks a lot better. At the same time the plug-in is pretty new. I feel like maybe I should just put it on the back burner and move on to other things and see where this is in 3 or 4 months when there's more documentation, examples and my understanding of the engine is a bit better.

idle heart
#

I tried again 🙂 If nothing I don't give up. I created a Child of the Blue Print and wired up the nodes to the Begin Event Play as shown in the screen shot above. I dragged my Child of the Blue Print onto the level but it seems it still adds the old one automagically and I still get the error. You can see both in the screen shot on the right.