Having wildcards in the path for AdditionalPluginDirectories causes apps on Android to crash on launch. When testing this on iOS, the app did not crash but froze at the splash screen instead. Android logs are provided but I'm currently having difficulties getting logs off the iOS device for this issue.

Note: It's possible that this crash is expected, based off the assert message. If that is the case, another bug will likely need to go in as the wildcards that are causing this are automatically added to the path when a plugin is enabled/disabled in the editor.

Regression?: No
This also occurred in 4.15.3-3450819+++UE4+Release-4.15

Branches tested:

Steps to Reproduce
  1. Create a project
  2. Edit the .uproject file to contain the following information:
    "AdditionalPluginDirectories": [
  3. Package the project for Android
  4. Install the app and launch it
    Result: The app crashes upon launch
    Expected: The app launches successfully
06-23 15:24:14.467: D/UE4(14626): Assertion failed: IsRootedPath(AdditionalDir) [File:D:\Build\++UE4+Release-4.15+Compile\Sync\Engine\Source\Runtime\Projects\Private\ProjectDescriptor.cpp] [Line: 266] 
06-23 15:24:14.467: D/UE4(14626):!FDebug::LogAssertFailedMessage(char const*, char const*, int, wchar_t const*, ...) 
06-23 15:24:14.467: D/UE4(14626):!FProjectDescriptor::AddPluginDirectory(FString const&) 
06-23 15:24:14.467: D/UE4(14626):!FProjectDescriptor::Read(FJsonObject const&, FString const&, FText&) 
06-23 15:24:14.467: D/UE4(14626):!FProjectDescriptor::Load(FString const&, FText&) 
06-23 15:24:14.467: D/UE4(14626):!FProjectManager::LoadProjectFile(FString const&) 
06-23 15:24:14.467: D/UE4(14626):!FEngineLoop::PreInit(wchar_t const*) 
06-23 15:24:14.467: D/UE4(14626):!FEngineLoop::PreInit(int, wchar_t**, wchar_t const*) 
06-23 15:24:14.467: D/UE4(14626):!AndroidMain(android_app*) 
06-23 15:24:14.467: D/UE4(14626):!android_main() 
06-23 15:24:14.467: D/UE4(14626):![Unknown]() 
06-23 15:24:14.467: D/UE4(14626):![Unknown]() 
06-23 15:24:14.467: D/UE4(14626):![Unknown]() 

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-46455 in the post.

Login to Vote

ComponentUE - Platform - Mobile
Affects Versions4.154.164.17
Target Fix4.17
Fix Commit3530379
Main Commit3555226
Release Commit3530379
CreatedJun 23, 2017
ResolvedJul 11, 2017
UpdatedSep 16, 2019
View Jira Issue