Whenever opening a widget blueprint engine crashes

I’m running Unreal on Linux. This is a source build.

In my project any Widget Blueprints crash the editor. I even tried making a separate project TestHud just for testing Widget Blueprints, and that crashes as well.

Steps to reproduce:

  1. Create project.
  2. Create User interface → Widget Blueprint
  3. Right click select edit.
  4. Watch editor freeze and crash.

The log from TestHud

Is this a known issue on Linux with 4.13?

I’d like to confirm this as an issue on my end as well. I reproduced the issue by creating a new Widget Blueprint and opening the editor, and I get pretty much the same stack trace. This seems to be a new issue with 4.13, as I did not encounter this crash on 4.12.5.

Know if there’s a work around, or way to downgrade a project? Kind of stuck with an upcoming deadline because of this.

I unfortunately do not have a workaround. You can try to just open your project in 4.12.5, though I guess you’d have to compile it again. I don’t think Unreal made any changes to my asset files without me noticing after I upgraded, so if you haven’t made any changes, your existing asset files should just work with 4.12.5. But YMMV. Good luck!

Hey -

This is in fact a known issue that you can find and follow here: Unreal Engine Issues and Bug Tracker (UE-35185)

Unfortunately there is not a known workaround for this issue yet.

Cheers

could you take a look if undoing this https://github.com/EpicGames/UnrealEngine/commit/8fba9bbdc3cc4105d7c3de24adc94f7304c7d90b fixes it for you?

Yeah, that fixes it.

This should be fixed with the following commit: https://github.com/EpicGames/UnrealEngine/commit/358febb8e5c0a941960c4542fe926a7394e7ad53

Hello i allso had the same problem with unreal on linux, i am totaly ■■■ on c++ but can you tell me how to modify the code? i just find the file SDesignSurface.cpp and replace with the new code? do i need compile it in some way? , i did just try replace it and restart the engine, and i noticed i sometimes was able to open a widget bp but still crashes sometime, before i could not open them at all, but…or is it compiled in the engine?. Sorry if ■■■ question but i really enjoy using unreal on linux and want to solve this.

can some one explain for me how to fix this in the c++ file? should i just search in folder for SDesignSurface.cpp and replace the code with the new one? or do i have to compile it? i just compiled the unreal engine for linux by looking on a youtube video so i dont know so much about cpp. Please i need help with this.

Hey flonkulina-

Which version of the engine are you using? This issue is already resolved in the latest version of the engine (4.14.0). If you are using an older engine version, you can try to undo the change in my link above (make the green sections of the SNodePanel.cpp file look like the red sections) or you can update the file in RCL’s link (make the red look like the green). If you are not familiar with updating / merging files, updating the entire engine version to 4.14 would be the easiest solution.

If you were to update the engine version then yes, you would need to redownload/reinstall everything for 4.14.

If you want to update the specific file, I would suggest using the solution provided by RCL. This would involve opening the SDesignSurface.cpp file in an IDE such as KDevelop or QT Creator, removing the sections in red and replacing them with the sections in green. After this you would need to compile again so that these changes can be recognized.

Hello and thank you for answering. Well i am using 4.13.0, i am not so sure how to update. Do you mean i should, open my file SNodePanel.cpp and edit it with the green content from the link above? and if so, do i need to compile it some way? hmm i am not so familiar with these things. And updating the entire engine to 4.14, does that mean i need download everything again (4.14 this time), and follow the steps to compile everything from that youtube video again? it took me many hours to compile it on linux so thats why i wonder if there is a faster solution? :).

Ok thanks again. I am not so familiar how to compile a single file (or anything) so i guess i download the 4.14 and follow the steps compiling it as before :). I guess it would not be that hard, i all ready replace the code in the SDesignSurface.cpp but when compiled…i guess that gives another kind of file, and where to put that file?. Sorry no need for answer on that, i am beginner on this and only learning unreal with blueprints for now :slight_smile: but thanks again.

Hey flonkulina-

Rather than having to change the code manually, you should be able to update to the 4.13.2 engine version. This should have the fix for the widget crash included as well and shouldn’t be as long of an install process as updating to 4.14.0.