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
- "Undeclared identifier 'LinearToSRGB'" error is thrown when creating a color variable with HDR color mode and assigning a Custom Render Texture target in Shader Graph
- Input System package is missing when creating a new HDRP project
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
Add comment