Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.3.0-pre.4 - Entities
Issue ID
ECSB-1284
Regression
No
"Argument 2: cannot convert from 'Unity.Entities.RefRW<ComponentFoo>' to 'Unity.Entities.EnabledRefRW<ComponentFoo>'" error when nesting enableable components in Aspects
How to reproduce:
1. Open the “isolated bug“ project
2. Open the “Sample Scene“
3. Observe the Console window
Expected result: No errors are shown in the Console window
Actual result: “error CS1503: Argument 2: cannot convert from 'Unity.Entities.RefRW<ComponentFoo>' to 'Unity.Entities.EnabledRefRW<ComponentFoo>'“ error shown in the Console window
Reproducible with: 1.2.0, 1.2.1, 1.2.3, 1.3.0-exp.1, 1.3.0-pre.4 (2022.3.42f1, 6000.0.15f1)
Could not test with: 0.51.1-preview.21 (2021.3.42f1) (Aspect source generation is has not been introduced yet)
Reproducible on: macOS 14.5 (Intel), Windows 11 (User’s)
Not reproducible on: No other environments tested
Workaround: Changing the second argument of the “AspectFoo“ constructor to the “{{aspectbar_aspectfoo_componentfooRef}}“ value
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
- Shader warnings are thrown after building High Definition 3D template
- "EndLayoutGroup: BeginLayoutGroup must be called first" error is thrown when changing Shader Precision Model from the Build Profiles window
- White artifacts/outlines are visible in the Garden Scene when viewing at meshes from a distance
- Shader warnings "Sprite-Unlit-Default" are thrown after building 2D Platrformer Microgame Template
- [Android] HLSL shader becomes corrupted when running on an Android device
Resolution Note:
There is a workaround so closing this as won't fix for now.