game.JobId returning ""

Screen Shot 2020-09-18 at 19.01.16

Any idea why im not getting a result when trying to print game.JobId, I’ve even tried just directly printing game.JobId without setting it as a variable and it still returns “”.

Source: DataModel | Documentation - Roblox Creator Hub

Description:

This property is a unique identifier for the game server instance running.

The JobId is a universally unique identifier (UUID) meaning that no two servers, past or present, will ever have the same JobId.

JobId defaults to an empty string in Roblox Studio.

You can most likely get a valid job id when your game is run from the Roblox player.

1 Like

I’m pretty sure for most API they display not working in studio as a banner :thinking:

Might file a dev hub request for it to be more clear

1 Like