Which version of the Editor are you working in? Also, could you please upload your crash from your project so that we can see the whole picture of what’s going on? Simply save the as a .txt file and upload it to your next reply.
The output are fine, as long as the error is showing. Are you able to reproduce this issue in 4.7.6? Also, what are the steps you’re taking to be able to reproduce this ‘ensure condition failed’ error?
I am currently building a version of the Engine from source code that should match the 4.7.0-Preview 7 build that you are using. Unfortunately it won’t be done in time for me to start trying to reproduce the issue that you are seeing today. I did have a couple questions for you, though.
Are you clicking Play, then immediately clicking Stop when you see this happening?
What is the Solution Configuration you are using in Visual Studio?
I just made a few attempts to reproduce the ensure that you are seeing. Unfortunately I was not able to trigger it. A few more questions:
Does this only occur in your project, or are you able to reproduce it in a new project as well? If it only happens in your project, is it only in a single level of that project?
Do you recall what template you used when you originally created this project?
If you change the Solution Configuration to Debug Editor, does the same ensure trigger?
Do you get a crash if you open the project directly in the Editor instead of using Visual Studio’s debugger?
We have three maps in the project right now. The first two maps are affected by the issue, they were created in the project and have several references to project C++ classes. It’s not immediate to test them in another project right now. The third has been imported from a package of the marketplace and gives no issues.
The template should be “basic C++”
Behaviour is the same for Debug Editor configuration.
Project loaded by Editor with no debugger attached does not cause crash (neither the issue we are talking about is a crash, just an execution break)
Going back to your original post, you mentioned that NewObject contains [ALevelScriptActor] = (Name=0x0000002b6a253748 "FirstMap_C"_1). I am curious to find out what is in this at that point.
That is what I expected to find there, but hoped would be different. I have a couple more ideas I want to try here to try to reproduce this issue. However, I am not expecting them to provide any different results than I have been seeing so far. Would it be possible to get a copy of your project so I can test that and try to narrow down what is happening?
Another option, which would unfortunately be a little time-consuming, would be to create a new test level and recreate one of your existing levels where this issue occurs. Repeating the PIE test frequently will allow you to see at what point the issue starts to occur, and that will reduce the number of possible causes of the issue.
We have not heard back from you for a few days. Are you still experiencing this issue? I will be marking this post as resolved for internal tracking purposes, but please feel free to add a comment with any new information you may have at any time to re-open this post.