Basic Promise Library Crashes Studio

Reproduction Steps

What I’m trying to do:

I’m trying to use a Promise library in my code, and opted to use a third party library instead of my own implementation this time around.

However, whenever I add this module to my game in any way whatsoever, studio will crash completely. This locked me out of team created (luckily I was able to clear my drafts cache for that module alone, saving days of work from being lost), and is preventing me from using a fairly ubiquitous library.

Reproduction steps:

  1. Download the file linked below:
    CrashesUponOpen.rbxl (62.2 KB)
  2. Open the ModuleScript located at game.ReplicatedStorage.Promise
  3. Roblox will usually instantly crash. If this script was drafted / open by default on a Team Create place, you will crash every time you load into the team create place containing this module.

In some cases, the crash might not be instant, as script analysis is warming up. Try editing part of the script for a brief moment.

This crash happens whether or not certain beta features are enabled (intuitive debugger, scripts are nonstrict by default, etc.)

Device information:


Expected Behavior

Roblox Studio should not crash for any amount of code

Actual Behavior

Studio crashes when this specific code is placed in a module and opened.

Workaround

Use a different promise library, for now.

To fix Team Create from crashing / save days of lost work, I needed to go into the drafts folder and delete the specific draft containing this script.

On Mac:
/Users/[USERNAME]/Documents/Roblox/Sandbox/[PLACE_ID]/[USER_ID]/drafts

Issue Area: Studio
Issue Type: Crashing
Impact: High
Frequency: Constantly
Date First Experienced: 2022-10-24 00:10:00 (-06:00)
Date Last Experienced: 2022-10-24 00:10:00 (-06:00)

You can use rojo for now but this is a wierd issue ive never heard of before, can you send a video to make it more clear?

1 Like

@DataBrain Thanks for the bug report. I have been able to reproduce the issue and I am working on a bug fix for a future release.

2 Likes

This issue has been fixed some time ago, we forgot to post a response.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.