Summary
This is a bug I experienced yesterday and didn’t think anything of it until I saw 2 other people reporting the same issue in the UEFN discord.
When copy and pasting existing view bindings (I tested it with the event bindings specifically, YMMV with other bindings) widgets compile correctly, but upon cooking the project fails with the error “[Compiler] Internal error: An event is invalid.”.
After trying to delete, remake and adjust these events inside the widget, UEFN crashed. I then experienced the same thing each time i tried to open the widget. I duplicated it and the same thing happened, I couldn’t open the widget anymore without crashing.
I had to delete it. I remade the same widget step by step, this time WITHOUT duplicating bindings, and I didn’t experience any crashes.
Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Stability
Steps to Reproduce
- create widget blueprint
- create an event binding (ie. OnHovered, OnUnhovered for a button with a custom verse event)
- compile widget to confirm it is valid and cook project, confirm no validation issues
- duplicate event binding and connect to different things (for example a buttons “On Hovered” event to a different verse event)
- compile widget to make sure it shows it’s valid
- try and push changes/load into a session (at this point you should get a cook error)
- try and edit the widget to fix the issue (remove the offending binding). It should STILL give a cook failure and [potentially crash while trying to edit the bindings
- (Optional) if editor didn’t crash while trying to fix the widget, close and open UEFN and try to open the widget again - I was never able to open the widget again at this point
Expected Result
duplicated binding passes cook stage and allows for correct functionality
Observed Result
duplicated binding corrupts the widget and any duplicate versions of it, causing editor crashes upon opening the widget, as well as quiet cook errors which the widget compiler doesn’t catch
Platform(s)
PC