Skip to content

Commit 0a70545

Browse files
authored
fix: sdk7 avatar shape reposition on scene reload (#6015)
added missing variable reset on cleanup
1 parent d80e384 commit 0a70545

File tree

1 file changed

+1
-0
lines changed
  • unity-renderer/Assets/DCLPlugins/ECS7/ECSComponents/AvatarShape

1 file changed

+1
-0
lines changed

unity-renderer/Assets/DCLPlugins/ECS7/ECSComponents/AvatarShape/AvatarShape.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ public void RemoveHideAvatarModifier()
433433

434434
public void Cleanup()
435435
{
436+
initializedPosition = false;
436437
playerName?.Hide(true);
437438
if (player != null)
438439
{

0 commit comments

Comments
 (0)