-
Notifications
You must be signed in to change notification settings - Fork 212
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
Packaging Support #16
Comments
By building do you mean packaging? what version of plugin and ue4? |
Yep I'm packaging. Steps: Package for win x64. I get an error from UEPython Package for win x64. Then I get the error Fatal error: [File:D:\Build++UE4+Release-4.17+Compile\Sync\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp] [Line: 3013] |
I haven't tested packaging properly yet, it looks like the load order in a packaged game is different than in editor mode. Adding this bug to the list to look over for 4.18. You may be able to fix it by changing |
Thanks! I'll take a look! |
Copied answer from #34 The most thorough coverage of packaging can be found at this issue: 20tab/UnrealEnginePython#163 If you can get the UnrealEnginePython plugin to package, the rest should package correctly. Consider first trying a smaller UnrealEnginePython project and getting it to package with it seeing your python dll correctly, then move on to including all the tensorflow things and see where it breaks. Packaging is currently out of scope for my work atm so I'm depending on contributors to help fix the packaging situation. If you get something working, share here so we can get this working out of the box for future builds! |
Ok got something to package after fixing minor compilation bugs for development mode. Currently requires to manually copy contents of Packaged build is still subject to 240 char limit, so project has to be placed somewhere with a short path (SN: another ping to getting #36 implemented). |
Support added in https://github.com/getnamo/tensorflow-ue4/releases/tag/0.9.3, see https://github.com/getnamo/tensorflow-ue4#packaging for instructions. Let me know if any errors not mentioned crop up. |
Updated release https://github.com/getnamo/tensorflow-ue4/releases/tag/0.10.0 it now won't generate the pathname too long error during build as it won't copy This is as clean as I could get the packaging setup to be due to staging paths being too long during the packing process. |
Hey! Thanks for this update, i really appreciate it 👍. Awesome job |
Thanks for the feedback! Agree on the black screen on startup problem, I opened a new issue #38 for a suggested enhancement to fix this. May take some time before I can address it though. |
Hey @getnamo! I just tried to package the project with UE4.21 and needed to adjust some stuff in order to get it working. First of all, the Python plugin wouldn't package properly due to an error in: "..\UnrealEnginePython\Source\UnrealEnginePython\Private\Wrappers\UEPyFFoliageInstance.cpp" Secondly, I tried to package it with the source code of all plugins without embedded python - didn't worked. First problem was that it couldn't find and copy the "Tensorflow.dll" from the TF plugin thirdparty folder -> the quick fix was to copy it from your binary release -> worked out. However, the MNIST sample project still wasn't functional. Afterwards, I tried it with including/to copy the embedded Python and thirdparty folder/files of the Python plugin from your TF plugin binaries and it worked! |
Update for UE4.22
|
Great spot, care to make a pull request with that addition? |
I did a quick build of the MNIST demo in the ue4-examples (win x64), but I get an error on launch:
AsyncLoading.cpp [Line: 3013]
Missing Dependency, request for SockedIOClientComponent but it hasn't been created yet.
The text was updated successfully, but these errors were encountered: