When updating a 4.5.1 project to 4.6, UMG widgets get compile errors (not warnings) - opening the widget to check the error crashes the engine.
Playing the game also crashes the engine.
This did NOT happen when I tested the 4.6 preview.
Update : I opened the 4.5.1 version again and checked all UMG functions to PURE - which was the cause of the compile errors in 4.6. I then opened the updated 4.5.1 version again in 4.6 as a copy - this did not solve the issue.
Update : Some widgets do open without crash, so there is definitely something causing the crash with specific blueprints in 4.6.
Update : Tested with a brand new clone of the project which didn’t use source control (I’ve had perforce cause issues in the past) but this didn’t have any effect. So perforce isn’t the issue.
hi,Kenomica! the problem is when you try to open a widget, engine crash, right? did you closed the timeline window of the widget editor? in 4.5, if you close timeline window, you can’t open the widget any more, it’ll always crash.
I will do some tests today to see if I can reproduce it with clean projects. Thank you for your reply.
Some widgets do open without crash, so there is definitely something causing the crash with specific blueprints in 4.6. It does seem very random though. I have some very basic widgets that contain nothing but images and one button, and others that are very complex. Some basic ones crash the engine, as do some complex ones.
I made a quick project with the Third Person Template and made a few widgets, then converted to 4.6 and this works fine.
I also tested with a brand new clone of the project which didn’t use source control (I’ve had perforce cause issues in the past) but this didn’t have any effect. So perforce isn’t the issue either.
I have also set all fonts to default to see if custom fonts have caused it, since fonts had a big change in 4.6 - this did not fix the issue either. I’ve updated my main post with all these attempts.
We also experienced crashes when opening UMG widgets with 4.6. Our problem is fixed by commit 2b87b029. I think this commit should be included in 4.6.1.
I have a very technical source of information on how to merge certain commits to your project if you would be interested in taking a look. I hope this helps.