Search Issue Tracker
Fixed in 1.21.10
Votes
7
Found in [Package]
1.20.5
Issue ID
ADDR-2939
Regression
No
NonRecursiveDependencyCalculation causes a prefab to not load correctly when unchecking its addressable property and rebuilding addressables without clearing the cache
Reproduction steps:
1. Open the “IN-12086_NonRecursiveBuildIssue“ project and open the “SampleScene“ scene
2. Addressables Groups window > Play Mode Script > Use Existing Build
3. Addressables Groups window > Build > Clear Build Cache > All
4. Addressables Groups window > Build > New Build > Default Build Script
5. Enter Play mode and click the “Button” button (a blue square appears)
6. Exit Play mode and select the “Cube” prefab in the Project window
7. Uncheck the Addressable checkbox in the Inspector
8. Addressables Groups window > Build > New Build > Default Build Script
9. Enter Play mode and click the “Button” button
Expected result: A blue square appears
Actual result: A white square appears and a NullReferenceException is logged
Reproduced in: 1.20.0 (2020.3.39f1), 1.20.5 (2020.3.39f1, 2021.3.8f1, 2022.1.14f1, 2022.2.0b6, 2023.1.0a8)
Reproduced using: Windows 10, macOS Monterey 12.0.1
Notes:
1. Clearing the cache (step 3) before rebuilding (step 8) produces the expected result
2. Also reproduced in Player
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
- [iOS] Text Input field stops receiving changes when the "Cancel" button is used on the soft keyboard
- [WebGPU] URP RenderGraph RenderPass doesn't clear textures
- Query Builder items display raw code style names instead of human readable labels in search field
- “+” button does nothing and has no functionality when clicked in Human Template "Bone Template" list
- Solid gray or black areas are present when using ShaderGraph with Custom Function nodes without manual reimport
Resolution Note:
Fixed in 1.21.10