- Home /
Question by
jonathb · Sep 28, 2017 at 06:34 AM ·
c#dynamic variables
C# "Dynamic" variables as of 2017 ?
Hello everyone.
Now that Unity 2017 supports (experimental) .NET 4.6 runtime, I was wondering if/when we will be able to use the "dynamic" keyword and variables from C# (most notably useful for libraries like IronPython and PythonNet).
As of 2017.3.0b2, it seems Unity doesn't choke on the keyword itself, but attempts to compile dynamic variables regardless, which results in this kind of error:
The best overloaded method match for `System.Runtime.CompilerServices.CallSite<System.Action<System.Runtime.CompilerServices.CallSite,PythonNETLoader,object>>.Create(System.Runtime.CompilerServices.CallSiteBinder)' has some invalid arguments
Interestingly, MonoDevelop itself doesn't detect any error with dynamic variables. Should this be submitted as a bug report, or is it already planned in a future version ?
Comment