I have two player pawns in my scene. One is an Explorer Pawn used only for overview and it should not interact with the AI. The second is the main player pawn, which interacts with the AI and has the Player Component from this plugin attached. Everything works fine during PIE, but when I close PIE, Unreal crashes. I discovered that if I also add the Player Component to the Explorer Pawn, the crash no longer happens. However, that creates another problem because I get two chatboxes on top of each other, since both pawns now have the component, and only the main player pawn should interact with the AI. Why does the crash happen when only one pawn has the Player Component? Is the plugin expecting all player pawns to have it? What would be the correct way to set this up so only one pawn interacts with the AI and the project does not crash when closing PIE?
just to add some more detail after further testing.
During my investigation I noticed an interesting pattern. If I start the experience with the pawn that has the Player Component attached, everything behaves normally. I can then switch to the Explorer Pawn (which does not have the component), switch back to the main pawn, talk to the AI, and close PIE without any crash.
However, if I start the experience with the Explorer Pawn first (the one without the Player Component), then switch to the main pawn that has the component, interact with the AI, and close PIE, Unreal crashes.
Hi, Thanks for your reply. Here’s the log for when we have two pawns, explorer pawn and FPS pawn. we have the player component on FPS but not on explorer. we start the game as explorer, swap the pawn to FPS and talk to Ai and close PIE, and the crash happens: