Search Issue Tracker
Active
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.3.0-pre.4 (2022.3.56f1), 1.3.2, 1.3.8 (2022.3.56f1, 6000.0.33f1, 6000.1.0b1)
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
Note: Possible temporary ability to work in the Editor can be achieved by changing the second argument of the “AspectFoo“ constructor to the “{{{}aspectbar_aspectfoo_componentfooRef{}}}“ value, but after every build in one session you will have to change the value again
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Silicon] Crash with multiple StackTraces when entering Play Mode in a project with corrupted FBX files
- Index Out Of Range exception when trying to use Rendering Layer Override in Probe Adjustment Volume without a mask defined in lighting settings
- [Android] [Vulkan] [WebCamTexture] "WebCamTexture.Play" crashes the application when the camera is started
- Huge performance overheads appear when there is a large amount of bindings in the UI Toolkit
- Visual Effects Graph Blackboard can't be scrolled horizontally
Add comment