Search Issue Tracker
Fixed
Fixed in 2021.3.18f1, 2022.2.5f1, 2023.1.0a21
Votes
0
Found in
2021.3.6f1
2022.1.8f1
2022.2.0b1
2023.1.0a3
Issue ID
UUM-9368
Regression
Yes
[Android] Building for Android fails on Processing Mapping-File if Output folder did not exist prior to build
Steps to reproduce:
1. Open the attached user's project "BuildTesting_BugReport.zip"
2. Call BuildScript.BuildAndroid(Debug)()Method. This can be done via Building>Android in the Toolbar
3. Check Console Window, DirectoryNotFoundException exception is thrown
Expected results: build is successful
Actual results: build fails with DirectoryNotFoundException exception
Reproducible with: 2020.3.36f1, 2021.3.6f1, 2022.1.9f1, 2022.2.0b1, 2023.1.0a3
Could not test on 2021.1.28f1, 2021.2.18f1 due to gradle build errors
Notes:
-Forum-Thread for this bug can be found here: [https://forum.unity.com/threads/unity-2021-not-outputting-mapping-txt-in-ci-environment.1283150]
-Only reproducible on Android
-A workaround is to have a folder already created prior to building, It just needs to match the output-folder in your Build script
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Add comment