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
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Resolution Note:
There is a workaround so closing this as won't fix for now.