The-Chinese-Room / Inkpot

Inkpot - a container for Ink
MIT License
162 stars 18 forks source link

Inkpot Plugin not appearing in packaged builds? #65

Closed DorminVR closed 8 months ago

DorminVR commented 8 months ago

Everything is working just fine in editor, however when I package a shipping build for Windows I'm not seeing the text from my story appear. I believe the plugin isn't being included with the build, but I'm not sure why.

Here's how I'm packaging my build: package

And here is the directory where I was expecting to see Inkpot related files, but there appear to be none: buildirectory

Here is my build on Google Drive if it's helpful to poke around the directory.

Troubleshooting steps taken so far:

Any help would be much appreciated, thank you! This plugin has been amazing to work with so far.

TCR-Nick commented 8 months ago

When unreal creates a packaged build all the code is combined for the game, the DLLs for plugins only exist in development and debug. If you check the logs ( in a dev\debug build; [your packaged folder]\Windows\InkpotDemo\Saved\Logs ) then you'll see that there should be output from Inkpot. What has happened here is that there is a timing issue for BeginPlay between the gamemode and the level blueprint. Adding in a DelayUntilNextTick on the level blue print begin play seems to fix.

image

DorminVR commented 8 months ago

Great find, that fixed the issue for me. Now I've got Inkpot working in my game with full feature parity, appreciate all your help!

With Inkpot fully implemented I'll finally be able to release a localized version of the game for a new audience. (The Unreal Ink plugin I was previously using didn't support non-ascii characters). Thanks again for the quick replies and helping me track down the cause of these issues.

TCR-Nick commented 8 months ago

Glad you got it sorted.