Self View breaks, spamming errors

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.

image

image


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.

Self View bug repro.rbxl (60.1 KB)

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:

  1. Self View is opened.
  2. Wait 1 second.
  3. Self View is closed.
  4. Reload character as R6.
  5. 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.

5 Likes

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.

2 Likes

Why was this marked as “Needs Information”? Could a staff member explain what I need to provide?

This is still an issue, by the way.

Still an issue.

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.

This is the #1 spamming error in our experience.

Expected behavior

That the SelfieView module does not spam errors

1 Like

Y need to provide more things, like pc specs etc"

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.

Idk tho, usually when people report bugs we need to provide something like that, see more on the bug report tab