Hotreload of not saved asset

I’m having problems when I’m forgetting to save asset before building it in VS. I made some changes in asset class (in header too if I remember correctly) but forgot to save existing blueprint (child of this class). After building in content browser I got another file with name HOTRELOADED_name_of_blueprint. I got in same situation before and tried to delete that new file. And then editor crashed. This is crashlog:
link text

Last time I got this thing and reopened editor - it failed to load that blueprint and I wasn’t able to see it in content browser (even though I could see it with windows explorer).
But now I reopened editor and no such error. Maybe it’s because I didn’t save my blueprint after compiling and getting that extra hotreloaded item. Because last time I saved it.
I’m using 4.7.3

Hey funbiscuit-

I am investigating the hot reload bug you mentioned and want to make sure I understand your problem correctly. You have a blueprint based on a code class and when you make edits to the class and then use the compile button in the editor, you end up with a duplicate of your blueprint after the hot reload, is that correct?

Cheers

I don’t click compile in editor. I click build solution (or project) in visual studio. Everything else is correct. And I get this only when my blueprint is not saved. If I save it, everything is fine

Hey funbiscuit-

We are currently investigating a variety of issues related to hotreloading and blueprints. Let us know if you’re able to reproduce this in a blank project with no additional content. For now I have reported this and will continue testing on my end.

Cheers

Epic has agreed this is a bug now here:

I recommend everyone vote for the issue so it might get raised to a higher prio!

I experienced a similar issue to UE-21554, but the editor did not crash and I did not receive any error message.

  • I created a BlueprintType struct in C++, FMyStruct, with one property.
  • I made a variable of that type in a blueprint.
  • After I modified the struct, e.g. adding a new property, and recompiled from the editor, the variable’s type was renamed to “HOTRELOADED ASSETNAME 0
  • The original ASSETNAME, e.g. My Struct, will be available to choose from

To remove the HOTRELOADED ASSETNAME 0 from the list, I closed the editor and reopened the project.

  • Project Template: Basic Code

  • Unreal Engine 4.21 (Launcher Version)

  • Visual Studio Community 15.9.3