Can we use java and C# in the same scene/project?What major problems can we run into?

A couple of friends and I want to start making a game in unity. We have bits of code in C# and bits in Java, I know a bit of java and one of my friends knows C#.
Could we actually make a game that has scripts in java and scripts in C# in the same scene? At first glance it appears to work but will we encounter any problems along the road?

Thanks in advance!

You can’t code in Java directly on Unity, while it’s true you can have Java plugins on Android note that any Java developer shouldn’t have any problem switching to C#.

On a side note, don’t confuse Java with Unityscript (which is similar to Javascript, but isn’t properly Javascript). If you was referring to Unityscript you should pay attention to script order execution (JS files are compiled before C# scripts).

If by java you mean javascript, then yes, but it’s a little awkward passing information between them.