Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

The future of Unityscript...?

Discussion in 'General Discussion' started by Damnagic, Jan 8, 2016.

Thread Status:
Not open for further replies.
  1. Damnagic

    Damnagic

    Joined:
    Jan 11, 2013
    Posts:
    4
    Hello all,

    I'm not an avid forum user, aside from finding answers to my problems whenever my brain or the scripting ref isn't enough but, I've been using Unity for quite a while now already (few years + some), so I hope my nigh negative post count won't affect the 'impression' of what I'm asking/wondering/saying.

    Anyway, I've looked every which way I could to find more info about this but, it looks like almost no one is talking about it. I.e. Unity 'ditching' Unityscript (and Boo). As of 5.3 -> monodevelop 5.9, there is no autocomplete for US/js which is comparable to blindfolding someone driving a car. Doable but, it'll take about 10 years longer to reach the goal. According to some posts/messages, it turns out unity/monodevelop will stop supporting unityscript at some point but, I haven't found anything official.

    While I suppose it makes some sense to eventually ditch the "inferior" js, I have hell of an hard time understanding why it's being executed like some covert operation? Making js coding almost unbearable earns it just a tiny line of text on patch notes (which is obscure as well). It's one of the 3 programming languages Unity has had for as long as I can remember and that's what I've been assuming as well.
    If they stop supporting js for good, close to 20 of my published 'projects' will amount to nothing but hundreds*n of hours of either 'recoding' or wasted time.
    Even few (not even remotely cheap) assets I've bought will dwindle into obscurity apparently.

    I know I can just use an older version of Unity to circumvent the 'issue' introduced in 5.3/5.9 but, this change has massive impact on my productivity (for a good while at least, since if I plan to use unity to it's fullest I'll have to get very comfortable with c#) and for the love of everything, I just cannot comprehend why there has been almost nothing about this.

    Have I misunderstood things maybe? Is it perhaps some tiny hiatus that they are taking and in the foreseeable future I can expect monodevelop that actually works? Will I have to stop patching my games on play store? So many questions..

    Edit: All of the above is pretty much pointless if it is as I have understood it to be so, if someone has concrete or even semi-concrete info that Unity will really stop supporting unityscript, I would appreciate it a lot.
    Then I'd know for sure that I'll have to transition over to c# instead of being in this limbo between "investing a LOT of time to properly learn c#" or "risk working my ass off for 'nothing' with js".
     
    Last edited: Jan 8, 2016
  2. chingwa

    chingwa

    Joined:
    Dec 4, 2009
    Posts:
    3,580
    Though Unity's js implementation has indeed lost some popularity in the last couple years, it's still a supported language. If they were to decide to actually drop support for js then you can be sure that there would be a lot of lead time and notice given, as well as a lot of hubub on the forum. They wouldn't just try and sneak it by.

    As for monodevelop, I can't speak to that. I started using SublimeText2 last year and haven't opened mono once since then.
     
  3. Damnagic

    Damnagic

    Joined:
    Jan 11, 2013
    Posts:
    4
    Thank you!
    I initially thought so as well but, some forum posts made a compelling(?) enough of a case that I ended up thinking that's what's really happening.

    Huge relief and thanks again :)
     
  4. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    16,207
    Many of us recommend C# because it's essentially the same as C# outside of Unity. The only differences being that Unity is currently using a slightly older release and the APIs. Having the language be the primary focus of the tutorials certainly doesn't hurt anything.

    They are not currently discontinuing it but I feel like they're trying to subtly draw attention away from it with the eventual hope of no longer having to maintain it once people largely stop using it. That's just my own opinion though. I'm likely wrong.
     
    Martin_H likes this.
  5. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,745
    C# really isn't that hard to learn. I started with unity script. But once i switched to c# i was very glad i did. Much easier to do. Us is just ackward, more nonsense involved.
     
  6. orb

    orb

    Joined:
    Nov 24, 2010
    Posts:
    2,960
    C# has many little and big features that will make your code better and life awesomer.
     
  7. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,491
    Visual Studio + Resharper + C# = Maximum coding productivity in Unity, enough said.

    UnityScript will never be anywhere near as efficient to work with.
     
    McMayhem and Ryiah like this.
  8. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    26,726
    C#

    I have released a few games in both and C# was better for me, less bugs, much easier to just grab code off the net or something, unlike unity script/js
     
    Martin_H, Ryiah and Meltdown like this.
  9. Tiles

    Tiles

    Joined:
    Feb 5, 2010
    Posts:
    2,475
    They do. They try to fade JS slowly away, and try to force the folks to use C# instead. That's why i have left Unity. This happens without me.

    That's bollocks, sorry. It's everything but efficient to battle with the language instead of writing code. Some people simply finds it easier and ways more comfortable to work with JS. I was half as efficient with C#, and disliked to work with it. JS was what made Unity comfortable for me.

    The only thing where C# is better is that it has more fanatic fans that tries to praise C# where ever possible. No matter if it fits into the thread or not. And especially when it fits not. Like here again. The question was about the future of Unityscript. The usual and expected answer when there is just a slightly Unity js content in the thread: "C# is so much bettaaaa !!!!" . Pavlov thread hijacking reflex. Who cares about the initial question ...

    Regarding the initial question. Version 5 will support Unity JS for its life cycle. So you don't have to worry when you stick with Unity 5. And that should be good enough for minimum one more game. But i could bet that in Unity 6 Unity JS will be gone. JS has no big future anymore in Unity.
     
  10. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,491
    Oh look who is back, posting in the forums, as soon as there is a discussion about UnityScript...
     
  11. Tiles

    Tiles

    Joined:
    Feb 5, 2010
    Posts:
    2,475
    Oh look who has yet again hijacked a Unity JS thread ...

    Really funny. I check back after half a year, and the first thing that jumps into my face is yet another hijacked thread. Coincidence? :)
     
    Meltdown likes this.
  12. elmar1028

    elmar1028

    Joined:
    Nov 21, 2013
    Posts:
    2,318
    Perhaps it's easier for UT to support one language instead of three.

    And with implementing new API, writing documentation and tutorial scripts for three languages makes job three times harder.

    So it makes sense for UT to have one programming language (C#) and continuously encourage users to use it instead.

    It would've been nice if UT released their language converter to public to encourage existing Js users like OP to switch to C#.
     
  13. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,535
    Personally I think dropping support for other scripting languages and just sticking with C# would be a good idea for Unity. ... Now if only Epic would see the sense of doing the same, Tim Sweeney probably still haven't gotten over UDK unrealscript being scrapped, but they really should have supported a managed language that is popular.. now its just c++ and blueprints. sigh

    "Then I'd know for sure that I'll have to transition over to c# instead of being in this limbo between "investing a LOT of time to properly learn c#" or "risk working my ass off for 'nothing' with js"."

    yes just go learn to use C#/Java/C++ and stop wasting your time these other scripting languages like js, unityscript, lua etc they are good time sinks and have a place in the eco system for certain uses, but they are given way too much attention and eventually lead its followers to a development and performance dead end. Well except for js, which seems to live on the unicorn farts of industry giants desire to keep it around for the web and will pay anything to get developers to get creative and come up with new ways to squeeze performance out of it, the more obfuscated the better of course..can't imagine why.
     
    Last edited: Jan 9, 2016
  14. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    16,207
    No, you mean UnityScript (US). If it were true JavaScript (JS) we would have one less reason to complain about it as it would be useful outside of Unity without having to take the time to learn the fairly substantial differences.
     
  15. ippdev

    ippdev

    Joined:
    Feb 7, 2010
    Posts:
    3,028
    Just stop it dude./ I love US and despise C#. I too have hundred of projects written in US and do not want to p[ort them.
     
  16. ippdev

    ippdev

    Joined:
    Feb 7, 2010
    Posts:
    3,028
    It is highly useful inside Unity. I could care less about C# being useful outside Unity as I have no use for it on OS X.
     
  17. ippdev

    ippdev

    Joined:
    Feb 7, 2010
    Posts:
    3,028
    Perhaps..but having been around a long time I see that when the shift to C# and probably bringing in engineers with only that as their language the quality of Unity has gone downhill. C#-ers are super anal about their MSE code paradigms which just do not fit the engine paradigm to a T. I will bet this has crept into the engine bit by bit.
     
    Kiwasi likes this.
  18. ippdev

    ippdev

    Joined:
    Feb 7, 2010
    Posts:
    3,028
    US.. I was able to be up and running complex sims the night I downloaded Unity thanks to US and my long experience with ECMA type languages..And US is very much like OS X new coding language Swift. C#..I get stupid errors that happen to be 90 lines before the actual error. I have to jump triple twisting somersaults to do stuff I can do in one line in US. like yield WaitForSeconds()..which requires a bunch of BS in C#.
     
  19. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    16,207
    I never said it wasn't useful inside Unity.

    You may not have a use for it but there are many jobs asking for it. How many ask for UnityScript?
     
  20. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    16,207
    You know it's interesting how few people are defending UnityScript. Most flame wars involving OSes, languages, APIs, etc have fairly active sides. UnityScript only has two professionals. That should give you an idea of popularity.
     
  21. ippdev

    ippdev

    Joined:
    Feb 7, 2010
    Posts:
    3,028
    Can't get that combo on OS X. and you windows folks are not the only ones using Unity. Swift on OS X looks one heck of a lot like US. I say they should leave it or f*** up a whole slew of folks projects they will have to spend hundreds and thousands of hours on retooling. But hey.. That doesn't matter to hard core C#-ers. They could care less except that their little paradigm is playing rule the roost.
     
  22. ippdev

    ippdev

    Joined:
    Feb 7, 2010
    Posts:
    3,028
    I frankly could not care less about Windows Forms or windows server or windows anything jobs. Not in my blood as a hard core artist.
     
  23. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    16,207
    C# is cross platform. Jobs are not restricted to Windows.
     
  24. ippdev

    ippdev

    Joined:
    Feb 7, 2010
    Posts:
    3,028
    If we wanna get snarky here i will bloviate so hard the thread will get shut down. That is a patently effed up thing to say as the stats show 10's of thousands of US users. I guarantee you most won't speak up as they don't want to get trolled by C#-ers. Me? I regularly eat trolls for breakfast on other forums and comment sections.
     
  25. ippdev

    ippdev

    Joined:
    Feb 7, 2010
    Posts:
    3,028
    Show me one OS X specific job that uses C# that is suitable for me. OS X is Objective C and now Swift which looks almost like US.
     
  26. chingwa

    chingwa

    Joined:
    Dec 4, 2009
    Posts:
    3,580
    When Unity starts referring to JS as US on their own scripting API example pages, then I'll start referring to JS as US too. :D
     
    McMayhem, Moonjump and Ryiah like this.
  27. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    16,207
    How am I to know what is suitable for you?
     
  28. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    16,207
    They flip back and forth and it's very dependent on the individual at Unity. :p
     
  29. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    7,163
    There's a reason official posts on the forums say the only reason US is still around is because it'd break too many in-dev projects :v
     
  30. ippdev

    ippdev

    Joined:
    Feb 7, 2010
    Posts:
    3,028
    If you don't then why posit that there is work for me using that horrid language?? I am a hard core digital imaging specialist working in 3D video, previz, sfx and game design where I have to code. You will not find me any work on the OS X platform demanding C# to use my skillsets.
     
  31. ippdev

    ippdev

    Joined:
    Feb 7, 2010
    Posts:
    3,028
    Precisely..as well as code libraries built up over the course of six years..from back in the day when hardly anybody used C#.
     
  32. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    16,207
    Discussions involving UnityScript do not entirely revolve around you. If they did UnityScript would be discontinued as one developer out of four and half a million doesn't really matter that much.

    I really should amend this statement. It's only ONE active developer defending now. Apparently @Tiles no longer uses Unity.
     
    McMayhem likes this.
  33. ippdev

    ippdev

    Joined:
    Feb 7, 2010
    Posts:
    3,028
    Playing @ troll this morning. Stats show one heckuvalot more devs than I using it. I am actually surprised you are resorting to unmitigated smarm. This is why US-ers do not even bother with these threads. FYI the OP is also an active US-er and concerned that he will have to do a huge amount of rewriting and it will cost him dearly in the pocketbook. I already am suffering being a Unity dev with the latest S***e they release being bug ridden and killing my income. So keep trolling sweetie and I will smack down your crap ,. Talk reasonably and you get the same in return.

    So..where is that job for me on OS X using C# in digital imaging? You cannot find it and revert to trolling to save you from having to pony up.. So..pony up or...
     
  34. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    7,163
    I don't think you know what "trolling" means.
     
  35. ippdev

    ippdev

    Joined:
    Feb 7, 2010
    Posts:
    3,028
    Yes I do. It means making statements not founded on truth that are meant to get a rise out of the posters for the amusement of the troller.. Miss thing is fitting that paradigm quite nicely this morning..
     
  36. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    26,726
    I think I can speak for everyone who moved from js to C# that they realised it wasn't terrifying and wondered what all the fuss was about.

    Locked this as yeah. Whatever. No.
     
    ZJP, McMayhem, orb and 1 other person like this.
Thread Status:
Not open for further replies.
unityunity