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

UE5 Support #41

Merged
merged 6 commits into from
Aug 19, 2021
Merged

UE5 Support #41

merged 6 commits into from
Aug 19, 2021

Conversation

brwarner
Copy link
Contributor

Adding UE5 support through the new ToolsMenu API along with appropriate updates to the Readme.

@brwarner
Copy link
Contributor Author

Builds and runs on both UE4.26 and UE5 Early Access 2.

@brwarner brwarner merged commit 649fac7 into development Aug 19, 2021
@brwarner brwarner deleted the development-UE-5 branch August 19, 2021 17:15
brwarner added a commit that referenced this pull request Aug 21, 2021
* Updated to latest UE API for UE 4.27 and UE 5

* Fixed preprocessor directives for UE 5

* Fixed script method string return type

* Update ArticyImportData.cpp

Fixed a Bug where <id>.<id> string patterns were replaced by an GV access even if that pattern occured within a literal string.

* UE5 Support (#41)

* Update README.md

Added info for UE 5

* Fixed missing articy toolbar buttons. They now live in the Settings menu.

* Removed note about broken UI from Readme

* Guarding UE5 changes with #if's

* Updating Readme so it applies to both UE4 and 5

* Fixing registration order

Co-authored-by: Peter Sabath <[email protected]>

* Use CheckoutPackages and SavePackages instead of PromptForCheckoutAndSave (#42)

* Updating Changelog

Co-authored-by: Christian Schildt <[email protected]>
Co-authored-by: Peter Sabath <[email protected]>
@jahxsis
Copy link

jahxsis commented Aug 29, 2021

When I import to Unreal 5, I only get about 30 .h files in"C++ Classes>Articy Generated," No Blueprints, objects, or anything else to interact with. Is it supposed to be making more files than that, or am I doing something wrong?

@brwarner
Copy link
Contributor Author

When I import to Unreal 5, I only get about 30 .h files in"C++ Classes>Articy Generated," No Blueprints, objects, or anything else to interact with. Is it supposed to be making more files than that, or am I doing something wrong?

Hey @jahxsis,

You should be getting objects stored in database and package assets created under Content/ArticyGenerated as usual. Are you getting any errors or warnings in your Output window in Unreal? Anything that might provide a hint about what's going wrong? Also, what happens if you try to trigger a Full Reimport via the button under the Settings menu on the far right of the level editor screen (see the image in the Readme).

If the problem persists, can you create a new Issue in Github? It'll be easier to track instead of replying to this closed pull request.

@jahxsis
Copy link

jahxsis commented Aug 29, 2021 via email

@brwarner
Copy link
Contributor Author

Hey Joel,

Have you used Articy for Unreal before? Or is this the first time you're trying it on any version?

The Articy for Unreal importer doesn't really create any Blueprints or working game objects for you. What it does is create C++ classes, structs, and enums to mirror the data in your Articy project, then creates instances of those objects for each entity, flow node, etc. and stores them in package objects like the one you're seeing in Content/ArticyGenerated.

To ensure it's working correctly, create a Articy Flow Debugger object from the Create menu and place it on your level.

image

You should then be able to edit its "Start On" property.

image

When you click the "None" drop-down, you should see a list of all the flow nodes in your imported Articy project.

Screen Shot 08-29-21 at 10 05 AM

If you see that, then the import was successful. You can now start building your own blueprints/code to do something with all the data you importer from Articy. I suggest following the tutorial on our Readme starting from Using the API to build a simple UI interface that lets the player navigate a simple branching conversation.

@jahxsis
Copy link

jahxsis commented Aug 29, 2021 via email

@jahxsis
Copy link

jahxsis commented Aug 29, 2021 via email

@brwarner
Copy link
Contributor Author

Hey,

Here's the link again: https://github.com/ArticySoftware/ArticyImporterForUnreal#using-the-api

You'll need some existing familiarity with Unreal and Blueprint.

If you have more questions, can you ask them as new issue in Github here: https://github.com/ArticySoftware/ArticyImporterForUnreal/issues . This is a closed pull request so it doesn't appear as a notification anywhere when you reply to it.

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

Successfully merging this pull request may close these issues.

3 participants