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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Unreal Crashing with Certain file?

For some reason recently (not sure what I've done) one of my files is causing the UE4 Editor to crash.

If I remove the file it will launch.

I also have a back up copy of the file which crashes the editor when I go to open it.

They are pawn blue prints files that reference the same C++ code.

So again I have one that causes a crash when I browse to the directory that contains it and the other will crash when I open it.

Only log I could find was this https://hastebin.com/zabucaciwi.md and it doesn't seem helpful.

EDIT: For some reason ticking one bool in my PawnBP will cause the editor to crash when it has to (read maybe?) the file. Yet going back via source control to a known working branch and deleting Saved/Intermediate doesn't help solve i it.

Product Version: UE 4.12
Tags:
more ▼

asked Jan 03 '17 at 04:39 AM in Using UE4

avatar image

Nonlin
119 8 17 20

avatar image Steve Hardister ♦♦ STAFF Jan 04 '17 at 09:38 PM

Hi Nonlin,

Without looking having the Blueprint files to analyze, I cannot say if there is a problem within the Blueprints themselves causing the Engine to crash. However, if they have been working all this time and suddenly ceased working, here are some steps you can try:

  1. Run a Map Check for each level and correct any errors

  2. Right-click the Contents folder in the Content Browser and select "Fix up redirectors in folder"

  3. In your Project Folder, delete the Intermediate and Saved folders

  4. In your install directory, delete the DerivedDataCache folder

Lastly, your blueprint files may have simply become corrupt. If the above steps do not help, try remaking and replacing the Blueprint(s) in question.

Steve H.

avatar image Nonlin Jan 07 '17 at 07:01 AM

Hey Steve, thanks for the input. I've tried all your suggestions and sadly it will still crash the moment I go to the folder containing those BP.

Its a bit of an odd situation. I have another Pawn that uses the same C++ code that doesn't cause this issue yet this one does.

Last major thing I did was clone my disk to my new SSD which is now my C: everything else is working though and no other file gives issue.

What steps can I take to confirm a corrupt file and if so recover it without losing my work?

EDIT: So I tried an earlier backup from my source control and that too crashes. What could this mean? Although I have two pawns that reference the same C++ code they both use different assets, could that have something to do with it? Really need a way to debug this.

EDIT: So I just reverted back to a known working stable branch and this is still happening. Which is making me think it isn't the file itself?

Apparently ticking one bool in the blueprint causes the editor to crash.

EDIT: Might also be worth noting that I can play the game still and use the BP just fine. I just can't go to the directory that has the file and hence can't open the file.

avatar image Steve Hardister ♦♦ STAFF Jan 09 '17 at 09:16 PM

I agree that if you revert to a known working stable branch it would likely mean its not the file itself, so we will need to take a closer look at the crash data.

Please provide as many of the following as possible:

  1. Your dxdiag (Windows Start Button>(search “dxdiag”)>Launch dxdiag>select “Save all information”>attach text file to your post.)

  2. If the Crash Reporter window is present when the crash occurs, select "Copy Callstack to the Clipboard," and paste that information in a document and add to this post. Be sure to hit “Submit” on the Crash Reporter pop-up to send the Crash Report to Epic. Also, be sure the text includes your machine ID.

  3. "UE4.log" Located: Engine\Saved\Logs\

  4. "ProjectName.log" Located: ProjectName\Saved\Logs\

avatar image Nonlin Jan 10 '17 at 02:25 AM

So I couldn't find anything but Unreal Build Tools in Engine\Saved\Logs but I did find a UE4.log inside 4.12\Engine\Intermediate\Build\Unused

I have no Crash Reporter window.

Link to the files I have attachedlink text.

desktop.zip (63.8 kB)
avatar image Steve Hardister ♦♦ STAFF Jan 11 '17 at 10:31 PM

Looking through your logs it appears there is a problem with a plugin. Have you tried disabling all plugins? Also, please tell us specifically what file is apparently causing the Editor to crash.

avatar image Nonlin Jan 12 '17 at 03:43 AM

The file seems to be HiddenPawn.uasset. Only thing I recall doing with the plugins was disabling HTCVive plugin to prevent it from opening every time the editor opened (this isn't a VR game).

Also HiddenPawn seems to be ok until I tick a bool which is called IsHidden to signify this pawn is a hidden pawn. Other wise its just a regular Shooter Pawn. I'm working off the Shooter Game project, so its a modified version of the AShooterCharacterPawn.

avatar image Steve Hardister ♦♦ STAFF Jan 16 '17 at 07:34 PM

Try disabling 3rd party plugins, particularly, the Substance plugin. Also, try to reproduce with just the HiddenPawn.uasset. and associated blueprints migrated to a blank blueprint project. If you are able to, please send a link to that project on Dropbox (or similar) to me in a private message on our Forums.

avatar image Nonlin Jan 30 '17 at 03:39 PM

Only third party puglin I had was Substance plugin. I edited the uproj by removing the plugin entry for Substance and it still crashes as described above.

I'll try to get a project over to you as soon as I can. EDIT: Got a project up and running with the questionable files migrated. I'll PM you on the fourms. Thanks for the help.

avatar image Steve Hardister ♦♦ STAFF Feb 01 '17 at 07:08 PM

After getting the same result (of crashing) trying to open the files in the Content Browser, I moved the files to a blank 4.13 project and got the following error:

ErrorMessage

So then I moved the assets into a full UE4.13 ShooterGame2 project and they opened without incident. However I cannot tell where you are ticking the bool "IsHiddent" unless you mean the checkbox shown in the image below:

Hidden

So, in short, make sure the parent class of these blueprints hasn't been removed in your current project or you could try creating a copy of your project in UE4.13 (not overwriting the original) and see if that resolves the crash.

errormessage.png (25.3 kB)
hidden.png (178.0 kB)
avatar image Nonlin Feb 02 '17 at 04:36 AM

Thanks for trying it out but it seems to me that you downloaded a fresh shooter game project in 4.13 and used their default source with my asset.

I modified their source code which added a lot of functionality one being the IsHidden custom bool property.

It seems you have just removed my source and used the default which is how you've managed to fix it.

I've been suspecting its a problem with my source code but what confuses me is that even after going back to a known working copy with git the issue still persists.

The error message you got is a bit revealing but I still don't know what the issue is and the issue persists.

EDIT: I just tried creating a new C++ class named TempChar .cpp/.h and then copied over the code from ShooterCharacter into it, renamed TempChar back to ShooterClass compiled everything, opened Unreal created a TestBP derived from the ShooterCharacter, toggled isHidden (custom bool from parent class) compiled and saved with no issue.

Then I tried putting back the original pawn files and it crashes still. Then I tried to open the TestBP and it crashes again. Still not sure what is going on. If it were corrupt BP then a new one would solve it so it isn't a corrupt BP. If it were a corrupt file then creating a new one would fix that too right?

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

1 answer: sort voted first

After looking into this, this does not appear to be a bug with the engine but a conflict in your code which, unfortunately we cannot support on an individual basis. I recommend, using our C++ Forums for support in this case.

more ▼

answered Feb 16 '17 at 06:59 PM

avatar image Nonlin Feb 18 '17 at 06:27 AM

Ok, thanks for taking the time to look into this.

(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