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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
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.