4.7p5 Generate Native Code crashes on large BP

Generate Native Code on BP causes crash. Submitted a crash report. Does not happen in 4.6.1.

From Hourences Example Project at Hourences.com – The Solus Project

Trying to generate native code on BP AtmosphereAndWeather causes editor to crash.

Was trying to debug why you get following when opening BP for first time. These messages are not exported to game log except for generic “LoadErrors:Error: Error Failed import for CurveFloat”. It’s perplexing that after reloading/saving level, the messages do not appear again. Did the migration throw out some data? (crashes continue even after load errors do not show up).

Also, is there a way to log the message window?

  • Error Failed import for CurveFloat
    /Game/Blueprints/Game/AtmosphereAndWeather.AtmosphereAndWeather_C:CurveFloat_4_5__FD8A4121
  • Error Failed import for CurveFloat
    /Game/Blueprints/Game/AtmosphereAndWeather.AtmosphereAndWeather_C:CurveFloat_6_7__BBB81735
  • Error Failed import for CurveFloat
    /Game/Blueprints/Game/AtmosphereAndWeather.AtmosphereAndWeather_C:CurveFloat_6__0006F705

Generate Native Code still causes editor crash on AtmosphereAndWeather BP, but i have not been able to reproduce the load error anymore on 4.7p6.

Hi ngrts,

I am very sorry for the delay in responding to your post. I just ran some tests on this today using the binary version 4.7.2, and I was not able to see a crash occur when generating native code from the AtmosphereAndWeather Blueprint. Is this something that you are still seeing occur?

Yes it still crashes on AtmosphereAndWeather BP. I have not had the time to see what node is causing the crash.

Lost my copy and paste of crash report ID, just generated at 3:10 EST. Maybe you can search for:

[2015.03.10-17.33.19:269][ 0]CrashReportClientLog: Got 3 pending files to upload from ‘AppCrash_UE4-SolusExample_38e7a1bc21603192cc96fc121a625a28b6b956_00000000_cab_02a520e2’
[2015.03.10-17.33.19:273][ 0]CrashReportClientLog: Proceeding to upload 3 pending files from ‘AppCrash_UE4-SolusExample_38e7a1bc21603192cc96fc121a625a28b6b956_00000000_cab_02a520e2’

I was not able to find any crash reports matching the snippet that you posted, but that does not necessarily mean that we did not receive the crash report.

Let me tell you the steps that I am following to make sure they match what you are doing when you see the crash.

  • In the BaseEngine.ini file for the binary version of the Engine I am using, set CompileDisplaysTextBackend=True in the [Kismet] section.
  • Open the project in the Editor.
  • Open the AtmosphereAndWeather Blueprint.
  • Click Compile.
  • Open the Output Log to view the native code that was generated.

I did notice that the Engine seems to hesitate for a second or two when I click compile, but that may simply be due to the size of the Blueprint. Are you doing anything different?

All i did right now was unzip the example project.
Load it up in 4.7.2, (assigned editor keyboard shortcut to Generate Native Code under BP section), open the AtmosphereAndWeather BP and hit the keys to generate the code. Yes it takes a short pause, but instead of menu askibg where to save header and source, i get the crash.

I copied and pasted the url for this answerhub post in crash description, you can try searching for that.

Btw, thanks for all your work, its very much appreciated. thumbs up

Are you referring to the Keyboard Shortcuts in Editor Preferences? I looked there but do not see a BP section, and nothing appears when I run a search for “Generate”.

Hi hi, they opened a ticket for me for that… You have to first open a BP for BP keyboard settings to show up. Search for native. It will show up.

UE-9634 is the ticket for enhancement to Editor’s Keyboard shortcuts functionality.

Hi ngrts,

Thank you for the clarification. I was not aware of the necessity to open a Blueprint first in order to access the Blueprint Editor keyboard shortcut settings. I was able to reproduce the issue that you described, and I have entered a report to have this investigated further (UE-11602).