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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.