Search Issue Tracker
Fixed
Fixed in 1.21.20, 2.0.8
Votes
3
Found in [Package]
1.21.18
2.0.3
Issue ID
ADDR-3539
Regression
No
"Build Task CalculateSceneDependencyData failed with exception: Object reference not set to an instance of an object" is thrown when building the Addressables
How to reproduce:
1. Open the attached project "MissingScriptAddressablesBuildFailureRepro.zip"
2. Open Window>Asset Management>Addressables>Groups
3. Click Build>New Build>Default Build Script in the Addressables Groups window
Expected results: The build is successful
Actual results: "Build Task CalculateSceneDependencyData failed with exception: Object reference not set to an instance of an object" is thrown
Reproducible with: 1.21.18 (2021.3.31f1, 2022.3.11f1, 2023.1.17f1, 2023.2.0b14, 2023.3.0a11), 2.0.3 (2023.1.17f1, 2023.2.0b14, 2023.3.0a11)
Reproducible on: Windows 11 22H2
Not reproducible on: No other environment tested
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note (fix version 2.0.8):
Fixed issue where "Build Task CalculateSceneDependencyData failed with exception: Object reference not set to an instance of an object" is thrown when building.
Resolution Note (fix version 1.21.20):
Fixed issue where "Build Task CalculateSceneDependencyData failed with exception: Object reference not set to an instance of an object" is thrown when building.