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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
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.