rojo-rbx / run-in-roblox

Run a place, model, or individual script inside Roblox Studio, integrating with command line tools
MIT License
53 stars 22 forks source link

Thread main panics whenever you attempt to run a place #12

Closed Jaguar-515 closed 4 years ago

Jaguar-515 commented 4 years ago

Whenever you attempt to run a place, it always makes the thread main panic.

image

Jaguar-515 commented 4 years ago

Revisiting this bug, it appears that it panics when Lua code isn't provided even though the place file contains it.

Below is a .zip file that'll let you attempt to reproduce this. Make sure to read the README in the file for instructions to reproduce this.

repro.zip

LPGhatguy commented 4 years ago

I believe this behavior itself is not a bug in run-in-roblox, but having a panic here is definitely a bug.

It's a known limitation that the code in your game, since run-in-roblox has no way to actually start playing the place as far as I can tell. Because of that, the actual code that runs has to be passed into the game and is run as a plugin, not like a normal game.

We might be able to figure out some undocumented flags to pass to Roblox Studio to get it to play, but until then, it's a requirement to pass code to run explicitly.

LPGhatguy commented 4 years ago

This case should no longer panic.