When compiling scripts with nwnsc that have an unpacked effect, this causes the compiled version to fire STACK UNDERFLOW errors. When compiled in toolset, it functions as expected.
Per Discord; it appears this is related to the inability to handle vectors in the struct.