A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
Discussion in 'Experimental Scripting Previews' started by Jes28, Apr 18, 2019.
Simple question is: Do Unity have plans to support C# 8. If they Do - When?
Yes, we do plan to support C# 8. We don't have a release date yet, although I expect our support for it will lag a bit behind Microsoft's.
I doubt C# 8 itself has a release date yet.
Ok it is good thanks
Really I have just looking for undated roslyn compiler with support of C#8 so we can enable C#8 through csc.rsp and have benefits of NullableReference warnings in our project
You can play with the project I uploaded a while ago: Would the Roslyn Compiler compile C# 8.0 preview?
It has Roslyn C# 8.0 Preview compiler integrated. If there is a version of Roslyn newer than 220.127.116.11519, I believe, you can just replace the whole Roslyn folder there with the new version.
Thanks @alexzzzz I will try it
Any update on the release date for C# 8 support?
Likely sometime in the 2020 release cycle.
Update: C# 8 is released now, i personally need native json support
Waiting for Nullables support
I have event prepare command to make nullables warnings to be errors
How's it looking with C# 8 in Unity, any chance it will come with 2019.3?
No, as mentioned above, it will be in the 2020 release cycle at the earliest. We don't currently have an ETA, so it might be later.
May be you have plans to update C# compiler to latest released so we can adlast turn on some syntactic sugar without true support of new features?
+1 on this, since after c#8, default interface methods are supported.
+1, static extensions and default interface implementations are sweet ^_^
I don't think static extensions are part of C# 8.
But I'm waiting for default interface implementation and some minor things like readonly members and unmanaged constructed types might fit very well into DOTS.