Hello, I have run into a very annoying bug (a bug in my opinion) as of lately with pawn actor class. I have a pawn actor with physics enabled and basic torque based movement controls as seen in the picture uploaded.
Everything is fine and works normally until I reload any map with pawn actor placed on the map or restart the editor. If i play the level immediately after reload, everything works normally.
However, as soon as I change anything on the pawn, be it location, size, recompiled scripts etc. It stops working when going into play mode. The pawn movement does not work anymore. The editor gives you bunch of “turn on physics simulation to add force” error messages after returning back and collision preset is forcefully changed into “no collision” with no way to reset it to default or edit it at all.
By undoing whatever you did with ctrl+z to break it, it automatically fixes the issue and you can normally edit the properties even if you redo the previous command that broke it. If I save the level while it is in the bugged state, I am forced to delete it and replace the pawn as well as any links associated with the pawn.
It sounds like the problem might not be the blueprint itself, nevertheless, that is a very conflicted map!
I think you might get it to work by figuring out how much force you want to apply and then just applying it. At the moment, you’ve riffled shuffled those process together…
I have created a video to further illustrate the bug, how it happens and all that.
here’s the link: Pawn Actor Bug Showcase - YouTube
That does look a bit shifty…
I’m afraid all I can say is keep changing things until you get it to work. I understand you’ve re-made the pawn. Which engine version are you on?
PS: Looks fab
I’m using version 4.25 and I can easily avoid the issue but it’s still annoying that I have to do a bypass every time I start editing before it works
And thank you, working hard to get a good game out hopefully.
Maybe give 4.26 a go. I have noticed various things have been fixed ( although others introduced ).