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
- Scene view Camera cannot be moved when using the mouse, WASD keys, or the move tool
- [Linux] Editor has low FPS in Game View due to RenderPipelineManager.DoRenderLoop_Internal() taking a long time while Player build is normal
- [VisionOS] Material swap does not work for bake to mesh particle system mode
- ScriptableObjects lose the variables added through the Awake() method when the ScriptableObject is selected for the first time
- [Search] NullReferenceException on selecting Search > Scene scenes
This is a duplicate of issue #1399290