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

Errors during UE5 FullReimport #71

Open
pelemiq opened this issue Apr 18, 2022 · 4 comments
Open

Errors during UE5 FullReimport #71

pelemiq opened this issue Apr 18, 2022 · 4 comments

Comments

@pelemiq
Copy link

pelemiq commented Apr 18, 2022

Hello,

I have been trying to import my articy project into unreal, with both marketplace plugin, and compiled github version, on a empty unreal project

Frist problem: not detectin .articyue4 file

  1. Export project to unreal´s content folder
  2. Open UE5, then open Articy Menu
  3. Full reimport

LogArticyEditor: Warning: Could not find articy import data asset.
LogArticyEditor: Warning: Attempting to create from .articyue4 export file
LogArticyEditor: Error: Failed creation of import data asset.
No .articyue4 file found in directory /Game. Please check the plugin settings for the correct articy directory and try again.

.articyue4 does exists, I can skip this problem by creating a new folder called "ArticyAssets" and exporting to Content/ArticyAssets
Then change articy directory from project settings to "/Game/ArticyAssets"

Now try the full reimport again, after some minutos of compiling c++ code, this error is prompted:

image

And this is the complete log:

LogArticyEditor: Warning: Could not find articy import data asset.
LogArticyEditor: Warning: Attempting to create from .articyue4 export file
LogFactory: FactoryCreateFile: ArticyImportData with ArticyJSONFactory (0 0 C:/Users/pelem/Desktop/PruebasArticy/proyectoue4/articyPruebas/Content/ArticyAssets/PruebaPequenya.articyue4)
LogArticyEditor: Skipped import of Point as it is a predefined type (FVector2D).
LogArticyEditor: Skipped import of Color as it is a predefined type (FLinearColor).
LogArticyEditor: Skipped import of Size as it is a predefined type (FArticySize).
LogArticyEditor: Skipped import of Rect as it is a predefined type (FArticyRect).
LogArticyEditor: Skipped import of PreviewImage as it is a predefined type (UArticyPreviewImage).
LogArticyEditor: Skipped import of Transformation as it is a predefined type (UArticyTransformation).
LogArticyEditor: Skipped import of OutgoingConnection as it is a predefined type (UArticyOutgoingConnection).
LogArticyEditor: Skipped import of IncomingConnection as it is a predefined type (UArticyIncomingConnection).
LogArticyEditor: Skipped import of OutputPin as it is a predefined type (UArticyOutputPin).
LogArticyEditor: Skipped import of InputPin as it is a predefined type (UArticyInputPin).
LogArticyEditor: Skipped import of LocationAnchor as it is a predefined type (FArticyLocationAnchor).
Candidate modules for hot reload:
articyPruebas
Launching UnrealBuildTool... [C:/Program Files/Epic Games/UE_5.0/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe -ModuleWithSuffix=articyPruebas,0545 articyPruebasEditor Win64 Development -Project="C:/Users/pelem/Desktop/PruebasArticy/proyectoue4/articyPruebas/articyPruebas.uproject" "C:/Users/pelem/Desktop/PruebasArticy/proyectoue4/articyPruebas/articyPruebas.uproject" -IgnoreJunk]
Warning: Starting HotReload took 0.0s.
Cmd: OBJ SAVEPACKAGE PACKAGE="/Game/ArticyAssets/PruebaPequenya" FILE="../../../../../../Users/pelem/Desktop/PruebasArticy/proyectoue4/articyPruebas/Content/ArticyAssets/PruebaPequenya.uasset" SILENT=true
LogPackageLocalizationCache: Processed 31 localized package path(s) for 1 prioritized culture(s) in 0.005658 seconds
LogSavePackage: Moving output files for package: /Game/ArticyAssets/PruebaPequenya
LogSavePackage: Moving '../../../../../../Users/pelem/Desktop/PruebasArticy/proyectoue4/articyPruebas/Saved/PruebaPequenya03D71A9840E7C0B71132E69C510B0AB0.tmp' to '../../../../../../Users/pelem/Desktop/PruebasArticy/proyectoue4/articyPruebas/Content/ArticyAssets/PruebaPequenya.uasset'
LogArticyEditor: Warning: Successfully created import data asset. Continuing process.
AssetCheck: New page: Asset Save: PruebaPequenya
LogContentValidation: Display: Validating ArticyImportData /Game/ArticyAssets/PruebaPequenya.PruebaPequenya
LogSlate: Window 'Articy import error' being destroyed
Message dialog closed, result: Ok, title: Articy import error, text: Aborting import process. No cache available to restore. Deleting import asset but leaving generated code intact. Please delete manually in Source/ArticyGenerated if necessary and rebuild. Reason: OtherCompilationError.
LogUObjectHash: Compacting FUObjectHashTables data took 0.96ms
LogUObjectHash: Compacting FUObjectHashTables data took 0.63ms
LogUObjectHash: Compacting FUObjectHashTables data took 0.50ms
LogUObjectHash: Compacting FUObjectHashTables data took 0.33ms
CompilerResultsLog: New page: Compilation - Apr 19, 2022, 2:46:13 AM
CompilerResultsLog: Log file: C:\Users\pelem\AppData\Local\UnrealBuildTool\Log.txt
CompilerResultsLog: Invalidating makefile for articyPruebasEditor (working set of source files changed)
CompilerResultsLog: C:\Users\pelem\Desktop\PruebasArticy\proyectoue4\articyPruebas\Plugins\ArticyImporterForUnreal-master\ArticyImporter.uplugin: warning: Unknown platform Win32 while parsing allow list for module descriptor ArticyRuntime
CompilerResultsLog: C:\Users\pelem\Desktop\PruebasArticy\proyectoue4\articyPruebas\Plugins\ArticyImporterForUnreal-master\ArticyImporter.uplugin: warning: Unknown platform Win32 while parsing allow list for module descriptor ArticyEditor
CompilerResultsLog: Parsing headers for articyPruebasEditor
CompilerResultsLog: Running UnrealHeaderTool "C:\Users\pelem\Desktop\PruebasArticy\proyectoue4\articyPruebas\articyPruebas.uproject" "C:\Users\pelem\Desktop\PruebasArticy\proyectoue4\articyPruebas\Intermediate\Build\Win64\articyPruebasEditor\Development\articyPruebasEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="C:\Users\pelem\AppData\Local\UnrealBuildTool\Log_UHT.txt" -installed
CompilerResultsLog: Reflection code generated for articyPruebasEditor in 3,2109444 seconds
CompilerResultsLog: Building articyPruebasEditor...
CompilerResultsLog: Using Visual Studio 2019 14.29.30140 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).
CompilerResultsLog: [Adaptive Build] Excluded from articyPruebas unity file: articyPruebas.cpp, MyActor.cpp
CompilerResultsLog: Determining max actions to execute in parallel (4 physical cores, 8 logical cores)
CompilerResultsLog: Executing up to 4 processes, one per physical core
CompilerResultsLog: Building 8 actions with 4 processes...
CompilerResultsLog: [1/8] Compile PruebapequenyaExpressoScripts.gen.cpp
CompilerResultsLog: C:\Users\pelem\Desktop\PruebasArticy\proyectoue4\articyPruebas\Source\articyPruebas\ArticyGenerated\PruebapequenyaExpressoScripts.h(7): fatal error C1083: Cannot open include file: 'ArticyRuntime/Public/ArticyExpressoScripts.h': No such file or directory
CompilerResultsLog: [2/8] Compile PruebapequenyaDatabase.gen.cpp
CompilerResultsLog: C:\Users\pelem\Desktop\PruebasArticy\proyectoue4\articyPruebas\Source\articyPruebas\ArticyGenerated\PruebapequenyaDatabase.h(7): fatal error C1083: Cannot open include file: 'ArticyRuntime/Public/ArticyDatabase.h': No such file or directory
CompilerResultsLog: [3/8] Compile PruebapequenyaArticyTypes.gen.cpp
CompilerResultsLog: C:\Users\pelem\Desktop\PruebasArticy\proyectoue4\articyPruebas\Source\articyPruebas\ArticyGenerated\PruebapequenyaArticyTypes.h(7): fatal error C1083: Cannot open include file: 'ArticyRuntime/Public/ArticyBaseInclude.h': No such file or directory
CompilerResultsLog: [4/8] Compile PruebapequenyaInterfaces.gen.cpp
CompilerResultsLog: [5/8] Compile PruebapequenyaGlobalVariables.gen.cpp
CompilerResultsLog: C:\Users\pelem\Desktop\PruebasArticy\proyectoue4\articyPruebas\Source\articyPruebas\ArticyGenerated\PruebapequenyaGlobalVariables.h(7): fatal error C1083: Cannot open include file: 'ArticyRuntime/Public/ArticyGlobalVariables.h': No such file or directory
LogMainFrame: MainFrame: Module compiling took 148.282 seconds
Warning: HotReload failed, recompile failed

