#Has anyone of you encountered the error: 'Attempt to load a function from a different Lua VM'? What

1 messages · Page 1 of 1 (latest)

lime osprey
#

In the title you have everything. Help!!!

spare fossil
#

can you send context

#

its a parallel luau issue, right?

pine crown
#

show the output view

#

or the popup

lime osprey
# spare fossil can you send context

Yes, I am using a parallel luau. It's a script management system, and I made it so that if the isParallel attribute of the module is true, then the start function from the module is transferred to the actor using SandMassage(). It turned out that the function in the main thread is not the same as the function in the parallel thread. My idea for solving this is to use SharedTable. Am I thinking correctly? Is my reasoning correct?

#

I have never been in such a situation.

spare fossil
#

but you have narrowed down the issue correctly