Original Discord Post by allie2k | 2024-10-02 18:19:26
When casting to a convai class, or when using actor variables set to a convai class (or a class derived from a convai class, like a pawn that inherits the ConvaiPlayer) packaging fails consistently with a “failed to compile” error pointing to whatever node implements that variable. (Most often cast to player pawn. Any use of that node causes packaging to fail compilation)
Using 5.4.4 and the latest Convai plugin. The node compiles fine and play-in-editor has no issues. No compilation issues until I package.
I can instead create an instance-editable blank actor variable and select the pawn in-world, but I have a lot of logic tied to creating variable references to the player class so curious if this rings any bells