Search Feedback

3081
votes

F# support

Scripting

-

-

F# is rapidly gaining popularity in the .NET community. There are several game developers who are using it outside Unity, and even Xamarin products now support it.

It would be nice to be able to use F# for scripting in Unity.

Comments (31)

  1. F796e26947aecb04600f92622539554f?d=mm

    bolontiku

    Apr 10, 2017 09:43

    Please add F# and ignore Microsoft UWP stuff. No body uses UWP.

  2. 35e30c06d2a7e9f320ab11b287bc6d70?d=mm

    kurbuntu

    Apr 09, 2017 23:07

    I would love to see official support for F# in Unity3d.

  3. 8038842a9b1bd83d8219e36fd66ee9ca?d=mm

    psfblair

    Apr 09, 2017 20:42

    Please note that because F# is not a supported scripting language in Unity, there are showstopper bugs that will not be fixed by Unity that effectively will prevent F# from being used as a scripting language for Unity in the near future.

    See <http://seriouscodeblog.blogspot.ca/2017/04/no-virginia-you-cant-actually-write.html> for more details.

  4. 53061fe272cfc9e5539c5dabd1cf9e14?d=mm

    Toni_zgz

    Feb 19, 2017 18:14

    It would be fantastic if we could program Unity script in F#. It's an awesome programming language and this would be an excellent feature that Unity could have.

  5. 49dad8e206f1e08bc9c83ecb5a8e9811?d=mm

    SouldomainTM

    Feb 05, 2017 02:58

    I'm already using F# with Unity. I never thought that there could be a much better language than C#. F# is now a must in my dev life.

    Here are some reasons to use F#: http://fsharpforfunandprofit.com/why-use-fsharp/

    So far, I didn't seem to have ran into problems using F# with Unity over the managed code API. However, if Unity officially supported F#. I could rest assure that what ever changed Unity may experience, they won't break F# code.

  6. D47349e912ad70125aabf86be0e1bbbc?d=mm

    arlevi09

    Oct 06, 2016 17:17

    Can we please get some sort of official statement on the possibility of F# first class support? With the improved .net 4.6 support in the 5.5 beta, I'm wondering if something like future F# support is on the radar. Would be complete amazing :). Thanks!

  7. 046a5387458421997498b83017d642ea?d=mm

    pblairmac

    Jun 23, 2016 02:41

    I've actually used F# to create a Unity game; it's not hard to do. You can see sample code here: https://github.com/psfblair/ConwayLife3D . However, having F# as a first-class language in Unity would be terrific.

  8. 7e2b8bf3ae78a88c2ccd49805df19ac4?d=mm

    MiloDCooper

    Jun 21, 2016 17:31

    This is a no-brainer, folks. F# is a phenomenal language -- this is coming from a great lover of C#, and a frequent coder of C++ libraries.

    I've been professionally programming Unity prototypes, graphics tools and low-level real-time graphics renderers for games, and full-scale web applications (e.g. SOAP services and REST APIs) for over ten years. I use F# for my Unity work regularly; it works beautifully under Mono, although I'd love to have F# 4.0 support for improved concurrency, which is one of many areas where F# really shines.

    Count me in for full support for F# in Unity!

  9. C93784afe6596724e65d8472c4684588?d=mm

    vis2k

    Jun 16, 2016 09:37

    F# kit is now on the Asset Store: https://www.assetstore.unity3d.com/en/#!/content/63652
    It automatically compiles your F# scripts in Unity, and tries to get as close to native support as possible. If you can't wait, then try it!

  10. 69737b148d81ff4555ebedde85679bd8?d=mm

    darkoverlordofdata

    Dec 08, 2015 20:54

    I was able to get these instructions to work: http://jacksondunstan.com/articles/3229

    In addition to Tuples, all language features in the MonoDevelop F# Tutorial project worked with the exception of the ParallelArrayProgramming module.

    Minor differences in environment:
    I'm running Linux Mint 17, Unity 5.2.2f1
    Instead of Xamarin, I use the standalone version of MonoDevelop from the Software Manager

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(9031)

2D

(221)

Ads

(40)

AI & Navigation

(67)

Analytics

(92)

Animation

(304)

Asset Store

(222)

Assets

(489)

Audio

(157)

Cloud Build

(94)

Collaborate

(31)

Docs & Tutorials

(197)

Editor

(2084)

Everyplay

(13)

Game Performance Reporting

(12)

General

(810)

Graphics

(761)

GUI

(363)

Input

(145)

Licensing

(73)

Networking

(158)

Physics

(341)

Platforms

(402)

Profiling & Optimization

(69)

Runtime

(161)

Scripting

(1014)

Terrain

(152)

WebGL

(131)