Debugging on Mac

Hello, I’m trying to debug the BattleTank project with Visual Studio Code on Mac (I’m using unreal 4.23).

I was able to build on GameDebug mode, but I get this on launch:

ogGenericPlatformMisc: Warning: Failed to determine engine directory: Defaulting to ../../../Engine/
2019-12-24 16:24:49.554434-0300 Battletank-Mac-DebugGame[47722:2014378] [UE4] Fatal error: [File:/Users/build/Build/++UE4/Sync/Engine/Source/Runtime/Core/Private/Inter
nationalization/ICUInternationalization.cpp] [Line: 136] 
ICU data directory was not discovered:
../../../Battletank/Content/Internationalization
../../../Engine/Content/Internationalization

I tried creating the directly, but it doesn’t help since the data is not available:

LogGenericPlatformMisc: Warning: Failed to determine engine directory: Defaulting to ../../../Engine/
2019-12-24 16:20:11.031179-0300 Battletank-Mac-DebugGame[47129:2010283] [UE4] Assertion failed: U_SUCCESS(ICUStatus) [File:/Users/build/Build/++UE4/Sync/Engine/Source/
Runtime/Core/Private/Internationalization/ICUInternationalization.cpp] [Line: 141] Failed to open ICUInternationalization data file, missing or corrupt?
2019-12-24 16:20:26.244874-0300 Battletank-Mac-DebugGame[47129:2010283] [UE4] Assertion failed: U_SUCCESS(ICUStatus) [File:/Users/build/Build/++UE4/Sync/Engine/Source/
Runtime/Core/Private/Internationalization/ICUInternationalization.cpp] [Line: 141] Failed to open ICUInternationalization data file, missing or corrupt?
2019-12-24 16:20:28.093563-0300 Battletank-Mac-DebugGame[47129:2010283] [UE4] Assertion failed: !Singleton [File:/Users/build/Build/++UE4/Sync/Engine/Source/Runtime/Core/Private/Internationalization/ICURegex.cpp] [Line: 75]
2019-12-24 16:20:28.996850-0300 Battletank-Mac-DebugGame[47129:2010283] [UE4] Assertion failed: !Singleton [File:/Users/build/Build/++UE4/Sync/Engine/Source/Runtime/Core/Private/Internationalization/ICUBreakIterator.cpp] [Line: 15]
2019-12-24 16:20:29.641429-0300 Battletank-Mac-DebugGame[47129:2010283] [UE4] Assertion failed: U_SUCCESS(ICUStatus) [File:/Users/build/Build/++UE4/Sync/Engine/Source/
Runtime/Core/Private/Internationalization/ICUInternationalization.cpp] [Line: 141] 
Failed to open ICUInternationalization data file, missing or corrupt?
2019-12-24 16:20:30.276896-0300 Battletank-Mac-DebugGame[47129:2010283] [UE4] Assertion failed: !Singleton [File:/Users/build/Build/++UE4/Sync/Engine/Source/Runtime/Core/Private/Internationalization/ICURegex.cpp] [Line: 75]
2019-12-24 16:20:30.820263-0300 Battletank-Mac-DebugGame[47129:2010283] [UE4] Assertion failed: !Singleton [File:/Users/build/Build/++UE4/Sync/Engine/Source/Runtime/Core/Private/Internationalization/ICUBreakIterator.cpp] [Line: 15]

I’m new to unreal and I’m following the course so maybe I’m missing something obvious. Can I disable Internationalization to be able to debug or something?

Thanks in Advance!

I don’t have access to a Mac right now so I’ll get back to you (hopefullty) tomorrow about this.

Hi @DanM, sorry to bother you but I’m wondering if you have any updates on this matter

Sorry I forgot to update you on this I wasn’t able to get hold of a mac. I should be able to some time this week. Please bump the thread if I haven’t responded by Thursday.

1 Like

So just install this extension basically
https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb

Then from the debug menu in VS Code you should be able to run the configurations. You want one of the editor versions, either Debug or Development.

Thanks for the answer, yes, I have the extension installed. I’m able to run the configurations. I can build without a problem (both in development and debuggame), but after than, when it’s time to launch for debug, I get the problem described in my original message:

LogGenericPlatformMisc: Warning: Failed to determine engine directory: Defaulting to ../../../Engine/
2019-12-24 16:20:11.031179-0300 Battletank-Mac-DebugGame[47129:2010283] [UE4] Assertion failed: U_SUCCESS(ICUStatus) [File:/Users/build/Build/++UE4/Sync/Engine/Source/
Runtime/Core/Private/Internationalization/ICUInternationalization.cpp] [Line: 141] Failed to open ICUInternationalization data file, missing or corrupt?
2019-12-24 16:20:26.244874-0300 Battletank-Mac-DebugGame[47129:2010283] [UE4] Assertion failed: U_SUCCESS(ICUStatus) [File:/Users/build/Build/++UE4/Sync/Engine/Source/
Runtime/Core/Private/Internationalization/ICUInternationalization.cpp] [Line: 141] Failed to open ICUInternationalization data file, missing or corrupt?
2019-12-24 16:20:28.093563-0300 Battletank-Mac-DebugGame[47129:2010283] [UE4] Assertion failed: !Singleton [File:/Users/build/Build/++UE4/Sync/Engine/Source/Runtime/Core/Private/Internationalization/ICURegex.cpp] [Line: 75]
2019-12-24 16:20:28.996850-0300 Battletank-Mac-DebugGame[47129:2010283] [UE4] Assertion failed: !Singleton [File:/Users/build/Build/++UE4/Sync/Engine/Source/Runtime/Core/Private/Internationalization/ICUBreakIterator.cpp] [Line: 15]
2019-12-24 16:20:29.641429-0300 Battletank-Mac-DebugGame[47129:2010283] [UE4] Assertion failed: U_SUCCESS(ICUStatus) [File:/Users/build/Build/++UE4/Sync/Engine/Source/
Runtime/Core/Private/Internationalization/ICUInternationalization.cpp] [Line: 141] 
Failed to open ICUInternationalization data file, missing or corrupt?
2019-12-24 16:20:30.276896-0300 Battletank-Mac-DebugGame[47129:2010283] [UE4] Assertion failed: !Singleton [File:/Users/build/Build/++UE4/Sync/Engine/Source/Runtime/Core/Private/Internationalization/ICURegex.cpp] [Line: 75]
2019-12-24 16:20:30.820263-0300 Battletank-Mac-DebugGame[47129:2010283] [UE4] Assertion failed: !Singleton [File:/Users/build/Build/++UE4/Sync/Engine/Source/Runtime/Core/Private/Internationalization/ICUBreakIterator.cpp] [Line: 15]

That seems like you aren’t using the Editor version. It should be “BattletankEditor Mac Debug”

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.