Very anoing bug/ crash UMG/ UUSerWidget and delegates.
So been trying all day to figuer out way my Editor crashes when pressing Stop/ Esc in PiE.
And i managed to figure out that it is the delegates in my extended UUSerWidget::. I have over-riden the method like this:
Is this wrong or what am i doing wrong here?
I asked a similar qustion on the forums a time back and this is the solution.
But running this outside the editor and it don`t crash.
Am running out of ideas here.
"So been trying all day to figuer out way my Editor crashes when pressing Stop/ Esc in PiE. "
I dont think it's your delegates, I think it's the use of Player Controller in a constructor!
In PIE, the PC becomes null around the time of exiting the PIE instance, and I have had crashes related to this with Solus
The solution is to make absolutely sure your are not calling the PC when it could be null, and preferrably not in a constructor that is apparently getting run on PIE exit!
The crash pattern you describe matches my experience with Playercontroller and exiting PIE, not anything to do with widgets or delegates.
Follow this question
Once you sign in you will be able to subscribe for any updates here