I am using Articy free version, we are currently working on integrating articy conversations on our game, so this is blocking our develoment :(

Here is the link to my dummy articy project, we need to get it working with our actual project, but this is the first step
PruebaPequenya.zip

Thanks!

@christian-schildt
Copy link
Contributor

Hi pelemiq,

It seems like that once the .articyue4 is not properly detected (e.g. due to a failed import of the articy data), it needs to be deleted manually so that Unreal detects it or changes to it again.

But I was not able to reproduce the compilation errors you have, even with your articy project. Epic Games released UE 5.0.1 a few hours ago, which fixes a similar error when trying to import the articy data. Maybe it is also related to this issue.
If it still does not work after an UE update, can you send me the empty project in which the issue occurs?

Best regards,
Christian

@pelemiq
Copy link
Author

pelemiq commented Apr 20, 2022

Hi christian,

I have updated UE5 to 5.0.1, still having the same issues when trying to find the .articyue4 file, it is a fresh new project using the third person template, with the plugin installed on it

image

link to the project
https://drive.google.com/file/d/1stxNl4GijJxE9eptSyUK88SJbczhKi5w/view?usp=sharing

@christian-schildt
Copy link
Contributor

Hi pelemiq,

I got it running. The issue was that "ArticyRuntime" was not added as a public dependency to the Cpp.Build.cs file (see Adjust build configuration for help). After that change the import succeeded on my end.

In order to import again, I had to use the workaround to delete \Content\PruebaPequenya.articyue4 and export again from articy. One time I had to restart the engine bevor exporting again from articy. After this workaround Unreal's import prompt will pop up again, which will trigger our importer after accepting it.

Best regards,
Christian

@pelemiq
Copy link
Author

pelemiq commented Apr 24, 2022

Nice, It is working now!

Yes, i forgot to add the dependecy for this project, but I did it on the previous tests.

I think that the problem is that I exported the articy project, and I was trying to import everything (including images) using the articy "Full Reimport" button, instead of that, I used Unreal's import prompt, and that worked for me

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

No branches or pull requests

2 participants