Greetings, I decided to write about one sore problem that affects many beginner units with a limited budget, and not only that. For more than six years, people have been asking the dark theme of the Unity editor to be made free, but as we can see , it's still there.
There are many solutions to this issue on their own, and the method proposed here is good because it does not require any dubious software that is dangerous to trust. Also note that here is an example for Unity on Windows, especially inquisitive can do the same trick on macOS or GNU / Linux. So, in order to correct this misunderstanding on our own, we will need:
It is assumed that Unity is already installed. Otherwise, why does the curious% UserName% read this article? Typically, the executable file of the editor of the 64-bit version of Unity is located along the path:
"C:\Program Files\Unity\Editor\Unity.exe"
We will use this path as an example, so adjust for your situation if it is different. I strongly recommend making a backup! So you do not lose time to reinstall or search for the original file if something goes wrong, as intended: ')
"C:\Program Files\Unity\Editor\Unity.exe.bak"
Then download and unpack yourself at any convenient place x64dbg from the Releases section . At the time of this writing, the newest version was "snapshot_2017-12-26_13-39.zip". Launch x64dbg using the x96dbg launcher or directly from its subdirectory:
Change one condition
So, it's time to act. Open the File => Open menu (also the F3 hot key or the first icon on the toolbar) and step into the installed Unity directory, select the same executable file “Unity.exe” mentioned above, we get something like this:
Go to the Symbols tab and on the left in the list of modules, select unity.exe:
The interface can slow down a bit when processing large lists, so patiently write the string “GetSkinIdx” in the Search field:
Double click on the search result line, go to its address on the CPU tab:
Here we are interested in the jne instruction. Again, double-click on it to open a dialog box in which we change this instruction to je, do not touch the rest:
After applying the edit, open the context menu and select Patches (Ctrl + P):
Using the Patch File button, we save the new Unity.exe temporarily somewhere, because the current file is busy with the debugger:
Check result
Congratulations, everything is done successfully. It remains only to close the debugger and overwrite the original Unity.exe with the file saved with the Patch File. You can make sure that you do not accidentally touch on something extra, you can compare the backup with the new file by content, only one byte should differ and nothing else:
Launch and enjoy the dark theme:
It is likely that the dark theme will be overridden in Unity and the method described here will stop working. But as you know, there is no reception against scrap. A miracle can also happen on the contrary, they will finally listen to the users and still make it free. If you are tired of waiting and you want even more customization - I recommend to look at Zios Themes: description on the Unity + forumsource code on GitHub .
Video version for those who prefer to watch (English)