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
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
- ShadowCaster2D breaks on certain Rotation positions when Casting Source is set to PolygonCollider2D
This is a duplicate of issue #1399290