Last active
August 11, 2024 00:56
-
-
Save vicenterusso/41730e6a4e8fce35d129ef47490ae773 to your computer and use it in GitHub Desktop.
Revisions
-
vicenterusso revised this gist
Aug 11, 2024 . No changes.There are no files selected for viewing
-
vicenterusso revised this gist
Aug 11, 2024 . 1 changed file with 19 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -35,4 +35,22 @@ Make sure both paths are created and with permissions ``` /home/<user>/.config/unity3d/cache /home/<user>/.local/share/unity3d ``` ## Android SDK My `.zshrc`: ``` export JAVA_HOME=/home/<user>/Unity/Hub/Editor/2022.3.40f1/Editor/Data/PlaybackEngines/AndroidPlayer/SDK export PATH=$JAVA_HOME/bin:$PATH ``` `which java` should point to the same sdk above. Fedora comes with a builtin java that needs the symlimk to be replaced or removed ``` /usr/bin/java -> /home/<user>/Unity/Hub/Editor/2022.3.40f1/Editor/Data/PlaybackEngines/AndroidPlayer/OpenJDK/bin/java ``` -
vicenterusso revised this gist
Aug 11, 2024 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -26,10 +26,12 @@ update-desktop-database ~/.local/share/applications/ ## Rider Default IDE I had this problem of Rider not being recognized after restarting Unity. I fixed by doing this: Make sure both paths are created and with permissions `Edit -> Preferences -> Package Manager` ``` /home/<user>/.config/unity3d/cache /home/<user>/.local/share/unity3d -
vicenterusso renamed this gist
Aug 11, 2024 . 1 changed file with 14 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ ## KDE Fix Icon (Wayland?) ### Create the desktop file ```sh @@ -20,4 +22,15 @@ chmod +x ~/.local/share/applications/unity-editor.desktop update-desktop-database ~/.local/share/applications/ ``` ### Done. ## Rider Default IDE `Edit -> Preferences -> Package Manager` Make sure both paths are created and with permissions ``` /home/<user>/.config/unity3d/cache /home/<user>/.local/share/unity3d ``` -
vicenterusso created this gist
Aug 2, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ ### Create the desktop file ```sh nano ~/.local/share/applications/unity-editor.desktop ``` ``` [Desktop Entry] Name=Unity Editor Exec=/home/USER/Unity/Hub/Editor/2022.3.40f1/Editor/Unity Icon=/home/USER/Unity/Hub/Editor/2022.3.40f1/Editor/Data/Resources/LargeUnityIcon.png Type=Application StartupNotify=true ``` ### Run ``` chmod +x ~/.local/share/applications/unity-editor.desktop update-desktop-database ~/.local/share/applications/ ``` ### Done.