ml-agents icon indicating copy to clipboard operation
ml-agents copied to clipboard

Useless import should be removed

Open 13Flo opened this issue 7 years ago • 6 comments

Just a heads up -- unused import System.Runtime.Remoting.Messaging; should be removed from BarracudaModelParamLoader.cs because it generates an error in Unity 2018.3.6

13Flo avatar Mar 02 '19 16:03 13Flo

It generates error CS0234 in Unity 2018.3.10f1, too

X-funbean avatar Mar 27 '19 09:03 X-funbean

Hi, I can't reproduce this error on my machine. Are you seeing this error in Unity or in some external editor? Could you please attach screenshot? Thanks!

mantasp avatar Mar 27 '19 12:03 mantasp

@mantasp image and in VS2017 it says useless image

X-funbean avatar Mar 27 '19 12:03 X-funbean

Thank you! turns out it's related to API compatibility setting == ".NET Standard 2.0", which is not a default for ML Agents project.

mantasp avatar Mar 27 '19 14:03 mantasp

Fix landed to "develop" branch

mantasp avatar Mar 28 '19 21:03 mantasp

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Mar 27 '20 22:03 lock[bot]