x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UE 4.5 Preview build locks up when exiting PIE

Opened a copy of my project in the 4.5 preview build, I can play in editor fine, but when I hit escape the entire IDE just locks up and has to be exited from task manager.

I've tried this 3 times and it's consistently the case with my project. It DOES NOT happen when doing a new 3rd person template project in 4.5, and it DOES NOT happen when opening other older projects (for example, when opening a blank 3rd person template created in 4.2)

MORE INFO: The crash does not happen when I simulate. It DOES happen when I simulate with an instance of MyCharacter BP placed in the level (not possessed, obv). It DOES crash when MyCharacter BP is modified to have no AnimBP (set to use a single anim Asset of none). The crash is evidently being caused by MyCharacter BP.

EVEN MORE INFO: If I wait about 5 minutes AFTER the crash occurs, UE will eventually return an "Infinite Loop Detected in Blueprint: MCSkeletalMesh Anim Blueprint". Okay, so that must be the problem, right? Except the Anim BP compiles TOTALLY FINE and doesn't report any infinite loop errors!

MY SUSPICION is that this is caused by an error in the new BP dependency checks. I use an Interface BP to pass data back and forth between the Player BP and the Anim BP, and they cross communicate... e.g. the Anim BP gets an from the Interface BP called in the character BP, plays an anim, and uses a Notify in that Anim to pass an event back to the Character BP using the Interface BP. This works TOTALLY FINE and produces no errors in any other version of the editor (up to and including 4.4.3), but it seems to be causing issues here..?

Product Version: Not Selected
Tags:
more ▼

asked Oct 04 '14 at 02:54 PM in Bug Reports

avatar image

RhythmScript
243 20 25 36

avatar image TJ V ♦♦ STAFF Oct 06 '14 at 02:19 PM

Hi RhythmScript,

Check to see if you have the .DMP and .LOG files from the crash. These will sometimes be generated without the UE4 crash window popping up. The link below has direction on exactly where to find them.

https://answers.unrealengine.com/questions/12363/how-do-i-report-a-bug.html

Also, please post your dxdiag as well.

Thanks, TJ

avatar image RhythmScript Oct 06 '14 at 03:44 PM

I do not have .DMP files, but I do have some log files. This is the most recent one (generated today, same crash). It doesn't really seem to contain anything of note; again, the game opens PIE fine, it's only on exiting it that I get an (eventual) infinite loop error that locks up the system.

(can't attach the log so I've copied its contents to a text file) link text

DxDiag reports no problems found, which I wouldn't expect it to (again, nothing has changed at all about this project or my machine aside from installing 4.5 preview)

link text

dxdiag.txt (58.2 kB)
avatar image RhythmScript Oct 06 '14 at 04:17 PM

Actually, this might be more helpful! I decided to let the game idle in its frozen exit state while I went to get coffee, so it would actually pop up the "infinite loop detected" error.

The log produced by THAT session at least shows the infinite loop error. Log number 2

Remember though: I can play in editor fine. You can see the "shot shot shot hit hit hit" debug print strings from me playing the game just fine. The crash happens only when I try to EXIT the PIE session. Of relevance is that there is no LOOP of any kind in my anim BP; there is neither a portion of the BP where the execution path loops back on itself (i.e. a manual loop) or an auto loop node (like a ForLoop or a ForEachLoop) anywhere in that entire BP. And if there was, one would expect that the runaway loop (1,000,000 operations?) would show up sometime DURING play, which is when it's happened for me in the past, rather than only upon EXITING play. right?

mllog2.txt (12.3 kB)
avatar image RhythmScript Oct 06 '14 at 04:42 PM

Now, here's where things get REALLY interesting, and this is what leads me to believe the problem has something to do with the Interface BPs and BP dependency checks which have changed in the move to 4.5

Just as a "let's see", I went ahead and deleted EVERYTHING in my AnimBP. The event graph is literally BLANK (I mean it says Right-Click To Add Nodes blank), and the Anim Graph is just a single "Idle" anim connected directly to the output pin. I deleted everything else and recompiled (which, by the way, took an inordinate amount of time, like minutes of time, and I have no idea why).

I try to PIE and it works (albeit with no player animation), and when I exit.... Another lock-up, another "Infinite Loop Detected" error!

How can there be an infinite loop in a graph which is literally empty? It performs zero operations, that makes no sense!

Here's the log from THAT session (note: the infinite loop error isn't showing up because after 10 minutes UE was using like 5GB of memory so I force quit it before it could finally return the warning message, but it's the same progression of symptoms)

Infinite Loop In Empty BP?

