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"

Packaged game crashing on Open Level calls

My game works without any runtime errors in the editor, but when I package the game it will crash about 30% of the time when I change the level. Below is the crash report that I get when it fails.

Access violation - code c0000005 (first/second chance not available)

UE4Game!UObjectBaseUtility::GetInterfaceAddress()

UE4Game!CastChecked()

UE4Game!FFontData::HasFont()

UE4Game!FCompositeFontCache::GetFontFace()

UE4Game!FSlateFontRenderer::GetFontFaceForCharacter()

UE4Game!FSlateTextShaper::PerformKerningOnlyTextShaping()

UE4Game!FSlateTextShaper::PerformTextShaping()

UE4Game!FSlateTextShaper::ShapeBidirectionalText()

UE4Game!FSlateFontCache::ShapeBidirectionalText()

UE4Game!FShapedTextCache::AddShapedText()

UE4Game!FShapedTextCache::FindOrAddShapedText()

UE4Game!ShapedTextCacheUtil::MeasureShapedText()

UE4Game!FSlateTextRun::Measure()

UE4Game!FTextLayout::FRunModel::CreateBlock()

UE4Game!FTextLayout::CreateLineViewBlocks()

UE4Game!FTextLayout::FlowLineLayout()

UE4Game!FTextLayout::FlowLayout()

UE4Game!FTextLayout::UpdateLayout()

UE4Game!FTextLayout::UpdateIfNeeded()

UE4Game!FTextBlockLayout::ComputeDesiredSize()

UE4Game!STextBlock::ComputeDesiredSize()

UE4Game!SWidget::CacheDesiredSize()

UE4Game!SWidget::SlatePrepass()

UE4Game!SWidget::SlatePrepass()

UE4Game!SWidget::SlatePrepass()

UE4Game!SWidget::SlatePrepass()

UE4Game!SWidget::SlatePrepass()

UE4Game!SWidget::SlatePrepass()

UE4Game!SWidget::SlatePrepass()

UE4Game!SWidget::SlatePrepass()

UE4Game!SWidget::SlatePrepass()

UE4Game!SWidget::SlatePrepass()

UE4Game!SWidget::SlatePrepass()

UE4Game!FLayoutSaveRestore::PrepareLayoutStringForIni()

UE4Game!FSlateApplication::DrawPrepass()

UE4Game!FSlateApplication::PrivateDrawWindows()

UE4Game!FSlateApplication::TickApplication()

UE4Game!FSlateApplication::Tick()

UE4Game!FEngineLoop::Tick()

UE4Game!GuardedMain()

UE4Game!GuardedMainWrapper()

UE4Game!WinMain()

UE4Game!__scrt_common_main_seh()

kernel32

ntdll

Product Version: UE 4.15
Tags:
more ▼

asked Apr 21 '17 at 07:19 AM in Packaging & Deployment

avatar image

GotNoBones
1 2

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hello GotNoBones,

The Access Violation error means that it's failing due to not finding either a reference or asset that it's looking for and requires to continue. As such, the first thing we should check for would be to ensure that there aren't any missing files that didn't get packaged. To do this, can you look through your log from the packaging process? This can be found in your project's directory under Saved/Logs. I'd suggest searching for the word Warning and Error to see if there are any messages that could point to what the problem is. If you aren't able to diagnose it yourself, please upload the log file.

Edit: In the future, in cases like this where you're unsure if the issue is actually a bug with the engine or something that this wrong with your project, please post issues like this in the Packaging and Deployment section. I've moved this question for now.

more ▼

answered Apr 21 '17 at 02:33 PM

avatar image

Matthew J ♦♦ STAFF
31.8k 526 91 417

(comments are locked)
10|2000 characters needed characters left
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