New error in CorePackages.Workspace.Packages._Workspace.ExperienceLoadingScript.ExperienceLoadingScript.loadingScript

After a recent Roblox update, we are seeing this error in our experience. It doesn’t appear to affect the experience, but does fill our logs. To our knowledge we haven’t changed anything in the experience loading process to trigger this. It happens consistently in Studio and the client.

Apologies if this is a duplicate, I tried using DevForum search but couldn’t find anything similar that was recent.

  15:56:21.362  CorePackages.Packages._Index.RoactCompat.RoactCompat.RoactTree:133: attempt to index nil with 'root'  -  Client - RoactTree:133
  15:56:21.362  Stack Begin  -  Studio
  15:56:21.362  Script 'CorePackages.Packages._Index.RoactCompat.RoactCompat.RoactTree', Line 133 - function unmount  -  Studio - RoactTree:133
  15:56:21.363  Script 'CorePackages.Workspace.Packages._Workspace.ExperienceLoadingScript.ExperienceLoadingScript.loadingScript', Line 139  -  Studio - loadingScript:139
  15:56:21.363  Script 'CorePackages.Workspace.Packages._Workspace.ExperienceLoadingScript.ExperienceLoadingScript.loadingScript', Line 192  -  Studio - loadingScript:192
  15:56:21.363  Stack End  -  Studio
8 Likes

We have reverted a change that we believe may be related to this error.

Can you let us know if you are continuing to see this in your experience? You may need to restart your app/Studio to get the fix.

2 Likes

Not OP but I had this error yesterday when updating a loading screen script and I can confirm after restarting studio that the error is no longer being thrown.

It seems that although the error no longer appears, several sounds in the world never load for the client. I’m not sure how this could be related, but after 10 consecutive test runs of adding and removing my ‘game.ReplicatedFirst:RemoveDefaultLoadingScreen()’ line, the issue with the sounds is not present when the line has been removed.