The “Self View” UI was recently updated with a new look, however sometimes it can break and spam thousands of error messages.
When this bug happens, your current avatar will no longer appear in Self View, and an internal CoreScript will output an error every frame.
Repro
I’m not entirely sure how this bug happens as I’ve encountered it in a few different experiences upon the character respawning, but I’ve managed to isolate one example, taking some code from a different place of mine.
This is a place that reloads your current R15 avatar as an R6 avatar when you click a button. Doing this seems to cause the bug 100% of the time if Workspace.SignalBehavior is not set to Deferred. Make sure your current avatar type is set to R15.
When you click the button, the following happens:
Self View is opened.
Wait 1 second.
Self View is closed.
Reload character as R6.
Self View breaks.
If Self View was never opened, or if it is not closed before switching to R6, then the bug won’t happen.
Demonstration
To fix Self View once the issue occurs, you just have to re-open the UI, close it, and then open it again.
If anyone has this issue in their own code, it’s because you’re calling :LoadAnimation on an Animator that is not a descendant of game or was Destroyed.
One experience where this is guaranteed to happen is Murder Royale. In this game, if you open Self View, close it, then reset your character, the bug will happen.
I initially reported another thread since the error in this thread is only mentioned in a screenshot (and therefore not searchable), so here it comes in plain text:
Cannot load the AnimationClipProvider Service.
Script ‘CoreGui.RobloxGui.Modules.SelfieView.Components.FaceClone’, Line 805
The problem is that the Selfie view controller attempts to load an animation on an animator that is not parented to workspace or a WorldModel.
Most likely does it cache a reference to the character that is not updated properly or that it executes the animation load after a delay and lacks a check if the animator still is in the workspace / WorldModel.
That does not make sense since this has happened 4.7 million times in the last 7 days in our experience, so this is mostly happening for the end users rather than the developers.