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
I will note I did a quick test of changing the global name to something else, and it didn't error so this weirdly seems to be specific to setting the game global?
not all properties will cause lune to call this function, so something as simple as game.Name will not call it
the cause of the issue: when a script is in the process of being required, the app data container is borrowed by that require process, so if you use a library that needs the app container, you will get the error.
the easiest way to do that, is to get/set a property that doesnt exist at all which causes lune to check all alternatives (one of them being the function that we need to call)
localroblox=require("@lune/roblox")
game=roblox.Instance.new("DataModel")
pcall(function()
returngame.Shutdownend)
-- now you can continue
the following code errors with
The text was updated successfully, but these errors were encountered: