Search Issue Tracker
Feature Request
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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
This feature was added in the upcoming 1.3 release.