Build error: appError called: Assertion failed: InRawPtrProxy.Object != NULL

Hello,

I’m just getting starting with the Unreal Engine today, I’ve downloaded version 4.2.1 of the source code and have been following the instructions in this video: - YouTube

I’ve applied both of the required additional zip files to my source tree and also the “Optional” package as well.
I’m using Visual Studio Express 2013 (12.0.21005.1) and building using the Development Editor/Win64 build configuration.

I’m encountering this build error:

1>------ Build started: Project: UE4, Configuration: Development_Editor x64 ------
1> Building UnrealHeaderTool…
1> Target is up to date.
1> Parsing headers for UE4Editor
1>LogWindows : error : appError called: Assertion failed: InRawPtrProxy.Object != NULL [File:S:\SoftwareDevelopment\Unreal\Source\UnrealEngine\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h] [Line: 181]
1> Stack:
1> FWindowsPlatformStackWalk::StackWalkAndDump() 0xcd02bbf6 + 0 bytes [File=s:\softwaredevelopment\unreal\source\unrealengine\engine\source\runtime\core\private\windows\windowsplatformstackwalk.cpp:177] [in S:\SoftwareDevelopment\Unreal\Source\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll]
1> FDebug::AssertFailed() 0xccf2e0c5 + 0 bytes [File=s:\softwaredevelopment\unreal\source\unrealengine\engine\source\runtime\core\private\misc\outputdevice.cpp:176] [in S:\SoftwareDevelopment\Unreal\Source\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll]
1> `anonymous namespace’::CreateCollator() 0xcce905a5 + 103 bytes [File=s:\softwaredevelopment\unreal\source\unrealengine\engine\source\runtime\core\private\internationalization\icuculture.cpp:14] [in S:\SoftwareDevelopment\Unreal\Source\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll]
1> FCulture::FICUCultureImplementation::FICUCultureImplementation() 0xcce680fd + 173 bytes [File=s:\softwaredevelopment\unreal\source\unrealengine\engine\source\runtime\core\private\internationalization\icuculture.cpp:63] [in S:\SoftwareDevelopment\Unreal\Source\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll]
1> FCulture::FCulture() 0xcce67b79 + 57 bytes [File=s:\softwaredevelopment\unreal\source\unrealengine\engine\source\runtime\core\private\internationalization\culture.cpp:14] [in S:\SoftwareDevelopment\Unreal\Source\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll]
1> FInternationalization::PopulateAllCultures() 0xccebcca6 + 31 bytes [File=s:\softwaredevelopment\unreal\source\unrealengine\engine\source\runtime\core\private\internationalization\internationalization.cpp:485] [in S:\SoftwareDevelopment\Unreal\Source\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll]
1> FInternationalization::Initialize() 0xccead72c + 0 bytes [File=s:\softwaredevelopment\unreal\source\unrealengine\engine\source\runtime\core\private\internationalization\internationalization.cpp:220] [in S:\SoftwareDevelopment\Unreal\Source\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll]
1> FInternationalization::Get() 0xccea474e + 0 bytes [File=s:\softwaredevelopment\unreal\source\unrealengine\engine\source\runtime\core\private\internationalization\internationalization.cpp:59] [in S:\SoftwareDevelopment\Unreal\Source\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll]
1> BeginInitTextLocalization() 0xcce8c8d2 + 0 bytes [File=s:\softwaredevelopment\unreal\source\unrealengine\engine\source\runtime\core\private\internationalization\textlocalizationmanager.cpp:20] [in S:\SoftwareDevelopment\Unreal\Source\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll]
1> FEngineLoop::AppInit() 0x3f9b8f76 + 0 bytes [File=s:\softwaredevelopment\unreal\source\unrealengine\engine\source\runtime\launch\private\launchengineloop.cpp:2255] [in S:\SoftwareDevelopment\Unreal\Source\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool.exe]
1> FEngineLoop::PreInit() 0x3fa0399e + 5 bytes [File=s:\softwaredevelopment\unreal\source\unrealengine\engine\source\runtime\launch\private\launchengineloop.cpp:991] [in S:\SoftwareDevelopment\Unreal\Source\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool.exe]
1> wmain() 0x3fa1d8ad + 0 bytes [File=s:\softwaredevelopment\unreal\source\unrealengine\engine\source\programs\unrealheadertool\private\unrealheadertoolmain.cpp:63] [in S:\SoftwareDevelopment\Unreal\Source\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool.exe]
1> __tmainCRTStartup() 0x3fa1fa43 + 25 bytes [File=f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:623] [in S:\SoftwareDevelopment\Unreal\Source\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool.exe]
1> Address = 0x771359ed (filename not found) [in C:\Windows\system32\kernel32.dll]
1> Address = 0x7736c541 (filename not found) [in C:\Windows\SYSTEM32\ntdll.dll]
1> Address = 0x7736c541 (filename not found) [in C:\Windows\SYSTEM32\ntdll.dll]
1>LogWindows : error : Windows GetLastError: The operation completed successfully. (0)
1>Error : Failed to generate code for UE4Editor - error code: 3
1> UnrealHeaderTool failed for target ‘UE4Editor’ (platform: Win64, module info: S:\SoftwareDevelopment\Unreal\Source\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\UnrealHeaderTool.manifest).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command “…..\Build\BatchFiles\Build.bat UE4Editor Win64 Development” exited with code -1.

========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

My googling didn’t result in anything that could help me resolve this problem. Any help would be
appreciated, please let me know if you need anymore information about my setup.

Also, I’m not sure if this is relevant, but I did run into the following problem as well:

and I applied the fix mentioned in that link.

We are sorry to hear that you are experiencing this issue. We have assigned this to a member of our support staff for investigation, and they will follow-up with information or questions concerning this issue as soon as possible. Thank you for your patience.

In the meantime, and for best possible results, please be sure to review our suggestions for how to report your issues, and feel free to edit your post if you have any additional information to provide:

Thank you.

Eric Ketchum

Hi DustMan,

Can you confirm that the version of Visual Studio 2013 Express that you have the “For Windows Desktop” version? http://www.microsoft.com/en-us/download/details.aspx?id=40787

And also are you sure that the dependencies that you downloaded are specifically the 4.2.1 dependencies?

Cheers

Thanks, that was the problem. I followed the links in the readme and downloaded the correct 4.2.1 dependencies, now the build is working fine.