I have a map and a character I can play as using the top-down template. When I play and come to a specific point on a bridge on the map, the gameplay stops and my character disappears. I get the error message in the picture. Everything works fine on the rest of the map, its just that exact point that triggers it and that point is somewhere I have to be able to go. I can play again after pressing “Esc”, but everytime I reach that point it stops working.
Does anyone have any idea how to fix this?
It seems like something is destroying your pawn. Those error messages are more of a red herring. At the very least let’s get rid of those errors by using some good development practices. You should be able to go to the section in the BP causing the error by clicking on one of the magnifying glasses in the error line. You’re looking for a call to “GetPawn”. Off the return put an “IsValid” node. Rewire things up such that if the return is valid, execute as normal…if not print string (or do nothing). That should at least get rid of the error then we can go from there.
Thank you for the response. I am completely new to UE and did not under stand much of what you wrote :’) Do you think you could explain it a bit easier?
I’m afraid I don’t personally have the cycles to provide that level of support. Someone else might though so hang in there until then. It usually turns out best when you approach the forums with a decent understanding of the basics…especially with respect to navigating the editor and blueprints. There are a ton of free resources out there to get you started. No disrespect to you and your situation but, as you can imagine, it begins to feel like providing over-the-phone tech support for your grandmother who wants her phone to turn her dishwasher on but barely knows how to make a phone call
I would suggest running through a few tutorials until the guidance I originally gave does in fact make sense. This runs along the lines of “teach a man to fish…”
With all of that being said, I’m curious…if you navigate in the editor (not in game/play) to that area on the map that is giving you issues…do you see anything there? Like a “kill volume” perhaps? See WTF Is? Volume - Kill Z in Unreal Engine 4 - YouTube for reference.