Mac Editor: Crash when opening Landscapes level from ContentExamples

100% repeatable crash for me.

  1. Open Content Examples project
  2. Attempt to open “Landscapes” level
  3. Crashes before finishing opening

Crash and project logs

  • Branch: UE 4.4.0-2237849 Binary

  • OS X 10.9.4

  • iMac 3.5 GHz quad core i7, 16 GB RAM

  • NVIDIA GeForce GTX 780M 4 GB VRAM

Looks like an incorrect shared semantic has slipped in somehow. Run a search for HIT_PROXY_ID on the engine directory /Users/Shared/Unreal Engine

There shouldn’t be any instances of it in 4.4, it should instead be TEXCOORD_5, otherwise you will get this crash as it fails to link the vertex & fragment shaders into a program.

Doing a recursive grep there are two matches:

Binary file ./Engine/DerivedDataCache/DDC.ddp matches
./Engine/Shaders/HitProxyPixelShader.usf:	float4 InstanceHitProxyId : HIT_PROXY_ID,

I replace the text in the shader, but wasn’t sure how I could trigger shader recompilation. I renamed DDC.ddp thinking the engine might recreate given the folder name, but although the engine took longer to startup and said it was compiling shaders no new DDC.ddp file appeared and it the editor still crashes when opening the level.

well, I’m glad I’m not the only one. I’ve downloaded and attempted to open LandscapeMountains and ShooterGame; Landscape crashes out completely and shooter requests recompiles (which doesn’t work). I have successfully opened SciFiHallway, however

This appears fixed in 4.4.1