Crash when open level

When I try to open the second level of my game, it crashes on packed game. It works fine when playing in editor.

The log file has this error:

[2017.03.16-00.32.08:509][321]LogWindows:Error: Assertion failed: LocalExportIndex.IsNull() [File:D:\Build++UE4+Release-4.15+Compile\Sync\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp] [Line: 1915]

Opening the file AsyncLoading at line 1915, the assert has this comment: “otherwise we have two exports that match and our criteria is not good enough”. I have no idea what it means, but perhaps someone can explain it to me?

Hi Marcio Daniel,

I believe you’re running into the following crash, at least based on the error message you’ve provided:

Could you do me a favor and take a look at that and verify if that’s the same issue (check the callstack as well).

If not, let me know and I’ll be glad to continue to investigate.

Have a great day

Interesting, the error messages are similar so figured it was worth mentioning. Unfortunately the callstack in your log doesn’t provide anything that we can go off of.

Is it a shipping build that’s crashing for you or a development/debug build?

I don’t think so, . I’m not even using the Leap Motion plugin.

Unfortunately, I didn’t have the callstack. Look at my log (see attachment):
link text

If there is a way to enable symbols or anything like that to see the callstack, please tell me.

The build configuration doesn’t matter, the issue happen on development/debug/shipping configurations.

But I found a checkbox named “Include Debug Files”, so I now have the call stack: link text

(Why is this answer marked as “accepted”? If I did that, it was unintentionally. Is it possible to remove this flag?) (edit: forget about it, it’s not marked anymore… weird)

Fixed.

The issue happened because I had an actor on my level with a component marked with the “IsEditorOnly” flag.

Thank you for the help, . I found the solution, it was an “IsEditorOnly” flag that was marked on a component in my level.