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:
4.15.3-3450819+++UE4+Release-4.15
4.16.1-3466753+++UE4+Release-4.16
4.17.0-3492074+++UE4+Dev-Main
"AdditionalPluginDirectories": [ "../../../../ProjectName/Plugins" ]
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): libUE4.so!FDebug::LogAssertFailedMessage(char const*, char const*, int, wchar_t const*, ...) 06-23 15:24:14.467: D/UE4(14626): libUE4.so!FProjectDescriptor::AddPluginDirectory(FString const&) 06-23 15:24:14.467: D/UE4(14626): libUE4.so!FProjectDescriptor::Read(FJsonObject const&, FString const&, FText&) 06-23 15:24:14.467: D/UE4(14626): libUE4.so!FProjectDescriptor::Load(FString const&, FText&) 06-23 15:24:14.467: D/UE4(14626): libUE4.so!FProjectManager::LoadProjectFile(FString const&) 06-23 15:24:14.467: D/UE4(14626): libUE4.so!FEngineLoop::PreInit(wchar_t const*) 06-23 15:24:14.467: D/UE4(14626): libUE4.so!FEngineLoop::PreInit(int, wchar_t**, wchar_t const*) 06-23 15:24:14.467: D/UE4(14626): libUE4.so!AndroidMain(android_app*) 06-23 15:24:14.467: D/UE4(14626): libUE4.so!android_main() 06-23 15:24:14.467: D/UE4(14626): libUE4.so![Unknown]() 06-23 15:24:14.467: D/UE4(14626): libc.so![Unknown]() 06-23 15:24:14.467: D/UE4(14626): libc.so![Unknown]()
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-46455 in the post.
0 |
Component | UE - Platform - Mobile |
---|---|
Affects Versions | 4.15, 4.16, 4.17 |
Target Fix | 4.17 |
Created | Jun 23, 2017 |
---|---|
Resolved | Jul 11, 2017 |
Updated | Sep 16, 2019 |