Skip to content

[Bug]: player.xuid、player.uuid 疑似有时获取不到 #311

Open

Description

@zmsgsb

Describe the bug

data.name2uuid(name)
data.name2xuid(name)
player.xuid
player.uuid
疑似有时获取不到

最近我的绝大部分使用到获取玩家xuid、uuid 的插件出现频繁报错,大概就是xuid或uuid为null或undefined,但在更新1.21.93之前一切正常,更新之后开始疯狂报错刷屏,希望开发组能排查一下是哪里的问题

To Reproduce

1

Expected behavior

1

Screenshots

1

Platform

win10

BDS Version

1.21.93

LeviLamina Version

1.4.1

LegacyScriptEngine Version

0.13.0

Additional context

No response

Activity

  1. ShrBox commented on Jul 17, 2025

    @ShrBox
    Member

    是不是没把旧服务端的plugins/LeviLamina/data/复制到新服务端

  2. zmsgsb commented on Jul 18, 2025

    @zmsgsb
    Author

    是不是没把旧服务端的plugins/LeviLamina/data/复制到新服务端

    好像还真是,不过更新服务器好几天了,新进的玩家也挺多的,再换回之前的data那新玩家又获取不到了,有没有什么两全其美的好方法,比如把旧版data数据合并到现有data数据中的指令,开服自动合并(事先准备好旧版data的路径)

  3. added theissue type on Jan 14, 2026
  4. removed
    bugSomething isn't working
    on Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions