Search Issue Tracker
Fixed
Fixed in 2.2.0
Votes
0
Found in [Package]
2.2.0
Issue ID
BAR-163
Regression
Yes
"cannot convert from 'Unity.Barracuda.BarracudaArray' to 'float[]'" using Ml-agents project
Reproduction steps:
- Download and open the Ml-agents project: [https://github.com/Unity-Technologies/ml-agents]
- Update Barracuda to 2.2.0.
- Inspect the console.
Actual result:
- Error message - "com.unity.ml-agents/Runtime/Analytics/InferenceAnalytics.cs(277,29): error CS1503: Argument 1: cannot convert from 'Unity.Barracuda.BarracudaArray' to 'float[]'"
- Code editor points to the "layer.weights" code.
Reproduced with Barracuda 2.2.0
Not reproducible with Barracuda 2.1.0
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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
- Editor crashes on D3D12GetInterface when repeatedly enabling and disabling 256 text components
Resolution Note (fix version 2.2.0):
verified in 2.2.0