Need C++ in Unity?

Would you like to see the C ++ in Unity?
Feedback: https://feedback.unity3d.com/suggestions/c-plus-plus-in-unity

It is. Get an Enterprise license which gives you source code

Or write a native plugin.

Otherwise, not really. IL2CPP is a thing and I’d much rather Unity development focus on improving the C#/Mono/.NET implementation than trying to support yet another language.

3 Likes

No.

2 Likes

C++ for writing scripts?

No… C++ is bloated and cumbersome. It’s power is in the fact you can get your hands in deeper and closer to the metal, but at the cost of being a giant bloated beast. Making it great for building the engine itself (which Unity is built in), but horrendous if I just want to tell some objects to move about.

And yeah, if I really need to do something with that extra oomph, native plugins are there. Heck, unity has even started uncovering some of the handle pointers for accessing bits of the graphics memory (like with compute) from your native plugins… where you scripting just acts as the go between from unity internals to your native plugin.

So yeah… I don’t need C++ support in scripting. C# is FAR more user friendly when it comes to scripting stuff.

2 Likes

maybe its possible when il2cpp comes on desktops…?

could be useful if it makes some things faster… say modifying huge amounts of meshes/textures etc…

There are already two other feedback entries for this and they haven’t gained any real support. Very few people want C++.

https://feedback.unity3d.com/suggestions/offer-c-scripting-on-all-platf
https://feedback.unity3d.com/suggestions/add-support-for-c-python-and-

My C++ is pretty weak. So I don’t see the point for me. I can write optimized C# code. I can’t write optimized C++ code.