I get the attached “LogOutputDevice:Warning: === Handled error: ===” every time I open my project.
I can’t be sure when I introduced this issue into my blueprint (a Pawn BP, the one that comes with the Third Person template.) I thought I was keeping a good eye on the logs and messages, but I had never actually opened the Output Log, and was only watching my Message Logs. The attached text is what appears in my Output Log every time I open my project.
I finally became aware of the issue when I went to package my project. It will fail to package with an “Unknown Cook error” and contains the same stack dump as attached.
I can get this error to go away if I replace my Pawn blueprint with a fresh blank blueprint. Of course, my Pawn blueprint is tied to nearly the entire rest of my project, so I’d like to not just toss it out and start from scratch.
I tried to carefully start deleting bits of my Pawn blueprint, compile, save, and restart the editor until the error went away, taking note of what was deleted. I had deleted the entire Event Graph (leaving all my Custom Event nodes, with their execution pins empty, to hopefully reduce the warning/error complaints from other blueprints) and had deleted nearly all of my Functions and Variables, and all of my Event Dispatchers and Interface Functions before I was finally rid of the error. It had seemed to correspond with finally deleting two variables referencing a type of my own user defined structs.
However, to test this, I restored my entire Pawn blueprint, and then just deleted the struct variables and all their references (leaving the blueprint decimated, but compiling with the green checkmark) but upon the editor restart, the “Handled Error” from the attached was still present.
Given that my brute-force attempt to isolate the culprit failed, I am hoping you of the community can help me take a more intelligent or better informed approach. I’m happy to supplement with more log data, screenshots, or Uasset files if necessary.