Skip to content

启用错误禁用的 UnrealRoboticsLab 插件的Linux系统打包 - #3612

Open
xiao-ma-gua wants to merge 54 commits into
OpenHUTB:hutbfrom
xiao-ma-gua:hutb
Open

启用错误禁用的 UnrealRoboticsLab 插件的Linux系统打包#3612
xiao-ma-gua wants to merge 54 commits into
OpenHUTB:hutbfrom
xiao-ma-gua:hutb

Conversation

@xiao-ma-gua

Copy link
Copy Markdown
Contributor

Description

Fixes #

Where has this been tested?

  • Platform(s): Ubuntu
  • Python version(s): 3.8
  • Unreal Engine version(s): 4.26

Possible Drawbacks

jiandaoshou-aidehua and others added 23 commits July 13, 2026 13:34
…nt error

- 创建 RoadRunnerCarlaContent 内容插件,提供 /RoadRunnerCarlaContent/ 挂载点
- 在 .uproject 中注册并启用该插件
- 在 Package.sh 和 CI yml 中增加对应路径替换规则

修复 Cook 阶段报错:
Illegal call to DoesPackageExist: '/RoadRunnerCarlaContent/RR_TrafficLightManager'
is not a standard unreal filename (Error_UnknownCookFailure)
- 移除 _WIN32=0 定义 (导致 __declspec 错误)
- 启用 C++17 (MuJoCo 3.x 需要 std::byte)
- 新增 MuJoCo 3.x 兼容宏 (mjNPOLY, mjENBL_SLEEP 等)
- 修复 stiffness/damping 数组→标量 (3.x API 变化)
- 注释睡眠 API (body_awake, tree_awake 等 3.x 已移除)
- 修复 CoACD include 大小写
- 修复 EFBX 前向声明冲突
- Shipping: DesktopPlatform 移入 editor-only, DLL 加载加平台宏
- workflow 新增 .so 软链接转实文件 + CoACD 头文件 _WIN32 修复

Co-Authored-By: Claude <noreply@anthropic.com>
@donghaiwang

donghaiwang commented Jul 28, 2026

Copy link
Copy Markdown
Member

启用错误禁用的 UnrealRoboticsLab 插件后CarlaUE4_编译问题与解决方案.md 启用错误禁用的 UnrealRoboticsLab 插件后make_package_问题与解决方案.md

这两个是属于适配模拟器所做的修改和技巧,需要放到mujoco插件文档中的 适配“hutb 模拟器”部分,在最开始的地方添加跳转的链接:
image

两个.md文件(使用英文命令)是放到dev目录下

@xiao-ma-gua

Copy link
Copy Markdown
Contributor Author

UE4.26 中 SetupAttachment 和 AttachTo 不能混用。Cooking 序列化/反序列化后
组件的 AttachParent 可能残留非空引用,再次调用 SetupAttachment 触发确保断言失败,
导致 Cook 退出 (ExitCode=25 Error_UnknownCookFailure)。

在 MjCylinder/MjBox/MjSphere/MjCapsule 的 EnsureVisualizerMesh() 和 OnRegister()
中,每次 SetupAttachment 前先检查 GetAttachParent(),若非空先 DetachFromComponent
清除残留的附加状态后再重新附加。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants