GatherText Error

Hi,

I’m trying to localize a project and when I try to use gather text I’m getting an assertion in SharedPointer.h. this happens in the localization dashboard and when I’m running the command from a prompt. All my blueprints compile and the project runs, I just want to try and localize it.

Thanks

[2016.08.26-13.04.51:396][ 0]LogShaderCompilers:Display: Using Local Shader Compiler.
[2016.08.26-13.04.52:108][ 0]LogTemp:Display: Loaded TP AllDesktopTargetPlatform
[2016.08.26-13.04.52:114][ 0]LogTemp:Display: Loaded TP WindowsClientTargetPlatform
[2016.08.26-13.04.52:121][ 0]LogTemp:Display: Loaded TP WindowsNoEditorTargetPlatform
[2016.08.26-13.04.52:128][ 0]LogTemp:Display: Loaded TP WindowsServerTargetPlatform
[2016.08.26-13.04.52:136][ 0]LogTemp:Display: Loaded TP WindowsTargetPlatform
[2016.08.26-13.04.52:142][ 0]LogTemp:Display: Loaded TP AndroidTargetPlatform
[2016.08.26-13.04.52:148][ 0]LogTemp:Display: Loaded TP Android_ASTCTargetPlatform
[2016.08.26-13.04.52:154][ 0]LogTemp:Display: Loaded TP Android_ATCTargetPlatform
[2016.08.26-13.04.52:160][ 0]LogTemp:Display: Loaded TP Android_DXTTargetPlatform
[2016.08.26-13.04.52:166][ 0]LogTemp:Display: Loaded TP Android_ETC1TargetPlatform
[2016.08.26-13.04.52:172][ 0]LogTemp:Display: Loaded TP Android_ETC2TargetPlatform
[2016.08.26-13.04.52:183][ 0]LogTemp:Display: Loaded TP Android_MultiTargetPlatform
[2016.08.26-13.04.52:183][ 0]LogTemp:Display: Loaded TP Android_PVRTCTargetPlatform
[2016.08.26-13.04.52:184][ 0]LogTemp:Display: Loaded TP HTML5TargetPlatform
[2016.08.26-13.04.52:205][ 0]LogTemp:Display: Loaded TP IOSTargetPlatform
[2016.08.26-13.04.52:210][ 0]LogTemp:Display: Loaded TP TVOSTargetPlatform
[2016.08.26-13.04.52:216][ 0]LogTemp:Display: Loaded TP LinuxNoEditorTargetPlatform
[2016.08.26-13.04.52:221][ 0]LogTemp:Display: Loaded TP LinuxServerTargetPlatform
[2016.08.26-13.04.52:228][ 0]LogTemp:Display: Loaded TP LinuxTargetPlatform
[2016.08.26-13.04.52:228][ 0]LogTargetPlatformManager:Display: Building Assets For Windows
[2016.08.26-13.04.52:279][ 0]LogDerivedDataCache:Display: Max Cache Size: 512 MB
[2016.08.26-13.04.52:315][ 0]LogDerivedDataCache:Display: Loaded Boot cache: C:/Users/Paul/AppData/Local/UnrealEngine/4.12/DerivedDataCache/Boot.ddc
[2016.08.26-13.04.52:328][ 0]LogDerivedDataCache:Display: Pak cache opened for reading …/…/…/Engine/DerivedDataCache/Compressed.ddp.
[2016.08.26-13.04.53:014][ 0]LogWindows:Error: === Critical error: ===

Assertion failed: IsValid() [File:C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h] [Line: 739]

Hello,

  • How are you using GatherText?
  • Are you experiencing a crash? If so, are you getting a CR window?
  • If you are, please provide your Machine ID and ensure to hit Send & Close on the report.
  • Could you please provide your full output log from the project’s Saved->Logs folder.

Hi

link textSimply clicking on GatherText in the localization dashboard, with various combinations of ticking where to gather the text from e.g. text files, packages.

There is no crash, logs attached.

Thanks
Paul

After some additional testing, I’m not seeing the same issue on my end. Keep in mind that this feature is also experimental, so there is a possibility of running into some issues. However, we’d still like to get the issue documented.

Exactly when is the assertion occurring? You say with various combinations of ticking where to gather the text from, could you provide a couple of examples of combinations where you are seeing this occur?

I managed to track it down since I was also getting a similar error when trying to package the project. I stripped everything back to a bare project with a few changes.

  • I created an empty project and then added a new c++ class which inherited from WorldSettings, this was because I wanted to use worldsettings to allow me to access some extra information on the attached HMD device in blueprints.
  • In my constructor I called GEngine->HMDDevice->GetHMDDeviceType(); and with this line in there, and the project using my custom world settings I would get the error in the localization dashboard as well as during packaging.

The unfortunate problem is the errors that were displayed didn’t point towards this worldsettings and in the editor I never received any warnings.

I’ve attached a zip of the project in case you want to have a look.

Cheerslink text

Sorry for the delay.

Thank you for the information. Just to clarify, are you still experiencing the issue or were you able to resolve it?

I was able to resolve it with this fix.

Thanks