Search Issue Tracker
Duplicate
Votes
0
Found in
2020.3.33f1
2021.3
2022.1
2022.2
Issue ID
1421340
Regression
No
Android platform yields Win32Exception and "JDK not found" errors when using Unity Hub on Linux
How to reproduce:
1. On Linux, use the Unity Hub to download Editors with Android build support
2. Create a new empty project
3. Go to File -> Build Settings
4. Select the Android platform
5. Observe the Console
6. Switch platform to Android
7. Attempt to build the project
Expected result: no errors are thrown when Android platform is selected, the project is successfully built
Actual result: errors are excessively thrown while the Android platform is selected (Win32Exception), the project cannot be built due to "JDK not found" error (Java Development Kit (JDK) directory is not set or invalid)
Reproducible with: 2021.3.2f1, 2022.1.0b16, 2022.2.0a12
Notes: reproducible on Ubuntu 20.04
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #1399290