#2284·flecs

将组件添加到已实例化的预制件时,会出现 ECS_ALREADY_IN_USE 错误,这会阻止对活动的预制件进行编辑。

作者: Wolftein创建于 2026年9月10日更新于 2026年9月10日
标签bug

Describe the bug

Since ddb83fe (#2239, "Throw ALREADY_IN_USE error when changing components of an instantiated prefab", v4.1.6), adding a component to a prefab that has at least one instance aborts with ECS_ALREADY_IN_USE.

内容来源: SanderMertens/flecs