You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lambda is called successfully with the right value in the moduleToLoad. But for some reason I still get this error:
An unexpected error has occurred: sol: runtime error: ..scripts\core\input.lua:2: module 'bindings.input' not found:
no field package.preload['bindings.input']
Am I supposed to only pass lua_CFunction to the add_package_loader or is it just my approach missing something?
The text was updated successfully, but these errors were encountered:
I've seen the code example of how to use the
add_package_loader
but I'm not sure if I can use it by passing a simpler lambda.This is what I'm trying to do:
The lambda is called successfully with the right value in the moduleToLoad. But for some reason I still get this error:
Am I supposed to only pass lua_CFunction to the
add_package_loader
or is it just my approach missing something?The text was updated successfully, but these errors were encountered: