Using .js defined class in c# code ( worked before, broken after update to Version 2018.3)

Hello, I have some classes defined in .js files, and I use them from c# code.

Before I updated Unity to version 2018.3.0f2 everything works well because .js files were put into Standard Assets folder, which is compiled earlier than rest of scripts, and class can be use in that scripts after compile.
( like described here: unity game engine - How to call C# function from UnityScript - Stack Overflow )

However, after update, it looks like it doesn’t work anymore. Why it doesn’t work? What I have to do to make it work again? I tried copy .js files to Plugins and Editor folder, still doesn’t work…

UnityScript isn’t supported anymore, you have to convert the code to C#

Do you mean any .js file is not supported anymore ?

Yes.

You got lucky. JS support was officially dropped a while ago. The fact that it still ran was pure coincidence. It looks like the latest version of Unity finally bit the bullet and removed JS entirely.

Thank you for replay guys.

The topic can be closed.