Crash on compile blueprint

I’m getting a crash while compiling the controller blueprint of my project. The project crashes on compile, but strangely enough if I save it before the crash, when I open the project everything is working as if it had not crash and it compiles fine for a few changes before crashing again.

Attached is the log from the crash, there’s some warnings from my functions from not all having redirects but they shouldn’t be the problem.

Right now I have to keep closing and opening the editor to “compile”, any clues on why this is happening? I’m using 4.11.2 binaries

link text

Same problem for me :frowning:
But I use 4.12.1 from github … The editor isn’t able to compile them but the project launcher can do it without crashing …

What I don’t understand is that usually crashes happen because you’re doing something that you shouldn’t, and I get that, it happened to me a million times and it’s easy to track, you do something, it crashes, you do it differently, and it not crash, perfect. But these crashes happens regardless of what I do now, and they are random, and apparently after the crash, it compiles just fine. Confused

It seems this is happening to me on other projects too, so I’m starting to think it can be something related to my pc, or just a strange coincidence. Here a log from another project
This one using 4.12.1 binaries
link text

Hi Esteves,

  • Does this occur in a clean blank project with no additional content?
  • What steps can I take to reproduce this on my end?
  • Does it seem to be limited to one type of blueprint or is it when you compile any blueprint?
  • What do you have in the event graph of the blueprint? What were the most recent additions before the crash occurred?
  • What is the filepath of the actor you are crashing on? Do you have any special characters in the filepath?

Hi Adam, I’m not sure if I’m having two different problems or just one:

  1. No, not on a blank project
  2. Hm, I’m trying to figure that out, trying to understand what triggers it and finding a pattern. On the first project I posted about the crashes are random, sometimes it happens with me adding a branch, sometimes is does not happen and I added a giant chunk of code. On the second project the crashes are consistent everytime I do a change on the character blueprint, I duplicated it, and the crashes stopped, figured out it was another blueprint that was casting to it that was causing the crash, as soon as I referenced the new duplicate, the duplicate starts crashing, I remade that other actor and crashing seems to have stopped on that one.
  3. It’s happening on the character and the controller.
  4. The first project has a very big controller, with a lot of functions to it, I didn’t really made any additions to it before the crashes happened, it just started to happen intermittently
  5. No special characters

What I really don’t understand is why he crashes compiling at runtime, but not while starting the project, because right now everytime I need to compile instead of clicking the compile button I just close and open the project and the thing works

I’ll try to find a way to replicate this issue, does the logs give any clue of what’s happening?

I’m seeing a lot of “array out of bounds”, which typically means that either an asset that is supposed to be referenced is NULL or an array is not populated when it is being utilized. Can you send me a sample project this is occurring in along with steps to reproduce it? I’ll be happy to take a look and see what may be occurring.

Hi Esteves,

We have not heard from you in several days. I am marking this as answered for tracking purposes. If you are still experiencing this error, please comment with the requested information.