Tag Archives: C# 4.0 language specification

Unity “Feature `out variable declaration’ cannot be used because it is not part of the C# 4.0” error

Harry recently had a problem learning Unity.
After Unity2018 upgrades to 2019, all scripts will be unavailable, and the second half of the error report is “Feature ‘out variable declaration’ cannot be used because it is not part of the C# 4.0 language specification”.
After struggling for a long time, I finally found a solution.
As link: https://answers.unity.com/questions/1446008/assetsenemycs37-error-cs1644-feature-using-static.html
After this, select [Edit] — [Project Settings] — [Player] — [Other Settings] — [Configuration] under the Unity option select [.net 4.x Equivalent].