The error reported above occurs only on the virtual machine player and the 1st time I play the game in Studio on the VM.
If I stop the game and play again, the error does not occur.
But after some time, the problem repeats itself.
Issue Area: Studio Issue Type: Other Impact: Low Frequency: Sometimes Date First Experienced: 2022-06-16 00:06:00 (-03:00)
Is this error from your code, or from Roblox code?
You need to pcall and poll on GetCore because feature registration is not guaranteed before your code runs. Using a VM is likely altering the execution order of the script responsible for registering that feature, hence the error only on VM.
It’s a Roblox code (ChatMain), as shown in the image.
Theoretically, OS in a VM should have the same behavior as in a host. And especially the software installed on it. In fact, the 1st time and the only software I saw a different behavior was in Studio.
I’m already tired of it…
EVERY TIME I go to test the game, at least 1 or 2 times I get interrupted by this absurd error and I have to keep trying again until I get the game to start…
It has happened that I have tried MORE THAN 10 TIMES until the error disappears.
It looks like I’m trying to start an old engine…
And this problem has nothing to do with my installation of Studio since it occurs in the same way in 2 different installations (on the VM and on my PC - Host).
Could someone from Roblox pay some attention to this error?
GetCore API don’t always work. They should be wrapped in a pcall.
All pcallable API including all APIs which use HTTP in the backend can always fail and the game should function even if the API fails, at least to the extent possible. Proper error handling should always be done.
I shipped a fix for this last week but forgot to follow up on the thread, sorry! Glad to hear you are no longer experiencing the issue though and thanks for your report.