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
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
Resolution Note (fix version 2.2.0):
verified in 2.2.0