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
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
Resolution Note (fix version 2.2.0):
verified in 2.2.0