Search Issue Tracker

In Progress

Under Consideration for 1.2.X

Votes

0

Found in [Package]

1.3.X - Entities

2024.1.0a1

Issue ID

ECSB-922

Regression

No

The error “global::EnableableBuffer does not implement IComponentData, and cannot be used with EnabledRefRW<T> or EnabledRefRO<T>." is thrown when IEnableableComponent struct is set up as a generic type parameter of EnabledRefRW struct

Package: Entity Component System (ECS)

-

Reproduction steps:
1. Open the attached project “BufferEnabledRefRWBug“
2. Observe Console

Expected result: The Console doesn't show errors
Actual result: The error “global::EnableableBuffer does not implement IComponentData, and thus cannot be used with EnabledRefRW<T> or EnabledRefRO<T>." is logged in the Console

Reproducible with: 1.0.16 (2022.3.20f1), 1.1.0-pre.3 (2022.3.20f1), 1.2.0-pre.6 (2022.3.20f1, 2023.3.0b7)

Reproducible on: Windows 11, macOS 13.6.4
Not reproducible on: No other environment tested

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.