Lambda Causes Crash on Level Change
We found that having a BindLambda with a long (5.f seconds) timer would crash if changing levels using an OpenLevel, the crash was an TConsBitIterator where the array index was out of bounds. It appears that an outstanding BindLambda sitting on a timer, crashes the editor when it wakes up and you've changed to another level. Here was my code, the offending part in comments:
We corrected this by making the timed routine a function. It no longer crashes.
asked Mar 15 '18 at 05:57 PM in Bug Reports
Have a look at https://github.com/EpicGames/UnrealEngine/pull/4705. This will fix your issue in the future.
answered May 01 '18 at 06:44 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here