Berserk-Games / atom-tabletopsimulator-lua

Tabletop Simulator scripting package for Atom.
Other
36 stars 27 forks source link

Save and play breaks when script spawns tablet #144

Closed IanBellomy closed 3 years ago

IanBellomy commented 3 years ago

macOS 11.4 Atom: 1.57

This breaks save and play after running once or twice:

-- Global
function onLoad()
    t = spawnObject({
      type = "Tablet"
    })
    t.Browser.url = "http://Google.com"
end
IanBellomy commented 3 years ago

Video Example: 'Save and play' works twice then fails thereafter.

https://user-images.githubusercontent.com/17239616/123116269-bff3f900-d40e-11eb-9b47-5d158b969215.mp4

IanBellomy commented 3 years ago

Maybe related? https://github.com/Berserk-Games/atom-tabletopsimulator-lua/issues/110

I'm running into S&P breaking intermittently without this specific code too.

IanBellomy commented 3 years ago

Yea, it's not tablet related -- S&P just breaks on Mac. The more general #110 is accurate.