When working with various tracking modules and direct API actions, you may encounter a specific Lua-related error. This article explores the "Local Error: Process failed: Unrecognized Lua element on stack." error and practical solutions for resolving this technical challenge.
Unsupported Elements
The "Local Error: Process failed: Unrecognized Lua element on stack." error emerges in specific scenarios involving API interactions, particularly when:
- Attempting to use actions with attributes
- Attempting to use functions like
:getProperty
- Attempting to use Modules where an action with attribute is connected, even if the action is not used for tracking data.
Recommended Solutions
To mitigate and resolve this error, consider to implement hardcoded methods instead of attribute-based actions.
Since tracking data often requires offsets and limitations, these adjustments currently need to be implemented within a custom action using the pixc.callRefs()
command. The respective offsets must be applied within this function.
More details on pixc.callRefs()
PIXERA 25.1 INTER 33 | 17. March 2025 | J.B.