Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2019.4.18f1
2021.2.0a2
Issue ID
1307154
Regression
No
[Android] Exporting project with Symlinked Sources on top of already exported project keeps copied .java and .kt files
How to reproduce:
1. Open the attached project (it has .java plugin)
2. In Build Settings enable "Export Project" and keep Symlink Sources off
3. Export project and specify folder where you want it to be exported
3.1 Examine exported project MyExportedProject/unityLibrary/src/java/com
3.2 Notice that it has unity/statictestj folder with JavaPlug.java
4. Go back to Unity and set Symlink Sources on in Build Settings
5. Export project to the same folder where it was exported in Step 3
Actual result: unity/statictestj folder with JavaPlug.java remains in the project and building project via Android Studio fails because of
duplicate class: com.unity.statictestj.JavaPlug
Expected result: When exporting on top of another project, files which are not needed should be deleted.
Reproduced: 2021.2.0a2, 2020.2.0b13, 2019.4.18f1
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note (fix version 2021.2):
Fixed by incremental pipeline. 2021.2.a18