Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Warning: No ArticyDraftDatabase was found." in Standalone Game #65

Open
PartlyAtomic opened this issue Oct 22, 2021 · 6 comments
Open

Comments

@PartlyAtomic
Copy link

PartlyAtomic commented Oct 22, 2021

Database isn't found when running as Standalone Game. However, I've verified that it works in PIE and packaged games.


[2021.10.22-01.24.47:265][  0]LogTemp: Warning: Cloning ArticyDatabase.
[2021.10.22-01.24.47:266][  0]LogArticyRuntime: Warning: No ArticyDraftDatabase was found.
[2021.10.22-01.24.47:266][  0]LogOutputDevice: Warning: 

Script Stack (0 frames):

[2021.10.22-01.24.47:577][  0]LogStats: FPlatformStackWalk::StackWalkAndDump -  0.311 s
[2021.10.22-01.24.47:577][  0]LogOutputDevice: Error: === Handled ensure: ===
[2021.10.22-01.24.47:577][  0]LogOutputDevice: Error: 
[2021.10.22-01.24.47:577][  0]LogOutputDevice: Error: Ensure condition failed: database [File:G:/UnrealProjects/PartlyAtomic/HiShop/Plugins/ArticyImporterForUnreal/Source/ArticyRuntime/Private/ArticyRef.cpp] [Line: 39]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: Could not get articy database
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: Stack: 
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ffac3425b99 UE4Editor-ArticyRuntime.dll!<lambda_3a7a50a622fa432ba6c571c9f511ed74>::operator()() [G:\UnrealProjects\PartlyAtomic\HiShop\Plugins\ArticyImporterForUnreal\Source\ArticyRuntime\Private\ArticyRef.cpp:39]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ffac3424103 UE4Editor-ArticyRuntime.dll!DispatchCheckVerify<bool,<lambda_3a7a50a622fa432ba6c571c9f511ed74> >() [G:\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Misc\AssertionMacros.h:165]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ffac33c4489 UE4Editor-ArticyRuntime.dll!FArticyRef::GetObjectInternal() [G:\UnrealProjects\PartlyAtomic\HiShop\Plugins\ArticyImporterForUnreal\Source\ArticyRuntime\Private\ArticyRef.cpp:39]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ffac337dacc UE4Editor-ArticyRuntime.dll!FArticyRef::GetObject<UArticyObject>() [G:\UnrealProjects\PartlyAtomic\HiShop\Plugins\ArticyImporterForUnreal\Source\ArticyRuntime\Public\ArticyRef.h:150]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ffac33e2931 UE4Editor-ArticyRuntime.dll!UArticyFlowPlayer::SetCursorToStartNode() [G:\UnrealProjects\PartlyAtomic\HiShop\Plugins\ArticyImporterForUnreal\Source\ArticyRuntime\Private\ArticyFlowPlayer.cpp:356]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ffac33aa7ae UE4Editor-ArticyRuntime.dll!UArticyFlowPlayer::BeginPlay() [G:\UnrealProjects\PartlyAtomic\HiShop\Plugins\ArticyImporterForUnreal\Source\ArticyRuntime\Private\ArticyFlowPlayer.cpp:28]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ffaed097362 UE4Editor-Engine.dll!AActor::BeginPlay() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\Actor.cpp:3557]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ffaed0a0bdf UE4Editor-Engine.dll!AActor::DispatchBeginPlay() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\Actor.cpp:3519]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ffaee4a9dd5 UE4Editor-Engine.dll!AWorldSettings::NotifyBeginPlay() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\WorldSettings.cpp:247]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ffaed7ec951 UE4Editor-Engine.dll!AGameStateBase::HandleBeginPlay() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\GameStateBase.cpp:205]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ffaee44de7e UE4Editor-Engine.dll!UWorld::BeginPlay() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\World.cpp:4416]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ffaee37c951 UE4Editor-Engine.dll!UEngine::LoadMap() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\UnrealEngine.cpp:13264]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ffaee3285e3 UE4Editor-Engine.dll!UEngine::Browse() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\UnrealEngine.cpp:12463]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ffaed80db2e UE4Editor-Engine.dll!UGameInstance::StartGameInstance() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\GameInstance.cpp:584]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ff7c7f43290 UE4Editor.exe!FEngineLoop::Init() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4056]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ff7c7f60e32 UE4Editor.exe!GuardedMain() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:160]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ff7c7f610aa UE4Editor.exe!GuardedMainWrapper() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ff7c7f640cd UE4Editor.exe!LaunchWindowsStartup() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:273]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ff7c7f75984 UE4Editor.exe!WinMain() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:320]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ff7c7f7853a UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ffb6ee57034 KERNEL32.DLL!UnknownFunction []
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: [Callstack] 0x00007ffb70d42651 ntdll.dll!UnknownFunction []
[2021.10.22-01.24.47:578][  0]LogOutputDevice: Error: 
[2021.10.22-01.24.47:580][  0]LogStats:                SubmitErrorReport -  0.000 s
[2021.10.22-01.24.48:955][  0]LogStats:                    SendNewReport -  1.376 s
[2021.10.22-01.24.48:955][  0]LogStats:             FDebug::EnsureFailed -  1.689 s

@PartlyAtomic
Copy link
Author

I've found a temporary fix on the unreal forums: https://forums.unrealengine.com/t/asset-registry-why-does-this-assert-only-in-standalone-from-editor/101732/5

By adding the following to Game->Asset Manager->Primary Asset Types to Scan in Project Settings, Standalone now works correctly.
image

@brwarner
Copy link
Contributor

Does it work if you try this?

https://github.com/ArticySoftware/ArticyImporterForUnreal#error-could-not-get-articy-database-when-running-a-packaged-build

I'm guessing the problem is that Unreal doesn't know the Articy Database asset is required for the build, so it doesn't cook it. I haven't used the Asset Manager settings before. Usually I just suggest you add the asset to the list to cook.

@PartlyAtomic
Copy link
Author

That worked for the packaged build, but not Standalone

@brwarner
Copy link
Contributor

Interesting... Thanks for reporting this. I'll do some research and update our Readme documentation for anyone else who runs into this.

@brwarner brwarner added this to the v1.3.2 milestone Oct 22, 2021
@brwarner brwarner self-assigned this Oct 22, 2021
@brwarner brwarner removed this from the v1.3.2 milestone Nov 8, 2021
@DarioVangelista
Copy link

I have encountered the same issue, even in the ManiacMansion demo. Not a big deal at the moment.

@brwarner brwarner removed their assignment Dec 14, 2021
@wahoozerman
Copy link
Contributor

This is still occurring, though in UE5 the above solutions do not cleanly solve the issue any longer.

It seems the correct solution is to give the Articy classes proper overrides for GetPrimaryAssetID so that they can be found by the asset manager. Then add them to the asset manager in the project settings as described above. Unfortunately doing this requires a custom change to the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants