- Home /
smcs.exe consistently crashes.
At the bottom of Unity's Documentation page: http://docs.unity3d.com/352/Documentation/Manual/PlatformDependentCompilation.html
It states you can run "smcs -help". (on windows, smcs is located at %MY_UNITY_INSTALLATION_FOLDER%\\Editor\\Data\\MonoBleedingEdge\\lib\\mono\\unity\)
This executable crashes consistently, with or without arguments, on 2 machines. Is it just broken, or what?
I'm using Unity 3.5.5f3
I changed the link for the official one. Looks like the site you linked to is hosting the 352 version of the docs. Please bear in $$anonymous$$d that when you visit third party sites the pages that they host might be out of date or plain wrong. Please always refer to the latest docs from Unity. In this particular case that statement has been removed from the latest docs because it's not helpful or supported. If you look at the docs that has been installed alongside your 3.5.5f3 version you'll see the relevant documentation that applied to you.
Sorry about the wrong documentation page.
I'm not sure why it's been removed from the docs for 3.5.5, since it still works and is helpful and/or needed for creating your own preprocessor directives.
Answer by Graham-Dunnett · Nov 21, 2012 at 11:36 AM
Try %MY_UNITY_INSTALLATION_FOLDER%\Editor\Data\Mono\lib\mono\unity\ instead. These multiple versions of mono need careful configuration and setup.
Anyway, what are you trying to do?
And, please don't post links to non-official sites hosting our documentation. The particular site you linked to has ads on it, and I don't want customers to think Unity is using ads to fund hosting of the documentation. (And the typically developer will not necessarily know you are linking them to non authorised sites.) Unity is working on a much better and authorised way to let customers translate the docs.
Thank you, that fixed it!
%$$anonymous$$Y_UNITY_INSTALLATION_FOLDER%\\Editor\\Data\\$$anonymous$$ono\\lib\\mono\\unity\\smcs.exe
Sorry about the wrong documentation page, I had just googled it.
How do you use smcs.exe? Im trying to add -unsafe for a plugin and smcs just crashes every time. I am using the file path listed above,
smcs.exe -unsafe [path to script] or smcs.exe /unsafe [path to script]
and it just crashes. the Documentation mentions it but doesn't explain at all how to use it.