mllog3.txt (12.3 kB)
avatar image TJ V ♦♦ STAFF Oct 06 '14 at 04:49 PM

Try deleting the Anim BP and recreating it. If that doesn't fix it, then try doing the same to the Character BP as well.

avatar image RhythmScript Oct 06 '14 at 04:58 PM

Force deleting the animBP (And replacing it with a reference to a functional animBP for another character) results in this message:

AnimBlueprint /Game/ML/MC/Blueprints/CharacterAnim.CharacterAnim is in use.

Running the editor with '-NoLoadStartupPackages' may help if the object is loaded at startup.

External referencers of AnimBlueprint /Game/ML/MC/Blueprints/CharacterAnim.CharacterAnim: Function /Game/ML/MC/Blueprints/MyCharacter.MyCharacter_C:ExecuteUbergraph_MyCharacter (1) 0) None Shortest reachability from root to AnimBlueprint /Game/ML/MC/Blueprints/CharacterAnim.CharacterAnim: AnimBlueprint /Game/ML/MC/Blueprints/CharacterAnim.CharacterAnim [target] (standalone)

Then this:

CRITICAL FAILURE: One or more assets were partially consolidated, yet still cannot be deleted for some reason. It is highly recommended that you restart the editor without saving any of the assets or packages. Affected Assets: CharacterAnim Potentially Affected Packages: /Game/ML/MC/Blueprints/CharacterAnim

Then, if I PIE and exit, I get the same lock-up, despite the relevant BP no longer existing.

If I do a FORCE DELETE on the AnimBP, I still get the lock-up... and now I have to reimport my project because that AnimBP is gone :/

avatar image TJ V ♦♦ STAFF Oct 06 '14 at 09:38 PM

Hi RhythmScript,

Our devs looked through your logs and without a project with a reproducible bug, we aren't sure of the cause. Would you be willing to private message me a link on the forums to download your project? Dropbox or Googledrive is preferred.

https://forums.unrealengine.com/

avatar image RhythmScript Oct 07 '14 at 03:02 PM

Yup! PM is sent

avatar image TJ V ♦♦ STAFF Oct 07 '14 at 03:41 PM

Got it. We'll take a look and let you know something as soon as we can.

avatar image TJ V ♦♦ STAFF Oct 07 '14 at 05:01 PM

Just an FYI, I created TTP# 348914 in our tracking software for your issue.

avatar image RhythmScript Oct 07 '14 at 07:20 PM

So am I able to follow that, or..? I don't know if y'all have a flyspray or something similar. This has piqued my curiosity, I'm really interested in what's happening.

avatar image TJ V ♦♦ STAFF Oct 07 '14 at 07:28 PM

At the moment it is just for reference, so we can more easily check on the status at a later time if needed. We are however looking into making this process more public in the future.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

The first hang issue is because of spawning actor after EndPlay. When ends, it's spawning another character, so infinite.

I'm not sure why this didn't cause a hang in 4.4, and we're discussing catching this kind of issue, but that isn't what we recommend to do.

alt text

Second issue of infinite loop when grab is expected to be a sort of input handling issue. It seems while holding the the enemy, it still is triggering grabbing enemy. I added a quick check if I'm carrying enemy after pressed", it doesn't loop anymore.

We're working on improving this process/detection better.

Thanks,

--Lina,

capture.png (148.0 kB)
more ▼

answered Oct 07 '14 at 11:04 PM

avatar image

nikolobin STAFF
700 14 12 33

avatar image RhythmScript Oct 07 '14 at 11:39 PM

AHA! I see what the problem is! Note the "Switch on (bad enum)"; Switch On EEndPlayReason is no longer working the same because in 4.5 you added a 5th value to that Enum (Quit) which deprecated the old node!

This is what it should look like, screengrabbed from the character BP in 4.4.3

alt text

This explains why it worked before; in 4.5, the Switch On has been changed. I verified that by replacing the "bad enum" with a newer copy of EEndPlayReason, this works.

As for the grab loop, that definitely shouldn't happen. I verify all my attacks with print strings and I only get one "Grab!" note when I execute it successfully in 4.4.3... I have no idea what would have changed.

EDIT: The reason this seems to happen is that grabs are triggered by a BeginOverlap event. Evidently, in 4.5, whether or not an overlap "begins" versus continuing on is handled differently. The bool check fixes it, though. Also, the particle collision problem can be resolved by changing the particle collision channel, saving, and changing it back. I guess it defaults to something weird since the change over. So at this point I'm on-track to work with 4.5! Thanks so much!

respawnthing.png (127.5 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question