Blueprints stop working, NO ERRORS, fixes itself after some time

My project was going great untill 2 days ago Blueprints started misbehaving.
First it was my menu that for some reason stopped detecting mouse clicks after it worked fine for 3 weeks …

Now another function with a for each loop stopped working after it worked fine.
And spawn actor from class is not working too. JUST WDF???

I do not get errors and same code works in other projects.

I tried cloning, migrating, engine reinstall nothing fixes it, problem must be in my project but I don’t know how to fix it .

Update: It seem that [load game from slot] > [cast to ***]> [get struct] > [break struct] does not work correctly because I replaced struct with just normal values and now problems are gone. (hope you can imagine BP)(BP struct)

Hey Midnight640,

Could you show us images of Blueprints that were causing issue? Any information that could help us reproduce problem here would help us resolve issue. Thanks!

I have no idea how to explain it one minute it was fine, next unexplained errors…
weird thing was (in my memories) i think [for each loop] was failing to cast but when I changed it to a loop with say 30 loops it worked great

Here are screens I hope they shine some light.

http://fc02.deviantart.net/fs71/f/2014/191/e/d/debug2_by_zerodollarz-d7q12hm.png

http://fc08.deviantart.net/fs70/f/2014/191/6/f/debug1_by_zerodollarz-d7q12hd.png

(R click >open images in new tab to get full resolution)

Hey Midnight640,

Sorry for delay in response. Is this issue still occurring for you? Which version of engine are you using now?

I was using 4.2.1 at time , now I am @ 4.3.1 but I can’t confirm that problem is still here.

Is it possible that some sort of errors don’t get resolved when I upgraded my project. My game began life on 4.0 and it went trough 4.0.1 > 4.0.2 > 4.1 >4.1.1 > 4.2> 4.2.1 and it got to a point where a lot of strange things started to happen (I have like 4 posts on AH with weird issues) and my project is BP only from a Blank project. I re-coded almost everything when 4.3 came out and now I am running with no major engine problems for now.

So I think this is something to maybe look at

Cheers!

PS: a major problem I had was that array of classes which I used to get an item from it and spawn it , crashed shipping build .

Now in 4.3 It doesn’t crash it but when i spawn a class that is IN that array build crashes.

It is certainly possible. There have been a lot of changes made between versions and we’ve been pushing out updates very quickly, so some conversion problems were inevitable. Sometimes it’s not as obvious that there’s a problem, though, so we can’t always catch it. This should become less of a problem as updates slow down and engine becomes more feature stable.

I’m glad you got your project mostly problem free. For array of classes crash, please attach your zipped crash logs. Does this happen with a new array, or just with an existing one in a project converted from an earlier build?

I have made a thread with explanation and pics+ files here if you want to take a look (Sean Gribbin said he replicated problem) : Class Array breaks shipping build 4.3 - Programming & Scripting - Epic Developer Community Forums

Also engine updates slowing means 1 major update per 2 months or 1 little update each month .

Thanks!

I looked into array issue you reported in that other thread, and it appears to have been fixed internally. I don’t know whether it will make it into 4.4, but it should at least be fixed in 4.5. Thanks for reporting it!

We’re looking at having a much more stable build in 4.5, and while I don’t have any official word on it, I expect updates to slow to once every 2 or more months (not counting hotfixes). We’re still very early in life of UE4, but with help of community we’ve been able to fix many of major bugs.

I’m going to mark this post as resolved for now, but if same error reappears in your projects please feel free to reopen with as much information as you can provide. Thanks again!

Thanks for reply I will report if bug reappears and I hope I will be able to submit files since that seems to help a lot .

Cheers! UE4 rocks!