Search Issue Tracker
Fixed
Fixed in 2023.3.0b9
Votes
0
Found in
2023.3.0b7
Issue ID
UUM-63971
Regression
Yes
Three “error CS1061" compilation errors are thrown from the Addressables.Android Package Cache when the Android platform is selected
Reproduction steps:
1. Create a project for the Android platform and open it
2. Manually add the "Addressables for Android" package by adding the line ("com.unity.addressables.android": "1.0.2",) to the project’s manifest.json file
3. Observe the Console Window
Expected result: No compilation errors are thrown
Actual result: Three “error CS1061" compilation errors are thrown from “Library\PackageCache\com.unity.addressables.android\"
Reproducible with: 2023.3.0b4, 2023.3.0b7
Not reproducible with: 2023.2.10f1, 2023.3.0b3
Could not test with: 2021.3.35f1, 2022.3.20f1 (The "Addressables for Android" package is not available for these Editor versions)
Reproducible on: macOS Sonoma 14.3 (Intel), Windows 11 (user’s)
Not reproducible on: No other environment tested
Notes:
- Only the 1.0.2 "Addressables for Android" package version could be tested as it is the only available version for the affected Editor versions
- Does not reproduce with the Addressables package
- Full errors:
{noformat}
Library\PackageCache\com.unity.addressables.android\Editor\PlayAssetDeliveryModifyProjectScript.cs(161,34): error CS1061: 'AndroidProjectFiles' does not contain a definition for 'GradleSettings' and no accessible extension method 'GradleSettings' accepting a first argument of type 'AndroidProjectFiles' could be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.addressables.android\Editor\PlayAssetDeliveryModifyProjectScript.cs(167,52): error CS1061: 'AndroidProjectFiles' does not contain a definition for 'LauncherBuildGradle' and no accessible extension method 'LauncherBuildGradle' accepting a first argument of type 'AndroidProjectFiles' could be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.addressables.android\Editor\PlayAssetDeliveryModifyProjectScript.cs(169,30): error CS1061: 'AndroidProjectFiles' does not contain a definition for 'LauncherBuildGradle' and no accessible extension method 'LauncherBuildGradle' accepting a first argument of type 'AndroidProjectFiles' could be found (are you missing a using directive or an assembly reference?){noformat}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Add comment