Unable to start project after 4.11 upgrade

This is the last line in the log file

[2016.04.01-02.57.29:901][ 0]LogWindows:Error: === Critical error: ===
Fatal error: [File:D:\BuildFarm\buildmachine_++UE4+Release-4.11\Engine\Source\Runtime\CoreUObject\Private\UObject\LinkerLoad.cpp] [Line: 4384]
Bad name index 826554161/1423

link text

Hey -

Can you provide any additional information about this? Is this happening only for a single project or any project you upgrade? Was the project a 4.10 project or from another engine version? Do you have the Substance plugin for 4.10 installed / enabled?

Cheers

I have narrowed down to one exact issue. It’s the gameplay maps. However I cannot figure out what in the map is causing it.

I’m able to solve it now by opening up 2 editor simulteneously ( 4.10 and 4.11 ) and then copy the content over and resave the map. This is weird , right now the new map contain all the same objects as the old one, no crash. Despite this ,I’m a bit concerned if it could happen again or so.

At the moment if one of these older map remain in the content folder , the project just outright refuse to cook/package , stating the same error.

Based on the “Bad name index”, it sounds as though a name or name reference was lost or corrupted during the upgrade. If you still have the previous version of the project, can you let me know if you have the same problem after making another 4.11 copy? Also, can you provide the specific map that is preventing the project from opening / packaging?

okay here’s a new update , I rolled back the repo to 4.10 and opened up the map in 4.10 and proceed to try several things :

  1. I migrated only the map to a new 4.11 Blank project. Still crashed . However , the migration brought alot of gameplay related objects.

  2. I tried deleting some objects random , but once a certain amount of references get broken , something don’t load and the crash won’t happen.

  3. I then tried to delete all gameplay related references. migrate again , apparently it stopped crashing. It is now extremely hard to track as the problem is somewhere in the game code , but not entirely in the game code because the new game worked fine if I just copy the map over via Crl-C , Crl-V .

I am not sure if you’re able to direct me to narrow down certain things at least what object is causing it. I’m not sure if it’s of your interest to solve this. On one hand , this is a really solid crash. on the other hand , I can live with it once i copy paste all the needed maps.

Let me know if you want me to zip up an old reverted repo with just the map migrated. I can delete textures to make it small.

here’s the link to the project plus map.
I’ve minimized it. only one map and a bunch of gameplay related stuff.

It’s fully openable in 4.10.
Offending map is PC_Maps\City.umap

https://drive.google.com/file/d/0BxtxUFU725XrLUgza08yRmprQnc/view?usp=sharing

Based on the information provided it sounds like one of the assets referenced by the level is causing the level to become corrupted. You mentioned deleting assets until something didn’t load and the crash didn’t occur. Do you recall what you deleted and at what point the crash stopped occurring?

Actually it wasn’t ‘deleted’ . It was removing the actual game mode which would then cause dependency to 100’s over objects being cut of. Among this , it’s hard to detect which causes it unless i take time to go through one by one.

I tried deleting half , and keep halving it down , it doesn’t work that way because if you delete one parent class or dependency , the rest isn’t loaded , hence halving it down isn’t accurate.

Hey -

When I switched the project to 4.10 and tried to open the City map, I was given multiple warnings that the following blueprint variables have an invalid type. After going through each of them the project froze. Attempting to open any of the blueprints also caused the 4.10 project to freeze. Attempting to open the blueprints in 4.11 causes a crash. If you’re able to open the blueprints in 4.10 or 4.11, can you try to remove / delete these variables and then open the City map?

Blueprint - Variable:

BP_PCGameMode - Starting Resource
BP_PCGameState - Team Resource & Team Resource Rate
BP_OrderComponent - Cache Order
BP_AIGrunt_Base - RTSOrder Pawn Cache
BP_PCHUD - Target Selection Resource Req
ResourceComponent - Resource
CoverArea_BaseClass - Temp Generate Array & Currently Generated Data
AIController_BasicAI - Current Issued Order & Refund Deposit
MasterWidget_ResourcePanel - Resource & Resource Rate
Order_Construction - Construction Cost
MasterWidget_ArmoryScreen - Reload Cost

sorry i forgotton to include other files ( config / binary ). Must be the missing C++ side acting up.

Can you delete everything in project folder except Content. ( delete uproject file as well ) . Then you unzip this files in the project folder. it should now open fine on 4.10 ( still crashes on 4.11 )

This file will contain Binary / Config and correct project file.

https://drive.google.com/open?id=0BxtxUFU725XrV2NsQ1JEb3ZDeVk ,

Hey -

I deleted everything except the Content folder where I had the project originally. After unzipping the files from the latest link into the same folder where the Content folder remained. When I launched the .uproject, the project opened in 4.11 and I was able to open the City map without a crash. Can you post the full callstack you’re getting when you are crashing?