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
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
Resolution Note (fix version 2.2.0):
verified in 2.2.0