The legacy "Hat" class no longer properly stays on characters

Reproduction Steps

  1. Put various hats on a player or NPC
  2. Enter Play mode
  3. Observe the hats fall off the character (some hats do, others don’t, I can’t find a reason as to why)

bc0a484c48dcefd33558e1ada3823870

Expected Behavior
The hats stay on the character

Actual Behavior
The hats stay on the character for a few seconds, then fall off the character
The character is not dead, no scripts have changed recently - this appears to be a recent engine change

Workaround
Use the new Accessory/Accoutrements classes

The issue with this is more so backwards compatibility. A decent amount of games prior to accessories will now have bald NPCs.

Issue Area: Engine
Issue Type: Other
Impact: Moderate
Frequency: Often
Date First Experienced: 2021-06-30 02:06:00 (-04:00)

16 Likes

Can confirm this is not a game-specific issue, our game Pinewood Computer Core is experiencing this as well with our Hazmat Suit morphing system.

In our testing game,

Studio
image

In-game
image

This is affecting our experience negatively as our players rely on the (space) hat to enter a specific area of the game, essentially locking it off when the core is above a certain temperature.

This has just recently started affecting our game.
We use accessories (not legacy Hats) and normal welds to weld to the character.

We will most likely have to update the accessory welds, stated in the workaround.

9 Likes

Although I agree that it’s broken, I’m not confident they’d update a deprecated feature for backwards compatibility this late into the game. All current games should just be updated to use Accessories.

4 Likes

Could actually attach the hats to the character via rigging,


but that comes with it’s own problems when applied to actual players.

This issue came up in my game as well (some accessories will randomly fall off), however there’s also a rare case where the tool’s RightGrip weld wouldn’t apply, making the handle fall off and eventually delete the tool.

1 Like

I can confirm it’s happening in my game as well, but it only seems to be happening to hats without HatAttachments inside of it.

So basically the appearance category in accessories is useless currently.

2 Likes

A related thread which has a better description of what the issue is:

1 Like

We’ve identified the root cause and are working on reverting the offending change.

7 Likes

Reverted as of 4:33 PM PDT. Affected servers will need to be restarted.

9 Likes

It does indeed work again! Thanks!
image

4 Likes

Thank you. This fixed the issue I was having in my game earlier today.

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