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"

Fatal Error Packaged Game

\Engine\Source\Runtime\CoreUObject\Private\Blueprint\BlueprintSupport.cpp

     if (IsBlueprintFinalizationPending())
     {
         // have to prematurely set the CDO's linker so we can force a Preload()/
         // Serialization of the CDO before we regenerate the Blueprint class
         {
             if (DeferredCDOIndex != INDEX_NONE)
             {
                 const EObjectFlags OldFlags = BlueprintCDO->GetFlags(); <-- Access violation
                 BlueprintCDO->ClearFlags(RF_NeedLoad | RF_NeedPostLoad);
                 BlueprintCDO->SetLinker(this, DeferredCDOIndex, /*bShouldDetatchExisting =*/false);
                 BlueprintCDO->SetFlags(OldFlags);
             }
         }

Dump Call Stack : (Download)

The BlueprintCDO is nullptr. How can I fix it?


 AGameMode_InGame::AGameMode_InGame(const FObjectInitializer& ObjectInitializer)
     : Super(ObjectInitializer)
 {
     if (!ItemDataLibrary)
     {
         ItemDataLibrary = UObjectLibrary::CreateLibrary(UObject::StaticClass(), false, false);
         ItemDataLibrary->AddToRoot();
     }
     ItemDataLibrary->LoadAssetDataFromPath(TEXT("/Game/Items")); // -> changed to /Game/Items/Textures
     const bool bFullyLoad = true;
     if (bFullyLoad)
     {
         ItemDataLibrary->LoadAssetsFromAssetData();
     }
 }

"/Game/Items" folder contains some blueprint classes. I solved the problem by changing the path(LoadAssetDataFromPath()).

Product Version: UE 4.12
Tags:
more ▼

asked Jun 10 '16 at 01:13 PM in Bug Reports

avatar image

Johnapoor
26 3 4

avatar image Doug E ♦♦ STAFF Jun 10 '16 at 01:48 PM

Hey Johnapoor-

Is this code in a custom class for your project or an engine class? If this is an engine class, which class are getting this from and how are you accessing this code? Also, please include the logs from packaging the project for additional information.

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

1 answer: sort voted first

Hello. I solved my problem but I added more information in my question.

" I solved the problem by changing the path(LoadAssetDataFromPath())."

more ▼

answered Jun 11 '16 at 08:08 AM

avatar image

Johnapoor
26 3 4

(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