Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
3.10.0
Issue ID
HUBX-1218
Regression
Yes
Android build fails due to "UnityException: JDK not found" error
*Steps to reproduce:*
1. Download Android module and create a new project
2. Change the Platform to Android
3. Build the project
4. Observe the Console
*Actual results:* "JDK not found" window pops up and "UnityException: JDK not found" error appears after pressing "Ok" button
*Expected results:* Build is successful
*Reproducible with versions:* 3.10.0 (2021.3.46f1, 2021.3.47f1)
*Not reproducible with versions:* 3.10.0 (2021.3.45f1, 2022.3.54f1, 6000.0.31f1 , 6000.1.0a8)
*Tested on (OS):* macOS Sequoia 15.1 (Intel), macOS Sequoia 15.1 (M1), Windows 11 Pro
*Notes:*
* Regression is in Editor versions
* Full error:
{code:java}
UnityException: JDK not found
Java Development Kit (JDK) directory is not set or invalid. Please, fix it in Edit / Unity -> Preferences -> External Tools
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)
{code}
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
Resolution Note:
We have confirmed the issue, however the fix for it will not be prioritized in the near future therefore closing this ticket. This ticket may be reopened if priorities changes.