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

Package: Hub

-

*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}
 

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.