Pasting a block of text into a script and backspacing on the new line hard crashing Studio

Sometimes, if you copy and paste a block of text into a script in Studio and press backspace on the new line created, it will hard crash studio with no error notification or anything.

I am not 100% sure exactly what is causing Studio to crash, I have tried different input types to try and hone in on the specific character or combination of characters and cannot find anything specific. What I’ve found is below:

  • Crash only appears to happen if the body of text you have ends with CR LF characters (to create a new line)
  • Pasted body has a number of different words which trigger syntax highlighting (appears to crash more consistently with syntax highlighting than non-keyword type words)
  • Bigger blocks of text will often crash on the 1st attempt to backspace after pasting, smaller blocks of text can also crash, but must be pasted many more times and then backspaced to crash.

Below, you can see a video of me simply copying a block of text from a google doc, and pasting it into a script. Upon pressing backspace, Studio just exits instantly.

System Information

Intel(R) Core(TM) i7-6700K CPU @ 4.00 GHz
32.0 GB Memory
NVIDIA GeForce GTX 1080

Beta Features

  • AI-Powered Code Completion
  • CSG Version 3
  • Save rig with Animation
  • Selection Improvements
  • Team Create Connection Indicator Rework

Expected behavior

Backspacing a new line should delete the new line and move the cursor to the end of the previous line.

A private message is associated with this bug report

4 Likes

Can confirm this happens on my computer as well as a friend of mine.

By pasting in a snippet of text and trying to modify any parts of the script, Roblox Studio crashes instantly with no error message.

This only happens when the AI-Powered Code Completion is enabled as a beta feature. Disabling this prevents Roblox Studio from crashing.

3 Likes

Thanks for the report. We filed a ticket to our internal database and we’ll keep you updated.

2 Likes

This issue should now be resolved.

2 Likes

Thank you!

Can confirm this is no longer an issue for me!

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