Search Feedback

3537
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 (42)

  1. Da54db89262e7795d4a21ca38a3a42f3?d=mm

    Tsardonic

    Jan 20, 2018 06:04

    Even though Unity is a game engine we don't always do game engine things with it.
    First class F# would make it so much easier to create robust cross platform Financial applications.

    +10 Votes from me

  2. 10aafaa88e9edbd548f2c6e11aeec7c9?d=mm

    smedegaard

    Jan 17, 2018 08:51

    +10 from me as well. I'd love for F# to be a first class citizen in Unity.

  3. F7e6192148d1f16459723118fc5d7b5a?d=mm

    shengfeng

    Dec 19, 2017 09:29

    + 10 votes.
    I think the F# is more suitable for game logic!

  4. 36e99b40fd024409c55bf2b154115946?d=mm

    todangerous

    Nov 25, 2017 01:28

    I use c# every day but I wish I was using f#. Hopefully Unity will officially support it sometime in the near future.

  5. D70489af5ea5616ac3115895a2d951a0?d=mm

    Nanaki04

    Nov 21, 2017 02:45

    F# seems a lot more readable and maintainable for the game logic part.
    I've been trying to write a game logic layer with F#, which goes very smoothly, up until attempting to build a web gl version.
    I would be very happy if support would be improved.

  6. Dea1f9430ca92c8fb023ac0a13126f2f?d=mm

    SlowHandProgrammer

    Nov 10, 2017 13:16

    In 2013, alexrp posted this idea and stated F# was gaining popularity fast.
    Right now, 4 years later, F# seems pretty dead to me.
    I don't see much profit over C# except its much hard to read and write.

  7. E7ffea74e6915b1d12a9a08e40429ffa?d=mm

    d-ralph

    Nov 10, 2017 13:12

    I wish I could downvote this.
    I really hope Unity doesn't spend any time on F#.

    I'm fluent in several programming languages, and F# is definitively isn't something that will help.
    Most of us work in a team where code needs to be readable fast and not spend time trying to figure out what exactely a filter does or proof-read error prone F# code.

    If people obeyed simple programming rules like making functions short and fail-safe, C# will do the job just perfectly.

  8. 67cafeccd2e93148be7832e5ba5df51d?d=mm

    MaxGuernseyIII

    Nov 08, 2017 01:21

    This seems like the opposite way from the direction we want to be going. Unity is a really good game-execution platform and the Unity Editor is a good game-development tool but it can never hope to be the IDE that Visual Studio is - VS is too far ahead and too well-supported to be a realistic target for Unity to overtake. Shouldn't we just focus on making VS interoperability smoother?

  9. 244cc89bec41e61ccf266acec84a2013?d=mm

    emacstheviking

    Sep 30, 2017 12:39

    +10 from me too. I just wrote an Excel add-in with F# and it was so utterly awesome. The prospect of using F# for Unity is also way too good to be true, sadly the case for now it would seem.

    According to unity, the issue revolves around recursion stack depth not being abloe to go higher than seven levels... *assuming* your F# code was *not* doing this, would there be any other issues I wonder?

    I am new to Unity (3 weeks now!) and I have done the roll-a-boll and space-shooter (that needs updating for 5 for sure) and I want to now port the code fro the space shoort to F# with no F# tool kit (cannot afford that right now anyway) to see how it goes, what the issues are etc.

  10. Cdc0859c9e2c930b9e11b37625ff9f1c?d=mm

    checkroth

    Sep 27, 2017 10:53

    Major games implemented in a functional language have fallen off the map since GOAL. Would love official support for this +10

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

(9482)

2D

(245)

Ads

(45)

AI & Navigation

(74)

Analytics

(109)

Animation

(338)

Asset Store

(250)

Assets

(499)

Audio

(161)

Cloud Build

(109)

Collaborate

(36)

Docs & Tutorials

(209)

Editor

(2186)

Everyplay

(13)

Game Performance Reporting

(16)

General

(840)

Graphics

(794)

GUI

(375)

Input

(153)

Licensing

(80)

Networking

(166)

Physics

(354)

Platforms

(416)

Profiling & Optimization

(73)

Runtime

(167)

Scripting

(1057)

Terrain

(155)

WebGL

(135)